Volume Calculator

This volume calculator works in three steps: pick a shape, enter its dimensions, choose the unit. You get the volume, litres, gallons, surface area and the working.

Source: Wolfram MathWorld – Cylinder: volume, lateral and surface area. Updated: .

My ToolboxYour inputs are saved in this browser only.

Result

Volume
1,570.8 cm³
In litres
1.5708 L
Surface area
785.398 cm²
Lateral surface
628.319 cm²
Volume in other units
UnitValue
Millilitres (mL)1,570.8
Litres (L = dm³)1.5708
m³0.0015708
cm³1,570.8
ft³0.0554721
US gallons0.41496
UK (imperial) gallons0.345527
Working
  • Volume: V = π · r² · h → V = π · 5² · 20 ≈ 1,570.8 cm³
  • Lateral surface: M = 2 · π · r · h → M = 2 · π · 5 · 20 ≈ 628.319 cm²
  • Surface area: O = 2 · π · r² + M → O = 2 · π · 5² + 628.319 ≈ 785.398 cm²

How it is calculated

The volume of a solid is its base area times its height – for pointed solids such as cones and pyramids, one third of that. A cylinder with a 5 cm radius and 20 cm height holds π × 5² × 20 ≈ 1,571 cm³, or about 1.57 litres.

Volume formulas

If you measured the diameter, switch to “Diameter” and the calculator halves it for you. Using d instead of r is the classic cylinder mistake – it makes the answer four times too large.

Converting volume to litres and gallons

One litre is exactly 1 dm³ = 1,000 cm³, and 1 m³ = 1,000 litres. The calculator also shows millilitres, cubic metres and US gallons (1 gal = 3.785411784 L, NIST) plus UK gallons (4.54609 L). In feet, 1 ft³ = 28.3168 L ≈ 7.48 US gallons. Round pool example: 12 ft across, 3 ft of water → r = 6 ft, V = π × 6² × 3 ≈ 339.3 ft³ ≈ 2,538 US gallons.

Surface area

You also get the surface area – useful for paint, liner or insulation. A cylinder’s surface is two circles plus the lateral surface 2πrh; a cone’s is the base plus πrs with slant height s = √(r² + h²). For a cylinder solved from any two values, use the cylinder calculator.

Limits

The formulas assume ideal shapes. Real tanks have wall thickness, domed bottoms or slopes – measure the inside and add up simple parts. To turn volume into mass, use the density calculator; to add several parts, the calculator.

Prism, ellipsoid, horizontal tank and mixed units

Three more shapes are available: the triangular prism (V = a × b ÷ 2 × h, with base a and height b of the triangle), the ellipsoid (V = 4/3 × π × a × b × c; with semi-axes 3, 2 and 1 cm that is ≈ 25.13 cm³) and the horizontal, partly filled tank: radius, length and fill height give the contents and the fill level in percent – when the fill height equals the radius, the tank is exactly half full. A sketch for each shape shows which dimension is meant. Next to each dimension you can pick its own unit: with a 5 cm radius and a height of 2 ft, the calculator converts 2 ft to 60.96 cm and gets ≈ 4.79 litres. The table also gives the result in cubic feet (ft³).

Dedicated calculators for each shape

This page is the overview. To work backwards from a volume or surface area to a dimension, use the dedicated calculator:

Frequently asked questions

How do you calculate the volume of a cylinder?

Base area times height: V = πr²h. For a 5 cm radius and 20 cm height: 3.14159 × 25 × 20 ≈ 1,570.8 cm³ ≈ 1.57 litres. From the diameter: V = π(d/2)²h.

How do I convert cubic feet to gallons?

Multiply by 7.48052: 1 ft³ = 28.3168 litres = 7.48 US gallons. A 10 ft³ tank holds about 74.8 gallons.

How do I find the volume of a rectangle box?

Length × width × height. All three must be in the same unit – convert first if needed (e.g. 1.2 m = 120 cm). 50 × 40 × 30 cm = 60,000 cm³ = 60 litres.

How many litres are in a cubic metre?

Exactly 1,000 litres. One litre equals one cubic decimetre (10 cm × 10 cm × 10 cm).

What is the formula for the volume of a sphere?

V = 4/3 πr³. A sphere with a 10 cm radius holds 4/3 × π × 1,000 ≈ 4,188.8 cm³, just under 4.19 litres.

Sources and legal basis

As of: · Editorial policy

Related tools