Litres & liters
Calculate Volume of a Cylinder in Liters
Convert cylinder dimensions straight into litres and cubic metres, working from millimetres, centimetres or metres.
Litres are just cubic decimetres in disguise, and the calculate volume of a cylinder in liters handles that conversion for you. Enter the radius or diameter and the height, and the litre figure appears instantly with the cubic-metre equivalent beside it.
Because a litre is just a cubic decimetre, the metric result is easy to sanity-check by eye, and the tool shows millilitres and cubic metres alongside so a small dosing job and a large storage job use the same numbers in different clothes.
How the calculation works
- Measure across the circular end — the diameter or radius.
- If you measured the diameter, halve it to get the radius r.
- Square the radius and multiply by π to get the base area.
- Multiply the base area by the height h: V = π r² h.
- Convert the result into your preferred unit above.
Getting an accurate measurement
If you can only reach the top, measure the diameter across the opening and halve it. Keep every measurement in the same system, and let the tool convert between units for you.
How the volume is worked out
The volume of a cylinder is:
V = π r² hA 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).
| From | To | Multiply by |
|---|---|---|
| cm³ | litres | 0.001 |
| litres | m³ | 0.001 |
| in³ | US gallons | ÷ 231 |
| ft³ | US gallons | 7.4805 |
| ft³ | litres | 28.3168 |
For anything that holds liquid, measure the inside of the cylinder — the wall takes up space that the contents cannot.
Conversions use standard factors: 1 US gallon = 231 in³, 1 Imperial gallon = 4.54609 L, 1 litre = 1000 cm³.
Follow-on questions, answered
The figure above is usually the start, not the finish. These are the questions that tend to come next, answered here so you do not have to run another search:
How do I size an aquarium properly?
Measure the inside dimensions and the water height, not the glass. The litre figure guides dosing and heater sizing, but leave a few centimetres of freeboard at the top so nothing overflows.
What if my measurements are in millimetres?
Pick mm on each field. The tool converts to metres internally, so you can measure a small part in millimetres and still read a clean litre result without converting by hand.
What is that in US or Imperial gallons?
The litre result sits beside its gallon equivalents in the breakdown, so you can convert on the spot: 1000 litres is about 264 US gallons or 220 Imperial gallons.
How many millilitres or cubic centimetres is it?
One litre is exactly 1000 millilitres and 1000 cubic centimetres, so the mL and cm3 figures are just the litre value in disguise, and all three appear together in the result.
Common uses
A few of the jobs it gets used for:
- Filling an aquarium to the right level
- Batch-sizing in a home brewery or kitchen
- Sizing a rainwater butt in litres
- Dosing chemicals for a metric tank
Common mistakes to avoid
The commonest slip is using the diameter where the formula wants the radius, which on its own quadruples the base area. Close behind is mixing units, such as a radius in centimetres with a height in metres. Keep every length in the same unit, or let the tool convert, and double-check whether you measured to the centre or across the whole width. When a figure looks surprising, that width measurement is almost always where the problem is hiding, so re-read it first.
Getting the number in the unit you need
Showing every unit at once is about speed and safety: you see the answer in litres, gallons and cubic feet side by side, so there is no chance of applying the wrong conversion factor. Change the output unit at the top to make any of them the headline figure, switch the precision to exact if you want the value in terms of pi, and use copy-result to paste a tidy summary wherever you need it.
Related things you might need
Once you have your answer you may also want to work in gallons tank capacity volume formula. These related calculators pick up where this one leaves off:
To sum up, the whole job is two measurements and one formula. Enter them above, pick your unit, and you have an accurate figure plus every equivalent unit beside it. Keep a copy with the copy-result button, save the shareable link if someone else needs the same numbers, and use the history panel to compare a few options without starting from scratch.
Frequently asked questions
What is the formula for the volume of a cylinder?
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.