TorqueMath

Tank Volume & Dipstick Calculator

Choose the tank shape and enter its size. Get the full volume, the volume at your dipstick reading, the weight of the liquid and a printable dipstick chart: litres for every centimetre of depth, and the depth for every 100 litres.

TorqueMath.com · Tank Volume Calculator
Tank shape
Size (inside)
cm
cm
Measure inside the tank, or subtract twice the wall thickness from the outside size. For dished ends the length is the straight part only; the ends add their own volume.
Dipstick reading
cm
cm
Measure from the lowest inside point straight down through the top opening; on a horizontal tank use the opening in the middle of the length.
Liquid
kg/L
Method and assumptionsMethod: Horizontal cylinder V(h) = L·[R²·acos((R−h)/R) − (R−h)·√(2Rh−h²)] plus the ends: hemispherical πh²(3R−h)/3, 2:1 dished half of that; vertical cylinder πR²h; rectangular L·W·h; depth for a volume by bisectionBasis: Inside dimensions; ideal shapes; tank level; liquid density from the tile or the userLimits: Torispherical ends hold a few percent less than 2:1 elliptical ones; sagging, sloped or dented tanks and internal fittings change the volume; not a calibrated tank table for sale or taxReferences: Geometry of the circular segment and spherical cap · EN 590 / EN 228 / ISO 22241 (fuel and AdBlue density ranges)Formulas · How this calculator was checked · TorqueMath v2.11
Tank and liquid level
Volume against depth
Dipstick chart

How it is calculated

RhLV = L·[R²·acos((R−h)/R) − (R−h)·√(2Rh−h²)]+ πh²(3R−h)/3 (hemispherical ends)+ ½·πh²(3R−h)/3 (2:1 ends)V = πR²h · V = L·W·hm = V·ρ

A horizontal cylinder filled to depth h holds a circular segment times its length. Dished and hemispherical ends add a part of a sphere or of an ellipsoid; for 2:1 ends (depth a quarter of the diameter) that is half of what hemispherical ends hold at the same depth. Vertical cylinders and rectangular tanks fill in proportion to the depth. The chart lists the volume at each depth step and the depth for round volumes.

Horizontal cylinder V(h) = L · [R² · acos((R − h)/R) − (R − h) · √(2Rh − h²)] Two hemispherical ends V(h) = π · h² · (3R − h) / 3 (a sphere filled to h) Two 2:1 dished ends V(h) = ½ · π · h² · (3R − h) / 3 (ellipsoid with head depth R/2) Vertical cylinder V(h) = π · R² · h Rectangular tank V(h) = L · W · h Weight m = V · ρ, fill = V(h) / V(full)

Real tanks deviate from the ideal shape: torispherical ends hold a few percent less than 2:1 elliptical ones, tanks that sag or stand on a slope read wrong, and a dipstick gives the depth at that point only. For legal sale or tax purposes use a calibrated tank chart. Typical densities: water 1.00, diesel 0.83–0.85, petrol 0.72–0.77, AdBlue 1.09 kg/L.

How to use this calculator

A narrated walkthrough with a worked example, step by step.

The video plays from YouTube (youtube-nocookie.com) only after you click it. From then on YouTube’s privacy policy applies.

This calculator works out how much liquid is in a tank and makes a dipstick chart for it. Choose a horizontal cylinder (with flat, 2:1 dished or hemispherical ends), a vertical cylinder or a rectangular tank, enter the inside size and the depth you measured with a dipstick, and it gives the volume at that depth, the full volume, the fill level in percent, the free space and the weight of the liquid. A curve shows how the volume grows with depth, and the printable chart lists the volume for every depth step and the depth for round volumes, so the stick can be marked once and read for years. Farmers, workshops, boat and camper owners and anyone with a diesel, water, rainwater, AdBlue or oil tank use it. It works in centimetres, millimetres or inches and in litres, cubic metres, US or UK gallons.

Worked example: horizontal tank Ø 120 cm × 250 cm, 45 cm on the dipstick

  1. The tank has an inside diameter of 120 cm (R = 60 cm) and a straight length of 250 cm with flat ends. The dipstick shows 45 cm of liquid.
  2. Liquid cross-section (circular segment): R² · acos((R − h)/R) − (R − h) · √(2Rh − h²) = 3600 · acos(15/60) − 15 · √(5400 − 2025) = 3600 × 1.3181 − 15 × 58.09 = 3 873.8 cm².
  3. Volume = 3 873.8 cm² × 250 cm = 968 450 cm³ = 968 L.
  4. Full tank: π × 60² × 250 = 2 827 433 cm³ = 2 827 L, so the tank is 34 % full and 1 859 L are free.
  5. With diesel (0.84 kg/L) the liquid weighs 968 × 0.84 = 813 kg.
  6. With hemispherical ends the same tank holds 3 732 L full and 1 255 L at 45 cm; with 2:1 dished ends 3 280 L full and 1 112 L at 45 cm.

At 45 cm the flat-ended tank holds about 968 L (34 %). The dipstick chart in the calculator gives the litres for every 5 cm of depth.

Common mistakes

Standards and sources

FAQ

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

Multiply the area of the liquid cross-section (a circular segment) by the length: V = L · [R² · acos((R − h)/R) − (R − h) · √(2Rh − h²)], with R the radius and h the liquid depth. A Ø 120 cm × 250 cm tank with 45 cm of liquid holds 968 L.

Why is a horizontal tank not half full at a quarter of its height?

The tank is narrow at the bottom and at the top and widest in the middle, so each centimetre of depth holds little near the bottom, the most at half height and little again near the top. At a quarter of the diameter a horizontal cylinder is only about 20 % full.

How do I make a dipstick chart for my tank?

Enter the tank shape and inside size, choose the chart step (for example every 5 cm), and print the table. Mark a straight wooden or aluminium stick in centimetres from its tip; the chart then turns every reading into litres. For a horizontal tank, measure through an opening in the middle of the length.

How much do dished or hemispherical ends add?

Two hemispherical ends together hold a full sphere of the tank diameter: 4/3 · π · R³. 2:1 elliptical (dished) ends, whose depth is a quarter of the diameter, hold half of that. For a Ø 120 cm tank that is 905 L for hemispherical and 452 L for 2:1 ends.

How heavy is a full tank of diesel or water?

Volume times density: water 1.00 kg/L, diesel about 0.84, petrol about 0.745, AdBlue 1.09 kg/L. A 2 827 L tank of diesel weighs about 2 375 kg plus the tank itself, which matters for the stand, the trailer or the floor.

How full should a fuel tank be filled?

Leave about 5 % free space. Diesel and petrol expand roughly 1 % for every 10 °C they warm up, and a full tank in the sun can overflow through the vent.

Tools for this job

What you need to build, measure or check the result.

As an Amazon Associate I earn from qualifying purchases. Prices and availability are shown on Amazon.