Tank capacity

Cylinder Tank Volume Calculator

Full or partial capacity for an upright cylindrical tank — read it in gallons or litres and see how much is left to fill.

A tank calculation is a capacity question, and this cylinder tank volume calculator treats it that way. Enter the tank's inside diameter and the liquid height, and it returns the volume held — in gallons or litres — plus how much room is left at the top.

Tanks are where geometry meets logistics. The number you act on is the gap between full capacity and the current level, because that is what you order — so a good tank calculation gives you both figures side by side, not just one.

How the volume is worked out

The volume of a cylinder is:

V = π r² h

A worked example

Worked example. Take a cylinder with a diameter of 20 cm (so a radius of 10 cm) and a height of 40 cm. The base area is π × 10² = 314.16 cm², and multiplying by the height gives a volume of about 12.57 litres (12,566 cm³ · 3.32 US gallons).

UnitEqual to
1 US gallon231 in³ · 3.785 L
1 Imperial gallon277.42 in³ · 4.546 L
1 cubic foot7.481 US gal · 28.32 L
1 litre0.264 US gal · 0.220 Imp gal
1 US gallon128 US fl oz

The figure is the geometric capacity. Usable capacity is a little lower once you allow for fittings and the headspace you leave at the top, so treat it as a close upper bound.

Conversions use standard factors: 1 US gallon = 231 in³, 1 Imperial gallon = 4.54609 L, 1 litre = 1000 cm³.

How the calculation works

  1. Measure the tank's inside diameter and halve it for the radius.
  2. Measure the current liquid height inside the tank.
  3. The tool computes V = π r² h for the liquid volume.
  4. Compare it with the full capacity to see how full the tank is.

Getting an accurate measurement

Measure the inside diameter and the liquid height for a true capacity. Keep every measurement in the same system, and let the tool convert between units for you.

Once the result is in

To save you a second search, here are the related answers people most often want straight after this calculation:

How much will it take to fill?

The result lists the empty space remaining in your chosen unit, and that is exactly how much you need to order to bring the tank up to the height you entered as full.

Is this the usable capacity?

It is the geometric capacity from your inside dimensions. Real usable volume is a little lower once you allow for the outlet height, fittings and the headspace left at the top.

What about a tank lying on its side?

Upright tanks fill evenly; horizontal ones do not. If your tank is on its side, switch to the horizontal-tank mode so a dip depth is converted correctly rather than treated as a simple fraction.

How full is the tank right now?

Enter the current liquid height and the calculator shows the volume held, the full capacity and the percentage full, so you can decide at a glance whether a delivery is needed.

What to watch out for

The usual overestimate comes from measuring the outside and ignoring headspace. For a live reading use the current liquid height, not the tank's full height, and remember the geometric figure is a maximum — fittings and the gap at the top mean the usable amount is a little less.

One result, every unit

Because volume units are where most errors creep in, the tool does the converting for you. Enter your measurements once and every common unit appears together, from millilitres up to cubic metres and across to US and Imperial gallons. Pick whichever the task calls for and lift the rest from the list; nothing needs a second calculation. The result also updates live as you change a measurement, so you can compare two sizes quickly without starting over.

What to work out next

Once you have your answer you may also want to work in gallons horizontal tank litres & liters. These related calculators pick up where this one leaves off:

Where people use this

A few of the jobs it gets used for:

  • Reading how full a vertical storage tank is
  • Ordering the right delivery to top a tank up
  • Monitoring a chemical or water tank on site
  • Planning irrigation storage on a farm

In short: measure the width and the height, keep them in the same unit, and the tool turns them into a volume you can read in litres, gallons, cubic feet or anything else, with the working shown so you can trust it. If a result ever looks off, re-enter the measurement you are least sure of, or switch to the diameter input and let the tool halve it for you, which catches the most common error before it matters.

Good to know

Is the volume of a cylinder squared or cubed?
The result is in cubic units, because volume fills three dimensions. The radius is squared inside the formula only because it forms the flat circular base; multiplying by the height adds the third dimension.
Does this work for a tank or a pipe?
Yes. A solid tank uses the standard mode; for a pipe or tube use the hollow mode, which subtracts the bore. For a tank on its side, use the horizontal mode.
How do I calculate the volume of a cylindrical tank?
For an upright tank, use V = π r² h with the inside radius and the liquid height. The calculator also shows full capacity and the space left empty.
How do I find how full my tank is?
Enter the tank's inside diameter and the current liquid height. The tool returns the liquid volume, the full capacity and the fill percentage.
Should I measure inside or outside?
Measure the inside dimensions for capacity — the wall takes up space that liquid cannot. Outside measurements slightly overstate how much a tank holds.
What is the formula for the volume of a cylinder?
The volume is V = π r² h — the area of the circular base (π r²) multiplied by the height (h). If you have the diameter instead of the radius, halve it first: r = d ÷ 2.

More cylinder calculators