tankvolumecalc.com
Home / Formulas / Spherical Tank
Formula · Spherical Tank

Spherical Tank volume formula

Total volume, exact partial fill, derivation, worked example and a copy-ready fill table.

Total volume
V = (4/3)πr³
Partial fill at liquid depth h
V(h) = πh²(3r−h)/3
DrhSECTION
D = inside diameter, and r = D ÷ 2. h = liquid depth, measured from the lowest point inside the tank.

Derivation

The spherical cap — derivable by integrating circular slices π(2rh−h²)dh from 0 to h. At half depth it gives exactly half the sphere; at 25% depth only ~15.6%, the strongest nonlinearity of any common tank.

Worked example

Take D = 100 in. Total capacity: 2,266.7 gal. At a stick reading of 40 in (40% of the 100 in maximum depth), the filled volume is 797.9 gal — 35.2% of capacity. Check it live on the calculator.

Fill ratio: % of depth → % of volume (any sphere (proportion-independent))
DepthVolume
5%0.7%
10%2.8%
15%6.1%
20%10.4%
25%15.6%
30%21.6%
35%28.2%
40%35.2%
45%42.5%
50%50%
55%57.5%
60%64.8%
65%71.8%
70%78.4%
75%84.4%
80%89.6%
85%93.9%
90%97.2%
95%99.3%

Need the full inch-by-inch table for specific dimensions? The dip chart generator prints it as a laminate-ready PDF.

Use the formula in a spreadsheet

Put the dimensions in inches in the cells shown. The formula gives US gallons.

Total volume (A2 = D)
=PI()*A2^3/6/231
Volume at depth (B2 = h)
=PI()*B2^2*(3*(A2/2)-B2)/3/231
Volume from circumference (C2 = C)
=C2^3/(6*PI()^2)/231

Find the depth for a target volume

The cap formula has no simple inverse. To find the depth for a target volume, use the sphere calculator and move the fill slider. Or use the goal seek function of your spreadsheet on the depth cell.

Unit factors

Exact and standard conversion factors
FromToFactor
cubic inchesUS gallons÷ 231 (exact)
cubic incheslitres× 0.016387064 (exact)
cubic feetUS gallons× 7.48052
cubic centimetreslitres÷ 1,000 (exact)
US gallonslitres× 3.785411784 (exact)

The circumference formula comes from D = C ÷ π. A sphere with a 314.16 in circumference has a 100 in diameter and holds 2,266.7 gal.

Common errors

  • Linear interpolation. The sphere is the least linear common tank. Do not interpolate between distant rows.
  • Radius and diameter mixed. The cap formula uses the radius r = D ÷ 2.
  • Depth above the centre. The cap formula is correct for all depths from 0 to D. You do not need a second formula above the centre.

FAQ

What is the formula for a spherical tank volume?

Total: V = (4/3)πr³. Partial fill at depth h: V(h) = πh²(3r−h)/3. Derivation and a worked example are above.

Is the fill-ratio table exact?

Yes — computed by the same engine as our calculators (any sphere (proportion-independent)), verified by the automated test suite described on the methodology page.

Can I use this in a spreadsheet?

Yes — the formulas are closed-form (acos and sqrt only). Copy the 5%-step table for quick interpolation, or implement the formula directly for exact values.