Skip to content
All

Volume Calculator

Volume and surface area of cubes, boxes, cylinders, spheres, cones, pyramids and prisms, in litres, gallons and more.

Your shape

Filled in with example values. Replace them with your own.

V = π × radius² × height

Results update as you type.

Result

Cylinder, radius 3 cm, height 10 cm: volume 282.743 cm³ (0.282743 L), surface area 245.044 cm²

Volume

282.743cm³

Cylinder: radius 3 cm, height 10 cm.
Surface areaAll faces together
245.044 cm²
cm³ (mL)
282.743
litres
0.282743
m³
0.000282743
in³
17.2541
ft³
0.00998499
yd³
0.000369814
US gallons
0.0746929
imperial gallons
0.0621948

How it’s calculated

  1. Cylinder

    π × radius² × height = 282.743 cm³

How the volume calculator works

Pick a shape and a unit, and enter its measurements. The calculator gives the volume in that unit cubed, the surface area where the measurements fix it, and the volume in litres, gallons and other units.

The formulas

Cube: side³

Box: length × width × height

Cylinder: π × radius² × height

Sphere: 4/3 × π × radius³

Cone: 1/3 × π × radius² × height

Rectangular pyramid: 1/3 × length × width × height

Triangular prism: ½ × base × triangle height × length

Worked examples

  • A cylinder of radius 3 cm and height 10 cm: π × 9 × 10 ≈ 282.74 cm³, about 0.28 litres.
  • A box 20 × 30 × 40 cm: 24,000 cm³ = 24 litres (6.34 US gallons).
  • A sphere of radius 1 m: 4/3 × π ≈ 4.19 m³.

Frequently asked questions

How many litres is a cubic metre?

1 cubic metre is exactly 1,000 litres, and 1 litre is 1,000 cubic centimetres (millilitres). A cubic foot is about 28.32 litres.

What is the difference between US and imperial gallons?

A US gallon is 231 cubic inches, exactly 3.785411784 litres. An imperial (UK) gallon is exactly 4.54609 litres, about 20% larger. Both are listed.

Why is a cone one third of a cylinder?

A cone, or a pyramid, with the same base and height as a prism holds exactly one third of its volume. That is why both formulas have the factor 1/3.

Can I use it for a tank or a pool?

Yes, for shapes it lists. Measure the inside dimensions, and remember the result is the full volume: the water in it depends on how full you fill it.