Volume Calculator

—
Measurements

Pick a solid, fill in its measurements and press Calculate. The answer and the working behind it will show up here.

— —
Working out

What is volume?

Volume is the amount of space a solid takes up. A box, a ball and a water tank all have a volume. We measure it in cubic units: cm³, m³, cubic inches, cubic feet. A cube with a 1 cm edge has a volume of 1 cm³, so the volume of any solid tells you how many such little cubes would fill it.

Volume is also how we talk about capacity, the amount a container can hold. A 1-litre bottle has a volume of 1,000 cm³. The calculator above shows both, so you can see the cubic answer and the litres side by side.

Volume formulas, shape by shape

Most of these formulas are one idea: area of the base × height. Shapes that narrow to a point (cone, pyramid) hold exactly one third of that. In every picture below, the coloured letter sits exactly where that length is measured.

Cube

aaa

All six faces are equal squares, so one edge is enough.

V = a³
  • V = volume
  • a = length of one edge (all twelve edges are equal)

With a = 10 cm: V = 10 × 10 × 10 = 1,000 cm³, exactly one litre. The surface area is 6a², one a² for each face.

Rectangular tank or box

lhw

Length times width gives the floor. Multiply by the height to stack that floor up.

V = l × w × h
  • V = volume
  • l = length (left to right)
  • w = width (front to back)
  • h = height (bottom to top)

A fish tank 60 cm long, 30 cm wide and 40 cm high: 60 × 30 × 40 = 72,000 cm³, which is 72 litres.

Sphere

r

Only the radius matters, and the radius is half the diameter.

V = 4/3 × π × r³
  • V = volume
  • r = radius: from the centre to the surface
  • π = about 3.14159

The radius is cubed, so doubling it makes the volume eight times bigger. A ball with r = 10 cm has a volume of about 4,189 cm³. The usual slip is using the diameter instead of the radius.

Cylinder

rh

The base is a circle with area π × r². Stack it up to the height h.

V = π × r² × h
  • V = volume
  • r = radius of the circular top and bottom
  • h = height: the distance between the two circles
  • π = about 3.14159

Cans, pipes, pillars and round tanks are cylinders. A cola can with r = 3.3 cm and h = 12 cm: π × 3.3² × 12 ≈ 410.5 cm³, about 410 ml.

Cone

hr

A cone is exactly one third of the cylinder with the same base and height. Pour three cones of water into that cylinder and it is full.

V = ⅓ × π × r² × h
  • V = volume
  • r = radius of the circular base
  • h = height: straight up from the tip to the middle of the base (not the slanting side)
  • π = about 3.14159

An ice-cream cone with r = 3 cm and h = 10 cm: ⅓ × π × 9 × 10 ≈ 94.2 cm³.

Square pyramid

ha

The same one-third rule, now for a base with four equal sides.

V = ⅓ × a² × h
  • V = volume
  • a = side of the square base
  • h = height: straight up from the tip to the middle of the base (not the slanting face)

A pyramid with a = 20 m and h = 25 m: ⅓ × 400 × 25 ≈ 3,333.3 m³.

Capsule

rh

A capsule is a cylinder with half a sphere on each end. The two halves make one full sphere, so you add a cylinder and a sphere.

V = π × r² × h + 4/3 × π × r³
  • V = volume
  • r = radius of the round ends (the middle part has the same radius)
  • h = length of the straight middle part only, without the round ends
  • π = about 3.14159

With r = 8 cm and h = 20 cm: the cylinder part is 4,021.2 cm³ and the sphere part is 2,144.7 cm³, so the capsule holds about 6,165.9 cm³.

Conical frustum

hRr

A cone with its tip cut off, like a bucket, a flower pot or a lampshade.

V = ⅓ × π × h × (R² + R × r + r²)
  • V = volume
  • R = radius of the big circle (bottom)
  • r = radius of the small circle (top)
  • h = height between the two circles
  • π = about 3.14159

If the top radius r is 0 you get an ordinary cone back. A bucket with R = 12 cm, r = 7 cm and h = 20 cm: ⅓ × π × 20 × 277 ≈ 5,801 cm³.

Ellipsoid

abc

A sphere stretched by a different amount in three directions, like a rugby ball.

V = 4/3 × π × a × b × c
  • V = volume
  • a = semi-axis: half the width in the first direction
  • b = semi-axis: half the width in the second direction
  • c = semi-axis: half the width in the third direction (towards you)
  • π = about 3.14159

If a = b = c it is a sphere again. With a = 12, b = 8, c = 6: 4/3 × π × 576 ≈ 2,412.7 cm³.

Tube or pipe

d₁d₂l

Here the answer is the pipe wall: the outer cylinder minus the hollow inside. This is what you need to find the weight or cost of the material.

V = π/4 × (d₁² − d₂²) × l
  • V = volume of the wall material
  • d₁ = outer diameter (all the way across the outside)
  • d₂ = inner diameter (all the way across the hole)
  • l = length of the pipe
  • π = about 3.14159

With d₁ = 20 cm, d₂ = 16 cm and l = 100 cm: π/4 × (400 − 256) × 100 ≈ 11,309.7 cm³. What the pipe can hold is a different number, π/4 × d₂² × l, and the calculator shows it as a tip in the working.

Volume, capacity and units

Keep every length in the same unit before you start. A common trap is mixing centimetres and metres in one box.

  • 1 m = 100 cm, but 1 m³ = 100 × 100 × 100 = 1,000,000 cm³. Units are cubed too.
  • 1 m³ = 1,000 litres, and 1 litre = 1,000 cm³ = 1,000 ml.
  • 1 US gallon is about 3.785 litres, and 1 m³ is about 35.31 cubic feet.
  • Water weighs about 1 kg per litre. That is where the “if it were full of water” row comes from.

Mistakes to watch for

  • Using the diameter where the formula wants the radius.
  • Using the slanting side instead of the straight-up height for a cone or pyramid.
  • Forgetting that the unit is cubed when you convert.
  • Mixing up volume with surface area. Volume is how much fits inside, surface area is how much paint covers the outside.