Tools › Fluids and Heat Transfer › Tanks › Tank Volume and Dipstick Table


Tank Volume and Dipstick Table

Enter a tank's shape, its inside dimensions and the liquid depth on the stick; get the volume at that depth, the percent full, the weight of the contents and a printable dipstick (strapping) chart for that tank. Eleven shapes, from the home heating-oil tank to a sphere, each drawn to scale with the liquid in it. Exact geometry: a real tank differs by its wall thickness, fittings and any tilt.

  • Horizontal cylinders with flat, elliptical, hemispherical or dished heads; vertical cylinders with a flat, cone or dished bottom; obround, elliptical, rectangular, sphere

  • A dipstick chart at the step you choose, the depths for 10 to 100 percent full, and why a round tank's gauge is not linear

  • Checked against the gallonage tables of NBS Circular C416 and an independent numerical integration of every shape

Tank Volume and Dipstick Table


Unit System: /

/

Tank (inside dimensions)










Contents




Dipstick Chart



×

Tank Volume and Dipstick Table

Partial Volume Formulas for Every Shape, What It Assumes, Common Mistakes

What the tool does

It finds how much liquid a tank holds when the liquid stands at a given depth, for eleven common tank shapes, and writes a dipstick (strapping) chart for that tank: depth on the stick against volume. It also gives the percent full, the room left, the weight of the contents, and the depths at which the tank reaches 10, 25, 50, 75, 80, 90 and 100 percent.

The idea

Slice the liquid with horizontal planes. The volume is the sum of the slices: the area of the liquid surface at each level times a thin step of depth, added from the bottom up to the liquid level, V(h) = ∫ A(y) dy from 0 to h. A tank with straight vertical sides has the same surface area at every level, so its volume grows in proportion to depth. A round tank lying on its side does not: the liquid surface is a narrow strip near the bottom, widest at mid-height and narrow again near the top, so an inch of depth is worth little at the ends and a lot in the middle. That is the whole reason a depth gauge on a round tank is not a volume gauge.

For a horizontal cylinder the sum has a closed form, because the cross-section of the liquid is a circular segment: the part of a circle cut off by a straight line (Figure 1). Its area is the pie slice that spans the liquid less the triangle between the center and the liquid surface.

A circle of radius R filled to depth h: the liquid is a circular segment of area A
Figure 1: The circular segment, the cross-section of the liquid in a round horizontal tank

The equations

Depth h is measured straight up from the lowest inside point. R = D/2. The inverse cosine is in radians. Every formula holds from empty to full.

Circular segment of a circle of radius r filled to depth h (0 ≤ h ≤ 2r):

Aseg(r, h) = r2 acos((r − h)/r) − (r − h) √(2rh − h2)

Spherical cap (a sphere of radius r filled to depth h):

Vcap(r, h) = π h2 (3r − h)/3

ShapeVolume at depth hCapacity
Horizontal cylinder, flat ends, length LAseg(R, h) Lπ R2 L
Horizontal cylinder, hemispherical heads, straight shell LsAseg(R, h) Ls + Vcap(R, h)π R2 Ls + (4/3) π R3
Horizontal cylinder, elliptical heads of depth a (2:1 heads: a = D/4)Aseg(R, h) Ls + (a/R) Vcap(R, h)π R2 Ls + (4/3) π R2 a
Horizontal cylinder, dished headsAseg(R, h) Ls + two heads, summed numerically (below)π R2 Ls + two full heads
Upright obround, width W, height Ht, r = W/2h ≤ r: Aseg(r, h) L
r < h ≤ Ht − r: (π r2/2 + W (h − r)) L
above: (π r2 + W (Ht − W) − Aseg(r, Ht − h)) L
(π r2 + W (Ht − W)) L
Flat obround, W > Ht, r = Ht/2(Aseg(r, h) + (W − Ht) h) L(π r2 + (W − Ht) Ht) L
Horizontal ellipse, width W, height Ht(W/Ht) Aseg(Ht/2, h) L(π/4) W Ht L
RectangularL W hL W Ht
SphereVcap(R, h)(4/3) π R3
Vertical cylinder, flat bottom, wall height Htπ R2 hπ R2 Ht
Vertical cylinder, cone bottom of depth zh ≤ z: π R2 h3/(3 z2)
above: π R2 z/3 + π R2 (h − z)
π R2 z/3 + π R2 Ht
Vertical cylinder, dished bottomcrown, knuckle, then π R2 (h − z) (below)full bottom + π R2 Ht

Two remarks explain most of the table. The two heads of a horizontal tank, pushed together, make one sphere (hemispherical heads) or one ellipsoid (elliptical heads), and an ellipsoid is a sphere squeezed along the tank by the factor a/R, which squeezes every slice of liquid by the same factor. An ellipse is a circle stretched sideways by W/Ht, so its segment is the circle's segment times that factor. In the cone, the liquid is a small cone similar to the whole one: its radius is R h/z, so its volume goes with the cube of the depth.

For a horizontal cylinder with heads the tool takes the length entered as the overall length, end to end, and finds the straight shell as Ls = L − 2a; in Advanced mode the straight shell (seam to seam) can be entered directly.

Dished (torispherical) heads

A dished head is a shallow spherical crown of radius Rc joined to the shell by a knuckle, a ring of small radius rk (part of a torus). With c = R − rk, the crown meets the knuckle at the half angle α from the axis, sin α = c/(Rc − rk); the inside depth of the head and the height of the crown are

z = Rc − √((Rc − rk)2 − c2), h1 = Rc (1 − cos α)

As the bottom of a vertical tank the slices are circles and the sum has a closed form: a spherical cap Vcap(Rc, h) up to h1, then the knuckle ring,

Vknuckle(h) = π [G(z − h1) − G(z − h)], G(u) = (c2 + rk2) u − u3/3 + c (u √(rk2 − u2) + rk2 asin(u/rk))

As the heads of a horizontal tank the liquid in a head has no short closed form. The tool cuts the head into thin circular slices across the tank axis, takes the wetted segment of each slice, and adds them along the exact profile by Gauss-Legendre quadrature (32 points on each smooth piece, split where the liquid surface meets the profile). The result agrees with an independent numerical integration to better than one part in a billion.

In Simple mode the head has a crown radius equal to the diameter and a knuckle radius of 6 percent of the diameter, a common flanged-and-dished proportion (stated here from memory, not from a head maker's document); its depth is then 0.169 D. Head makers produce other proportions: enter the radii of your own head in Advanced mode.

The dipstick chart

The chart lists the volume at equal steps of depth. Between two lines, read in proportion (linear interpolation); the error of that is small where the lines are close in volume and largest near the bottom and top of a round tank. The U.S. EPA's booklet on manual tank gauging has stick readings taken to the nearest one-eighth inch and shows the same interpolation between whole-inch lines of a tank chart.

What it assumes

The inside dimensions are exact and the tank is the ideal shape: a true circle, flat ends that are flat, heads of the stated form. The tank is level and the depth is measured vertically from its lowest inside point. Nothing inside takes up room (no coils, baffles, dip tubes, sumps or sludge). The top of a vertical tank is flat at the top of the wall. Volumes are geometric: they are at whatever temperature the liquid is, with no correction to a standard temperature. The weight uses one density for the liquid.

When it misleads

A tank that is tilted along its length reads high at one end and low at the other; the error is largest when it is nearly empty or nearly full. Thin tanks bulge when full and sag between supports, and the ends of a home oil tank are slightly domed, so the true capacity differs from the ideal by a few percent. A trade size is a name: the 27 by 44 by 60 inch tank sold as "275 gallon" has a geometric volume of 268 gallons from those outside dimensions. Outside dimensions overstate the volume (for a 41 inch tank with quarter-inch walls, by about 3 percent). Liquids expand when they warm, so the same weight of fuel stands deeper in summer, and fuel density varies from batch to batch. The tool does not know the safe fill level: tanks are not filled to the brim, and fuel and propane codes set maximum fills. For billing, leak detection or custody transfer, use the tank maker's chart or a calibrated one.

Common mistakes

  • Taking volume in proportion to depth in a round tank. A horizontal cylinder with liquid at a quarter of its diameter is 19.6 percent full, not 25; at a tenth of its diameter it is 5.2 percent full, not 10. Only at exactly half is the gauge right.
  • Inverse cosine in degrees. The segment formula needs acos in radians. In degrees the first term is about 57 times too large.
  • Diameter where the formula wants the radius. The segment and cap formulas here are written with the radius.
  • Mixed units. Inches times inches times inches gives cubic inches: divide by 231 for U.S. gallons. Cubic feet times 7.4805 gives U.S. gallons. Do not mix a length in feet with a diameter in inches.
  • Outside dimensions. A tape around the outside includes the wall twice. Subtract twice the wall thickness from each dimension.
  • Heads forgotten or counted twice. If the length was measured end to end, the heads are inside it: subtract their depths to get the straight shell. If it was measured seam to seam, add the heads.
  • The cone treated as a cylinder or as a full cone. When the liquid is inside the cone, both its depth and its radius are smaller: the volume goes with h cubed, π R2 h3/(3 z2), not π R2 h/3.
  • Reading the stick badly. The stick must stand vertical and touch the lowest point of the bottom; a stick held at a slant, or one that lands on a fitting, reads deep.
  • A chart with too coarse a step. Reading in proportion between lines far apart hides the curve near the bottom and top of a round tank. Use a smaller step there.
  • The trade size taken as the capacity. Work from the measured dimensions, or use the maker's chart.

How it was checked

The horizontal cylinder reproduces the worked example and the worked table of NBS Circular C416 (1937): a tank 48 inches in diameter and 120 inches long with 18 inches of liquid holds 322 gallons, and the eighteen lines of its table for a tank 18 by 45 inches agree to the printed third decimal or one unit of it. The segment formula matches 499 coefficients of that circular's Table 1 to within one unit of the sixth decimal, two columns of its Table 2, and the height-to-diameter table of the U.S. EPA's SPCC guidance to its printed three decimals (within 0.002). Every shape is compared with an independent numerical integration (scipy) on 78 tanks. Liquid densities are from EPA AP-42, Table 7.1-2 (petroleum liquids) and the NIST Chemistry WebBook (water, propane, hydrogen).




References

Peffer, E. L. (1937). Gallonage Tables for Horizontal Cylindrical Tanks with Flat Ends. NBS Circular C416, National Bureau of Standards, Washington, DC.

U.S. Environmental Protection Agency (1993). Manual Tank Gauging for Small Underground Storage Tanks. EPA 510-B-93-005, Office of Solid Waste and Emergency Response, Washington, DC.

U.S. Environmental Protection Agency (2013). SPCC Guidance for Regional Inspectors. EPA 550-B-13-001, Office of Emergency Management, Washington, DC.

U.S. Environmental Protection Agency (2026). "Section 7.1, Organic Liquid Storage Tanks." In AP-42: Compilation of Air Emissions Factors from Stationary Sources, 5th ed., Vol. I. Office of Air Quality Planning and Standards, Research Triangle Park, NC.

Lemmon, E. W., McLinden, M. O., and Friend, D. G. (2023). "Thermophysical Properties of Fluid Systems." In Linstrom, P. J., and Mallard, W. G. (eds.), NIST Chemistry WebBook, NIST Standard Reference Database Number 69, National Institute of Standards and Technology, Gaithersburg, MD.

Krenn, A., and Desenberg, D. (2019). Return to Service of a Liquid Hydrogen Storage Sphere. NASA Technical Reports Server Document 20190028305, NASA Kennedy Space Center, FL.


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.