Skip to main content

Tank Volume Calculator

This tank volume calculator finds liquid volume, total capacity and remaining geometric space from inside dimensions and a measured liquid level.

Measure the tank and liquid level

This tank volume calculator estimates liquid volume from inside dimensions and a measured vertical level. Choose the shape and orientation before entering measurements. The starting shape is a horizontal cylinder with flat ends; the starting depth reference is the inside bottom.

Measure inside the tank

Use internal diameter, width and height. Diameter spans the circle through its center; radius reaches only from the center to the wall. Measure vertical height upright, and length along the tank axis. Exterior dimensions include wall material and overstate internal capacity.

Match the cross section

An ellipse has a continuously curved outline. An obround has straight sides joined by semicircles. For a wide obround, horizontal width must be at least vertical height; for a tall obround, height must be at least width. The length runs between the flat end faces in either obround mode.

Choose the depth reference

Bottom-up depth is the vertical distance from the inside bottom to the liquid surface. For ullage, open More options and choose empty distance from inside top. Measure downward from the inside top to the surface, excluding any neck or access fitting. The calculator subtracts that empty distance from the inside vertical height.

Keep each measurement with its unit

Every dimension has its own unit selector. Changing a selector reinterprets the entered number; it does not convert that number for you. Choose liters, cubic units, US liquid gallons or Imperial gallons for the result. US liquid and Imperial gallons differ, as documented in NIST unit definitions.

Measure straight shell length and rounded heads

For the horizontal ellipsoidal-head mode, enter the tangent-to-tangent straight shell length. Measure each identical head axially from its tangent plane to the inside tip. Do not enter overall tip-to-tip length as shell length. Overall internal length is the straight shell plus both head depths.

The model joins a cylinder to identical half-ellipsoids. A hemispherical head has axial depth equal to half the inside diameter. An ideal 2:1 ellipsoidal head has axial depth equal to one quarter of that diameter. These are coordinate-scaled cases of the ellipsoid equation, not substitutes for an unspecified commercial dish profile. Knuckles, straight flanges, conical ends and different profiles at opposite ends need tank-specific geometry.

For a vertical capsule, enter only the straight cylindrical section as length. Its rounded ends are hemispheres, and the full inside vertical height is that straight section plus the inside diameter.

How depth determines liquid volume

Let h be bottom-up liquid depth, r the inside circle radius, L the straight tank length, W the inside width and H the inside vertical height. Use a common length unit in these formulas. V is liquid volume and C is total geometric capacity.

For a horizontal circular cylinder, find the filled end area S, then multiply by length: V = L × S(r,h). The circular segment relationship is S(r,h) = r² × acos((r − h)/r) − (r − h) × √(h × (2r − h)), where acos returns an angle in . Full capacity is C = πr²L.

For a flat-ended vertical cylinder, V = πr²h. For a rectangular tank, V = LWh. Both use a constant horizontal slice area, as in the generalized cylinder and prism relationship. Their full capacities follow by replacing h with H.

For a sphere, the liquid is a spherical cap: V = πh²(3r − h)/3. The elliptical cross-section mode scales the circular segment horizontally by W/H, using radius H/2 before multiplying by L. That scaling follows from the ellipsoid equation.

The obround modes combine circular segments with the filled rectangular area. In a wide obround the rectangle fills alongside the curved sides. In a tall obround, filling passes through the lower semicircle, straight middle and upper semicircle. The stadium geometry defines those parts.

Identical horizontal ellipsoidal heads contribute the volume of a spherical cap scaled by a/r, where a is each head's axial depth. Add that contribution to the cylindrical shell's filled volume. The vertical capsule instead fills through a lower hemisphere, a straight cylinder and an upper hemisphere. Near full, the engine evaluates the small empty region directly to preserve remaining-space detail.

Check a horizontal-cylinder reading

Choose horizontal cylinder, flat ends, with inside diameter 2 and length 5 . Enter bottom-up liquid depth 0.74 and select m³ for the volume unit. These are illustrative ideal dimensions, not a manufacturer tank rating.

The calculator returns approximately 5.283579418 of liquid, 15.70796327 total geometric capacity and 10.42438385 remaining geometric space. It is 33.63631126 full by volume.

For the same surface level, choose empty distance from inside top and enter 1.26 . The engine returns the same quantities because 2 − 1.26 = 0.74 . A depth fraction cannot generally be used as a volume fraction in a horizontal cylinder; the width of each liquid slice changes with height.

Read liquid volume, capacity and remaining space

Liquid volume is the occupied space at the entered level. Total geometric capacity is the full modeled interior. Remaining geometric space is the unoccupied part, not an allowance for safe filling. full is liquid volume divided by total capacity and expressed as a percentage; it is not of height.

Zero is a valid depth measurement. With bottom-up entry it means empty; with top-down entry it means full. A missing measurement or a range error does not mean an empty tank. Check dimensions, units and the selected reference before using the result.

All shape modes show up to 10 significant digits and remove unnecessary trailing zeros. Very small and large results use scientific notation. Copy uses the displayed quantities and their units. The digits describe calculation precision, not measurement accuracy. A nearly full result may show <100 when rounding would otherwise conceal the remaining space. Unsupported numerical precision returns an error instead of a usable quantity.

Use the ideal depth-to-volume table

Expand the result details to read the ideal depth-to-volume table for your selected shape and dimensions. It contains 11 rows over 10 equal vertical-depth intervals, including empty and full. Each row shows bottom-up depth in the chosen depth unit, liquid volume and remaining geometric space in the chosen volume unit, and full.

The table always measures upward from the inside bottom, even when your entry uses empty distance from the top. Equal depth changes need not produce equal volume changes in a curved tank. For a measured level between rows, enter that exact depth in the calculator rather than treating the table as a linear conversion. This ideal table is not a manufacturer strapping or calibration chart.

When to use manufacturer tank data

Use this geometry only when the inside shape and orientation match the selected model. Nominal capacity labels do not establish internal dimensions or a liquid-at-depth relationship. Tilt, deformation, baffles and internal fittings can change the occupied space. Use the vessel's drawings or calibrated manufacturer strapping data when the actual tank differs from the ideal model.

Commercial dished or torispherical heads, cone bottoms, mixed heads and irregular vessels are outside these choices. Do not replace them with an ellipsoid merely because the ends look rounded. This tool does not calculate working-fill limits, pressure ratings, flow or drain time, pumping work, concentration, dosing or liquid mass.

If you need only the full volume of a geometric solid, the Volume Calculator starts from its dimensions without a liquid-level measurement. Tank Volume adds the shape-dependent partial-fill calculation needed for liquid remaining at a measured depth.

If the liquid quantity is already known, the Volume Converter changes its unit directly. A unit conversion preserves that known quantity; it cannot infer the liquid level or volume from a tank's dimensions.

References

(9)
  1. NIST SP 811 Appendix B.8 conversion factors

    National Institute of Standards and Technology · accessed 2026-11-13

  2. NIST Guide to SI Chapter 4, Table 5 SI prefixes

    National Institute of Standards and Technology · accessed 2026-11-13

  3. NIST Guide to SI Chapter 5, Table 6 liter

    National Institute of Standards and Technology · accessed 2026-11-13

  4. NIST Handbook 44, 2026 edition, Appendix C

    National Institute of Standards and Technology · accessed 2026-11-13

  5. Wolfram MathWorld Segment

    Wolfram MathWorld · accessed 2026-11-14

  6. Wolfram MathWorld Cap

    Wolfram MathWorld · accessed 2026-11-14

  7. Wolfram MathWorld Ellipsoid

    Wolfram MathWorld · accessed 2026-11-14

  8. Wolfram MathWorld Stadium

    Wolfram MathWorld · accessed 2026-11-14

  9. Wolfram MathWorld Cylinder

    Wolfram MathWorld · accessed 2026-11-14