CalcWorks

Home › Plumbing

Cylinder / Tank Volume Calculator

Units:Switches the numbers you type and the answers. Diagrams, examples and product sizes stay in feet/inches for now.
Full volume
— ft³
Full volume
— gal
Full volume
— L
Water in the tank now
— ft³
Water in the tank now
— gal
Water in the tank now
— L
Estimated fill cost
$—

Formula verified · Updated Nov 2026

Results update as you type. Estimates only — confirm final quantities before ordering.

Enter a cylindrical tank's diameter and height (or length) to find how much water it holds — in cubic feet, US gallons and liters. Choose vertical or horizontal, and set the fill level to see how much is actually in the tank right now. A vertical tank fills evenly, so 50% full really is half the volume; a horizontal tank does not, because the round cross-section is narrow at the bottom and top — this calculator uses the circular-segment formula for horizontal tanks, so a partly full horizontal tank is worked out correctly. Use it for rainwater tanks, storage tanks, well pressure tanks and fuel or oil drums (for fuel, check the drum's rated capacity first).

Three black cylindrical water storage tanks in a dry grassy field
Embed this calculator

Paste this code into your site to show this calculator on your own page. Adjust the height if the calculator is cut off or leaves a large gap.

The formula

Full volume (ft³) = π × (Diameter ÷ 2)² × Height or Length
Gallons = ft³ × 7.48052  •  Liters = Gallons × 3.78541
Vertical tank at fill level f: Fill volume = Full volume × f
Horizontal tank at fill depth h (h = f × Diameter):
Segment area = r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²)
Fill volume = Segment area × Tank length
Fill cost = Fill gallons ÷ 1,000 × Price per 1,000 gallons

The full volume is the same either way a tank sits — a cylinder's volume is its cross-section times its length. What changes is a partly full tank: in a vertical tank the water surface is a full circle at every level, so the fill is a straight percentage; in a horizontal tank the water surface is a chord across the circle, so the volume at 25% depth is much less than a quarter of the tank (about 20%) and at 75% depth much more than three quarters (about 80%). At exactly 50% depth a horizontal tank is exactly half full, because the segment is a perfect half-circle.

Worked example

Example: a vertical tank 4 ft across and 6 ft tall, full, water at $5 per 1,000 gallons.

Same tank lying horizontally, half full: the fill depth is 2 ft — exactly the radius — so the segment is a half-circle: π × 2² ÷ 2 = 6.28 ft², × 6 ft = 37.70 ft³ = 282.0 gal — exactly half the full volume, as it should be at 50%.

Reference chart

Full volume of common vertical tanks (diameter × height)
Tank sizeFull volumeGallonsLiters
3 ft dia × 4 ft28.27 ft³211.5 gal800.6 L
4 ft dia × 6 ft75.40 ft³564.0 gal2,135.0 L
5 ft dia × 6 ft117.81 ft³881.3 gal3,336.0 L
6 ft dia × 8 ft226.19 ft³1,692.1 gal6,405.1 L

Frequently asked questions

How many gallons are in a cylindrical tank?

Multiply pi × radius² × height (or length) for cubic feet, then multiply by 7.48052 gallons per cubic foot. A tank 4 ft across (2 ft radius) and 6 ft tall holds 3.1416 × 2² × 6 = 75.40 ft³, or 564.0 gallons. The calculator does this for any diameter and height, vertical or horizontal.

How do I calculate the volume of a horizontal tank that is only partly full?

You cannot just take a percentage of the full volume — a horizontal tank is narrow at the bottom and top, so 25% depth holds only about 20% of the volume and 75% depth holds about 80%. Measure the depth of liquid from the bottom, then use the circular-segment formula: segment area = r² × arccos((r − h) ÷ r) − (r − h) × √(2rh − h²), times the tank length. This calculator does it for you — enter the fill level as a percentage and it works out the depth and the segment. At exactly 50% depth the tank is exactly half full.

What is the difference between a vertical and a horizontal tank of the same size?

Nothing when both are full — the same cylinder holds the same volume either way it sits. The difference is only when the tank is partly full: a vertical tank fills evenly (50% depth = 50% of the volume), while a horizontal tank fills unevenly because its cross-section is a circle. Pick the right orientation above or the partly-full figure will be wrong.

How do I measure a tank?

Measure the diameter straight across the widest point, and the height (vertical tank) or length (horizontal tank) end to end, in feet. For the fill level, measure the depth of liquid from the bottom of the tank — a dipstick or a sight gauge does this. Measure inside dimensions where you can: thick tank walls make the outside diameter bigger than the water space inside, and a 1-inch wall on a small tank is a real difference.

How many liters are in a gallon — and how do I convert tank gallons to liters?

One US gallon is 3.78541 liters, so multiply gallons by 3.78541: the example tank's 564.0 gallons is 2,135 liters. One cubic foot is 7.48052 US gallons and 28.3168 liters. The calculator shows all three units for both the full volume and the water actually in the tank.

Related calculators

How we verify this

1 ft³ = 7.48052 US gallons; 1 US gallon = 3.78541 liters; 1 ft³ = 28.3168 liters; cylinder volume πr²h from standard geometry; horizontal partial-fill volume by the circular-segment formula (segment area = r²·arccos((r−h)/r) − (r−h)·√(2rh−h²)) per standard geometry references for horizontal cylinder tanks; 25% depth ≈ 20% of volume and 75% depth ≈ 80% of volume follow from that formula.