Home › Plumbing
Cylinder / Tank Volume Calculator
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).
The formula
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.
- Full volume: π × 2² × 6 = 75.40 ft³
- Gallons: 75.40 × 7.48052 = 564.0 gal | Liters: 2,135 L
- Fill cost: 564.0 ÷ 1,000 × $5 = $2.82
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
| Tank size | Full volume | Gallons | Liters |
|---|---|---|---|
| 3 ft dia × 4 ft | 28.27 ft³ | 211.5 gal | 800.6 L |
| 4 ft dia × 6 ft | 75.40 ft³ | 564.0 gal | 2,135.0 L |
| 5 ft dia × 6 ft | 117.81 ft³ | 881.3 gal | 3,336.0 L |
| 6 ft dia × 8 ft | 226.19 ft³ | 1,692.1 gal | 6,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
- Pool Volume Calculator — Gallons, liters and cubic feet to fill any pool — rectangle, oval or round.
- Concrete Calculator — Cubic yards and bag counts for slabs, patios and pads.
- Cubic Feet / Cubic Yard Converter — Volume in cubic feet, cubic yards and cubic meters — any material.
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.