How many gallons are in an 18 foot X 3.5 foot pool?

Cannot be answered with only these measurements. You need to specify what shape the pool is. Also, for a rectangular pool, the length, width and depth are needed. For a round pool, the diameter and depth are needed.