Volume Calculator formula — how it actually works
Every answer from the Volume Calculator comes from one idea: volume is how much three-dimensional space a shape takes up. That is why every formula multiplies three lengths together — or their equivalents — and why the answer is in cubic metres. Here are the three formulas.
The three formulas
Box: length × width × height Cylinder: π × radius² × height Sphere: 4/3 × π × radius³ 1 cubic metre = 1,000 litres
The box formula multiplies three straight sides. The cylinder formula takes the area of the round base, π × radius², and multiplies it by the height. The sphere formula is the exact geometric result for a ball: the 4/3 factor is what separates a sphere from a cylinder of the same radius and height.
Worked example
Take a box 5 m long, 4 m wide and 3 m high. Multiply the sides: 5 × 4 × 3 = 60 m³. In litres, that is 60 × 1,000 = 60,000 litres.
Box: 5 × 4 × 3 = 60 m³ = 60,000 litres
At a glance
The mistake to avoid
Forgetting to square the radius in the cylinder formula, or forgetting the 4/3 in the sphere formula. A cylinder of radius 2 m and height 5 m is π × 2² × 5 = 62.83 m³, not π × 2 × 5 = 31.42 m³. And a sphere of radius 3 m is 4/3 × π × 27 = 113.10 m³, not π × 27 = 84.82 m³. The small factors change the answer a lot.
Which formula fits the shape in front of you?
Start from the base of the shape. A rectangle for a base means a box: multiply the three straight sides. A circle for a base means a cylinder: work out the area of the circle, π × radius², then multiply by the height. No flat base at all — a ball — means a sphere: 4/3 × π × radius³. The base tells you the formula before you type a single number.
A sphere of radius 4 m shows why the 4/3 matters: 4/3 × π × 4³ = 268.08 m³, which is 268,083 litres. Leave the 4/3 out and you get π × 64 = 201.06 m³ — a long way short. The factor is not a rounding choice; it is part of the geometry. The same goes for the square in the cylinder formula: the radius is squared because the base is an area, and an area always needs two lengths multiplied together.
Sphere: 4/3 × π × 4³ = 268.08 m³ = 268,083 litres
What to check before you trust the answer
Check each piece of the formula separately. Is the radius squared in the cylinder, and cubed in the sphere? Is the 4/3 there for the sphere? Are all the lengths in metres? A cylinder of radius 2.5 m and height 2 m holds π × 2.5² × 2 = 39.27 m³, which is 39,270 litres — and if you had forgotten to square the radius, you would have got π × 2.5 × 2 = 15.71 m³ instead, less than half the true volume.
Then check the answer against a landmark. A standard 1,000-litre water tank is 1 m³, so 39.27 m³ is about thirty-nine such tanks — reasonable for a cylinder 5 m across and 2 m tall. If the answer feels far too big or far too small for the shape you measured, it usually is, and the formula piece you skipped is the place to look first.
Cylinder: π × 2.5² × 2 = 39.27 m³ = 39,270 litres
Frequently asked questions
What is the formula for the volume of a box?
Length times width times height. A box 5 m by 4 m by 3 m holds 60 cubic metres.
What is the formula for the volume of a cylinder?
Pi times radius squared times height. Radius 2 m and height 5 m gives 62.83 cubic metres.
Why is the sphere formula 4 divided by 3 times pi times r cubed?
That is the exact geometric result for a sphere. The 4 divided by 3 is what separates a sphere from a cylinder of the same radius and height.
How many litres are in a cubic metre?
Exactly 1,000. A volume of 60 cubic metres is 60,000 litres.
More guides on the Volume Calculator
- How to use the Volume Calculator — step by step
- Volume Calculator explained with worked examples
- Volume Calculator for beginners — start here
- Common mistakes people make with the Volume Calculator
- Volume Calculator vs doing it by hand — which is faster?
- volume calculator — the complete guide
- How to get an accurate result from the Volume Calculator
- Volume Calculator for students — with examples
- Volume Calculator for homeowners and DIYers
Work out the volume of a box, a cylinder or a sphere — free, in your browser.