Volume & Capacity

Horizontal Tank Volume Calculator

A horizontal cylindrical tank is a poor linear measuring device. Because the circular cross-section is wider in the middle, the first few centimetres in the bottom hold far less than the same depth near the centre line.

This calculator uses the exact circular-segment area at your measured depth, then multiplies by the tank length. It is the right tool for dipstick readings, fuel inventory checks and leak detection on flat-ended horizontal tanks.

Calculator

How to use this calculator

  1. Measure the internal diameter of the circular end and the internal length of the barrel.
  2. Dip the tank and record the vertical depth of liquid above the lowest inside point.
  3. Choose a unit for each field; the calculator converts them all to centimetres.
  4. Press Calculate for the part-full volume, the full capacity, the percentage full and the gallons added per extra inch.

The formula

A(h) = r² × acos((r − h) / r) − (r − h) × √(2rh − h²)
for 0 < h < 2r; A = 0 at h ≤ 0 and A = πr² at h ≥ 2r.
Then V = A(h) × L and Vfull = π r² L, with r = D / 2.
acos is in radians, all lengths in centimetres, and V(cm³) ÷ 1,000 = litres.

Variables

SymbolMeaningUnitNote
rInside radiuscmHalf the inside diameter.
hFill depthmm / cm / m / in / ftVertical height of liquid above the bottom of the bore.
A(h)Wetted segment areacm²Area of the circular cross-section covered by liquid.
LInside lengthmm / cm / m / in / ftStraight barrel length of the tank.
VPartial volumeL, galCapacity at the measured depth.

Why the formula is non-linear

For a flat-ended horizontal cylinder, 25% of the depth corresponds to only about 19.6% of the volume, and 10% depth to about 5.2%. At 75% depth you already have roughly 80.4% of the contents. Exactly half depth, where the liquid surface passes through the centre, is the one point that gives exactly half the volume.

Rounded ends need extra volume

The segment formula assumes flat ends. A hemispherical head adds the volume of a half sphere; a 2:1 elliptical head adds about two thirds of that. If your tank has dished ends, either add that cap volume or use the capsule tank calculator, which handles hemispherical ends directly.

Common applications

  • Fuel and oil tank dipstick calibration and stock reconciliation.
  • Leak detection by comparing measured and expected volume.
  • Agricultural and chemical storage where density differs from water.
  • Road and rail tanker load checks for customs and billing.

Depth increments near the ends of the scale

Because the wetted width changes with depth, an extra inch near the bottom of a 4 ft tank may add only 8 US gallons while an extra inch at the centre adds about 26. For accurate inventory work, calibrate the tank or use the gallons-per-inch figure produced for your specific depth rather than a single tank-wide average.

Worked example

A flat-ended horizontal tank is 48 in in diameter and 128 in long. A dipstick reads 18 in of liquid.

  1. Radius r = 24 in; full volume = π × 24² × 128 = 231,623 in³ ÷ 231 = 1,003 US gal (3,796 L).
  2. Segment area at 18 in: r² × acos((r − h)/r) = 576 × acos(6/24) = 758.8 in².
  3. Subtract (r − h) × √(2rh − h²) = 6 × √540 = 139.4 in², leaving 619.4 in².
  4. Partial volume = 619.4 × 128 = 79,283 in³ ÷ 231 = 343 US gal (1,300 L).
  5. That is 34.3% of capacity at a depth of 37.5% — evidence of the non-linear relationship.
  6. At this level each extra inch of depth adds about 26 US gallons; near the bottom it is only about 8.

Result: About 1,300 L, or 343 US gallons, out of a 1,003 US gallon full tank.

Frequently asked questions

How do I calculate the volume of a horizontal cylindrical tank?

Find the circular-segment area at the liquid depth using the arccos formula, multiply by the tank length and convert cubic units to litres or gallons.

Why is the horizontal formula more complex than for a rectangular tank?

A rectangle has constant width at every depth. A circle does not, so the wetted cross-section changes with depth and needs the arccos and square-root terms.

How do I measure the fill depth?

Lower a clean dipstick vertically to the inside bottom, mark the wet line and measure that height. For fuels, correct for temperature if high accuracy matters.

What is a horizontal tank calculator used for?

Converting level readings into inventory volumes, checking deliveries, monitoring leaks and calculating dosing or residence time.

Does it account for dished or hemispherical ends?

No. The formula assumes flat ends. Add the head volume yourself or use the capsule calculator for hemispherical ends.

How much is in a horizontal tank that is half full?

At exactly half the diameter, the liquid passes through the centre line and the tank holds exactly half of its full volume.

Can I use it for diesel, fuel oil or chemicals?

The geometric volume is the same. Multiply by the liquid density for mass: diesel about 0.85 kg/L, petrol 0.74, propane 0.51 and sulphuric acid 1.84.

Sources and verification

Formula verification uses published references and hand-checked examples. We do not claim a named professional has reviewed this page; the method and sources are published instead.

Results are estimates for general information, based on standard geometry, hydraulics and published reference values. They are not engineering, medical, legal or professional advice. Verify critical calculations with a qualified professional and check local requirements.

Keep calculating