Whether you are ordering a delivery, checking a dipstick reading or sizing a new tank, the question is the same: how much liquid is actually in there, and how much room is left? This free tank volume calculator answers both. Pick a vertical cylinder, horizontal cylinder or rectangular tank, enter the inside dimensions and the liquid depth, and it shows the total capacity and the liquid volume in cubic feet, US gallons and liters, plus the fill percentage and the remaining capacity. For a horizontal tank it uses the exact circular-segment formula, because the volume does not grow in proportion to the depth.
Use inside dimensions, measured from the inner walls, and use the same unit (feet) for every measurement. For a horizontal cylinder, length is the straight shell length between the two ends; dished ends add a little extra volume that this calculator does not count.
Measure the liquid depth from the bottom of the tank, for example with a dipstick or gauge. For a full tank, enter the full height (vertical or rectangular tank) or the full diameter (horizontal cylinder). For a horizontal tank the depth-to-volume relationship is not linear: at a quarter of the depth the tank holds only about 19.55 percent of its volume.
Please enter values above 0 for the tank size and the liquid depth.
| Liquid Depth | Fill Level | Liquid Volume (gallons) | Liquid Volume (cubic feet) |
|---|
Each row uses the tank shape and size entered above, at a different liquid depth. For a vertical or rectangular tank the volume grows in direct proportion to the depth; for a horizontal cylinder it does not, because the liquid cross-section is a circular segment.
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
A tank volume calculator works out how much a tank holds when full and how much liquid it holds at a given level. The total capacity is the volume of the tank shell: pi times radius squared times height for a cylinder, or length times width times height for a rectangular tank. The liquid volume depends on the shape. For a vertical cylinder or a rectangular tank, the cross-section never changes with height, so the liquid volume is simply the cross-section times the liquid depth, and the fill percentage is the depth divided by the height. For a horizontal cylinder, the liquid surface is a chord across the circular cross-section, so the liquid forms a circular segment whose area grows slowly near the bottom, fastest at the middle and slowly again near the top.
That nonlinearity is the main reason a calculator helps. A horizontal tank at a quarter of its depth holds only about 19.55 percent of its volume, not 25 percent, and at three quarters of its depth it already holds about 80.45 percent. Only at exactly half depth is the tank exactly half full. Guessing by eye from a dipstick reading on a horizontal tank is therefore badly wrong at low and high levels.
If the tank is fed by steel pipework, the Pipe Weight Calculator works out the weight of the pipe runs so the supports and fittings can be sized for the job.
Total capacity, vertical cylinder (cu ft) = pi x (diameter / 2) squared x height
Total capacity, horizontal cylinder (cu ft) = pi x (diameter / 2) squared x length
Total capacity, rectangular (cu ft) = length x width x height
Liquid volume, vertical cylinder (cu ft) = pi x (diameter / 2) squared x liquid depth
Liquid volume, rectangular (cu ft) = length x width x liquid depth
Liquid volume, horizontal cylinder (cu ft) = circular segment area x length
Circular segment area (sq ft) = r squared x arccos((r – h) / r) – (r – h) x square root(2rh – h squared)
Volume (US gallons) = volume (cu ft) x 7.48052
Volume (liters) = volume (US gallons) x 3.78541
Fill percentage = liquid volume / total capacity x 100
In the segment formula, r is the inside radius and h is the liquid depth measured from the bottom. Three checks confirm it: at zero depth the area is zero, at half depth (h = r) the arccos term becomes pi / 2 and the square root term vanishes, giving exactly half the circle, and at full depth the segment becomes the whole circle. This calculator computes the area from the empty segment above the halfway point, which avoids numerical error near the top of the tank. At a quarter of the depth the tank holds 19.55 percent of its volume, and at three quarters it holds 80.45 percent.
Worked segment check, horizontal tank 4 ft diameter and 10 ft long, filled to 1 ft: r = 2, so the segment area is 4 x arccos(0.5) – 1 x square root(3) = 4.1887902 – 1.7320508 = 2.4567394 sq ft. The liquid volume is 2.4567394 x 10 = 24.5673940 cu ft, or 183.78 gallons, which is 19.55 percent of the 940.03 gallon total capacity.
All volumes are for a plain tank shell with flat ends. Real tanks with dished or elliptical ends hold a few percent more, and internal fittings and baffles reduce the usable volume.
A vertical cylindrical tank 6 ft in diameter and 8 ft high, filled to a depth of 5 ft. All steps below use the unrounded values; displayed figures are rounded to two decimals only at the end.
Radius = 6 / 2 = 3 ft.
Total capacity = pi x 3 squared x 8 = 226.1946711 cu ft, displayed as 226.19 cu ft.
Total gallons = 226.1946711 x 7.48052 = 1,692.0537607, displayed as 1,692.05 gallons.
Total liters = 1,692.0537607 x 3.78541 = 6,405.1172265, displayed as 6,405.12 liters.
Liquid volume = pi x 3 squared x 5 = 141.3716694 cu ft, displayed as 141.37 cu ft.
Liquid gallons = 141.3716694 x 7.48052 = 1,057.5336005, displayed as 1,057.53 gallons.
Liquid liters = 1,057.5336005 x 3.78541 = 4,003.1982665, displayed as 4,003.20 liters.
Fill percentage = 5 / 8 x 100 = 62.50 percent.
Remaining capacity = 1,692.0537607 – 1,057.5336005 = 634.5201603 gallons, displayed as 634.52 gallons.
So the tank holds 1,057.53 gallons out of a 1,692.05 gallon capacity, and there is room for another 634.52 gallons.
It is exactly half full at half depth, by symmetry. The surprise is everywhere else: the liquid cross-section is a circular segment, which is narrow near the bottom and top of the tank and widest at the middle, so each inch of depth adds less volume near the bottom and top than in the middle. At a quarter of the depth the tank holds only about 19.55 percent of its volume, and at three quarters it already holds about 80.45 percent. That is why a dipstick reading on a horizontal tank needs the segment formula or a strapping table rather than a straight proportion.
Inside dimensions, measured from the inner walls. The volume that matters is the space the liquid occupies, and the wall thickness of a steel or plastic tank can be a meaningful fraction of a small tank’s diameter. If you only know the outside diameter, subtract twice the wall thickness to get the inside diameter before entering it. For a horizontal cylinder, the length is the straight shell length between the two ends, not including any dished heads.
Yes. Most real horizontal tanks have dished or elliptical ends rather than flat ones, and those heads add a few percent to the total capacity, typically 2 to 6 percent depending on the head type. This calculator covers the cylindrical shell with flat ends only, so its total capacity slightly understates a real dished-end tank, and the difference is concentrated at low and high levels. For an exact figure, use the tank manufacturer’s datasheet or its strapping table.
With a dipstick, a gauge glass or an electronic level gauge, always measured from the bottom of the tank. On a horizontal tank, measure at the middle of the tank, where the depth is greatest and the reading matches the segment formula. Take the reading with the tank level and the liquid settled: a tank on a slope, or liquid sloshing after a delivery, gives a reading that does not match the true volume.
A strapping table, also called a calibration table, is a table made by measuring a real tank’s volume at many depths, usually by filling it in measured amounts. It captures everything a formula misses: dished ends, wall thickness, dents, internal fittings and any tilt. For day-to-day checks a calculator is fine, but for custody transfer, billing, inventory accounting or any safety-critical work, the tank’s own strapping table is the authoritative reference, and this calculator should not replace it.
This calculator gives estimates for a plain tank shell with flat ends, based on the dimensions you enter. Real tanks differ: dished or elliptical ends add volume, internal fittings, baffles and wall thickness reduce the usable volume, and a tank that is not level gives a depth reading that does not match its contents. The results are for planning and estimating only. Do not use them for custody transfer, billing, inventory accounting or safety-critical work; use the tank’s own calibration (strapping) table and manufacturer data for those purposes.
ADVERTISEMENT
ADVERTISEMENT