🏠
🏠 Home & living

Tank Volume Calculator (cylinder, rectangular & capsule, partly filled)

Results update as you type.

Your numbers

Understanding the tank volume calculator — concept and principle

This calculator finds the total capacity of a tank and how much liquid is in it at a measured depth. It handles vertical and horizontal cylinders, rectangular tanks and capsule tanks with rounded ends. Use it for heating-oil tanks, water storage, rain tanks and fuel tanks when you can only dip a stick.

Horizontal tank, 45 cm deepHorizontal tank, 45 cm deep45 cm⌀ 120 cm, 250 cm longCapacity2,827.43 LDepth share37.5 %Volume share34.3 %Liquid968.45 L
The liquid fills a circular segment; below half depth it holds less than the depth suggests.

How it is calculated

Sizes in cm give cm³; ÷ 1,000 gives litres. 1 US gallon = 3.785411784 L.

The principle

In an upright tank the cross-section is the same at every height, so volume rises in step with depth. A horizontal cylinder is different: its width changes with height, so the first and last few centimetres hold little and the middle holds the most. The bracket in the formula is the area of a circular segment, the part of a circle below a chord at depth h; multiplying by the length gives the liquid volume. Rounded ends add spherical caps: two half-spheres filled to the same depth together form one cap of a sphere.

Worked example

Default inputs: horizontal cylinder, diameter 120 cm, length 250 cm, liquid depth 45 cm.

  1. Radius r = 60 cm; capacity = π × 60² × 250 = 2,827,433 cm³ = 2,827.43 L (2.827 m³).
  2. Segment area = 60² × arccos(15 ÷ 60) − 15 × √(2 × 60 × 45 − 45²) = 3,600 × 1.3181 − 15 × 58.09 = 3,873.8 cm².
  3. Liquid = 3,873.8 × 250 ÷ 1,000 = 968.45 L, which is 255.84 US gallons.
  4. Fill level = 968.45 ÷ 2,827.43 = 34.3 %; space left = 1,858.98 L.
How Liquid in the tank (litres) changes with Liquid depth, measured from the bottom (cm)How Liquid in the tank changes with Liqu…05001,0001,5002,0002,50011.222.533.84556.267.590Example: 968.45Liquid depth, measured from the bottom (cm)
Each point is the calculator re-run with only “Liquid depth, measured from the bottom (cm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Liquid depth, measured from the bottom (cm)Liquid in the tank (litres)
11.2133.84
22.5367
33.8652.11
45968.45
56.21,301.29
67.51,638.13
902,274.67

How to read the result

Notice that the tank is 37.5 % full by depth (45 of 120 cm) but only 34.3 % full by volume. Below half depth a horizontal tank always holds a smaller share than the depth suggests, and above half depth a larger share. Use the space left when ordering a delivery, and leave the headroom that the tank maker or supplier asks for.

Common mistakes

Keep in mind: Wall thickness, fittings, sludge and dished ends change the true volume. For fuel or chemical tanks, use the maker's calibration chart where one exists.

Frequently asked questions

How do I measure the liquid depth?

Lower a clean dipstick straight down at the centre to the bottom and read the wet mark.

How many litres is a cubic metre?

Exactly 1,000 litres.

Why does a half-depth horizontal tank hold half its volume?

At exactly half depth the circle is cut through its centre, so the segment is exactly half the circle.

Sources: D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd ed. (2018), Geometry · NIST Special Publication 811 (1 US gallon = 3.785411784 L)

Checked 9 Nov 2026. Volumes of the cylinder, sphere and spherical cap and the area of a circular segment: D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd ed. (2018), §4 (Geometry); 1 US gallon = 3.785411784 L (NIST SP 811).

🏠 All home & living tools →🌍 Calculators by country →