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.
Example: Shape: Cylinder (round pool, tank) · Round size given as: Radius · Radius r 5 · Height h 20 · Length unit: Centimetres (cm) → Volume: 1,570.8 cm³. Source: Wolfram MathWorld – Cylinder: volume, lateral and surface area. Updated: .
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
- Cube: V = a³ · Rectangular box: V = l × w × h
- Cylinder: V = πr²h · Pipe (hollow cylinder): V = π(R² − r²)h
- Sphere: V = 4/3 πr³ · Hemisphere: V = 2/3 πr³
- Cone: V = 1/3 πr²h · Frustum: V = πh/3 (R² + Rr + r²)
- Pyramid: V = 1/3 × l × w × h
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.
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
- Wolfram MathWorld – Cylinder: volume, lateral and surface area
- Wolfram MathWorld – Sphere
- Wolfram MathWorld – Hemisphere
- Wolfram MathWorld – Cone
- Wolfram MathWorld – Conical frustum
- Wolfram MathWorld – Pyramid
- Wolfram MathWorld – Cuboid
- NIST SP 811: NIST SP 811, Appendix B – Conversion factors (inch, foot, litre, gallon)
As of:
Related tools
- Cylinder CalculatorCylinder calculator from any two values: radius, diameter, circumference, height, volume, lateral or surface area – with formulas, litres and working.
- Density calculator: density, mass and volumeCalculate density, mass or volume with ρ = m/V – step-by-step, with unit conversion from g/cm³ to kg/m³ and lb/ft³ and densities of water, metals and plastics.
- Online CalculatorFree online calculator: type or tap and see the answer instantly – with order of operations, brackets, percent, square root, steps and history.
- Scientific CalculatorFree online scientific calculator: sin, cos, tan in degrees or radians, log, ln, roots, powers, factorial and nCr – with step-by-step working and history.
- Proportion CalculatorSolve direct and inverse proportion problems (rule of three) online: find x from a ↔ b and c, with the unit value and step-by-step working.
- Age CalculatorCalculate your exact age from your date of birth in years, months and days, in total days, weeks and months – plus the countdown to your next birthday.