Step by step
Step 2. Measure the inside height, to the fill line you will actually use, not the rim.
Step 3. Halve the diameter, square it, multiply by pi, multiply by the height: cubic inches.
Step 4. Divide by 231 for US gallons, or by 277.4 for Imperial gallons.
Worked example: a tank 48 inches across and 72 inches tall inside. Radius 24, squared 576, times pi is 1809.6, times 72 is 130,290 cubic inches, divided by 231 is 564 US gallons brim full.
Gallons per inch of depth
For a vertical tank the rate is constant: total gallons divided by height in inches. The 48 inch tank above holds 564 / 72 = 7.83 gallons per inch of depth, so a dipstick reading converts with one multiplication. Horizontal tanks are not constant at all; use the horizontal chart for those.
Why real tanks hold less than the label
Labels and sellers often use outside dimensions and brim full capacity. Wall thickness, a domed bottom, fittings and a sensible fill line all take space. A pressure tank question in r/askaplumber showed the other trap: the number in a model code like VT96 is not a gallon figure at all.
Measuring inside, as above, is the only reliable route. When you are done measuring, the gallons calculator does the conversion in any unit.
Worked example: a 36 inch by 48 inch tank, start to finish
A vertical tank measures 36 inches across and 48 inches tall, inside to inside.
- Radius: 36 / 2 = 18 inches.
- Base area: 3.14159 x 18² = 1,017.876 square inches.
- Volume: 1,017.876 x 48 = 48,858.049 cubic inches.
- US gallons: 48,858.049 / 231 = 211.507 gallons.
- Per inch of depth: 1,017.876 / 231 = 4.406 gallons per inch.
Answer: about 211.5 US gallons brim full, and every inch on the dipstick is worth 4.406 gallons in this tank.
Round, oval and rectangular tanks
This guide is about round tanks, but the same measure then convert approach adapts. A rectangular tank is length x width x height in inches, divided by 231 for US gallons, with no pi anywhere.
An oval tank, wider in one direction than the other, uses the elliptical formula π x a x b x h with a and b the two half widths; the elliptical cylinder page has the tool.
A horizontal round tank is the genuinely different case, because its width at the surface changes with depth, and it has its own calculator and chart.
From gallons to weight and cost
Gallons are rarely the end of the question. Weight follows at 8.34 lb per US gallon of water, so the 211.5 gallon example tank holds about 1,764 lb of water, a figure that matters for stands, floors and roof installations.
Heating oil weighs about 7 lb per gallon and diesel about 7.1, so fuel tanks run lighter than water tanks of the same size.
Cost runs the other way: multiply the gallons by the price per gallon to fill, and by the gallons per inch figure to price what a delivery actually added, which is a quick way to check a fuel bill against the dipstick.
Nameplate gallons versus measured gallons
Tank labels quote a nominal size, usually the brim full volume of the outer shell, rounded to a friendly number. Measured capacity is smaller for three stacked reasons: the walls take space, the fill line sits below the rim, and fittings like outlets and vents intrude.
A difference of 5 to 10 percent between label and measurement is normal and is not a sign your maths is wrong. When a figure will be paid for, a delivery, a sale, a rental, measure the tank and work from the inside dimensions, as this guide does.
Above ground and buried tanks measure differently
An above ground tank can be taped inside and out, and this guide works exactly as written.
A buried tank hides everything except a fill pipe and maybe a gauge, so the method changes: the diameter and length come from the manufacturer plate or the delivery paperwork.
The day to day figure comes from a dipstick read against a chart, either the maker chart for that model or one you build from the horizontal chart percentages and the known full capacity.
Buried tanks also settle and tilt a little over the years, which shifts the low end readings; a chart built when the tank was new can drift by a few percent at shallow depths. For a buried tank, treat deep readings as solid and shallow readings as approximate, and reorder with margin to spare.
Frequently asked questions
How do you calculate the volume of a cylindrical tank in gallons?
Inside diameter and height into V = π r² h in cubic inches, then divide by 231 for US gallons.
How many gallons per inch of depth does a vertical tank hold?
Total gallons divided by the height in inches. It is the same for every inch, because the sides are straight.
Should I measure inside or outside the tank?
Inside. Outside measurements include the wall and overstate the capacity.
What if my tank lies on its side?
Depth and volume stop matching. Use the horizontal cylinder calculator and its depth chart instead.
How many gallons does a 24 inch by 36 inch tank hold?
Radius 12 inches, height 36 inches: volume = 3.14159 x 144 x 36 = 16,286 cubic inches, which is 70.5 US gallons.
How do I work out gallons for a tank lying on its side?
Not with the upright formula. Use the liquid depth from the bottom in the horizontal cylinder calculator, which accounts for the round segment shape of the liquid.