Skip to content

Volume Calculator

Pick a solid and type its sizes, or drag the drawing…

Pick a solid and type its sizes, or drag the drawing, to get its volume in cubic units, litres and US gallons, and its surface area.

m
m
m
Unit

ExampleVolume, Box

1.5m³

Also 1,500 litres, 396.26 US gallons, 1.9619 yd³.

Type your own sizes, or drag a handle.

l 2w 1.5h 0.5

Drag a round handle to change that size.

Surface area
9.5 m²
Space diagonal
2.5495 m
How this works: 4 sources,

How this works

Method

Volume counts how many unit cubes a solid holds. A box (a rectangular prism) is length times width times height: a planter 30 cm by 20 cm by 15 cm holds 9,000 cm³, which is 9 litres, since a litre is 1,000 cm³. A cube is the same with three equal sides. Full method

How it’s tested

2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: 13 shapes drawn to scale with handles, exact answers in π, litres and gallons, and slope, distance, midpoint, arc and polygon pages.

Every change on What’s new

How we make toolsReport a mistake

How to find the volume of a solid

Volume counts how many unit cubes a solid holds. A box (a rectangular prism) is length times width times height: a planter 30 cm by 20 cm by 15 cm holds 9,000 cm³, which is 9 litres, since a litre is 1,000 cm³. A cube is the same with three equal sides.

For shapes with a constant cross-section, volume is the area of the base times the height, which is why a cylinder is πr²h. Shapes that come to a point hold exactly a third of that: a cone is ⅓πr²h and a square pyramid ⅓s²h. A cone with a radius of 4 and a height of 9 holds 48π ≈ 150.8 cubic units.

A sphere is (4/3)πr³: a ball with a radius of 3 has a volume of 36π ≈ 113.1. Every answer here is also converted to litres and US gallons, using the exact definitions (1 inch = 2.54 cm, 1 US gallon = 231 cubic inches).

Box lwh · Cube s³ · Cylinder πr²h · Sphere (4/3)πr³ · Cone ⅓πr²h · Pyramid ⅓s²h

Volume formulas with a worked example each

Each solid’s volume formula, one example in centimetres worked by the calculator, and the same volume in litres.

Each solid’s volume formula, one example in centimetres worked by the calculator, and the same volume in litres.
SolidFormulaExample (cm)Volume (cm³)Litres
Boxl × w × hl 30, w 20, h 159,0009
Cubes³s 101,0001
Cylinderπr²hr 5, h 20500π ≈ 1,570.81.571
Sphere(4/3)πr³r 336π ≈ 113.09730.113
Cone⅓πr²hr 4, h 948π ≈ 150.79640.151
Square pyramid⅓s²hs 12, h 104800.48

Common questions

How many litres are in a cubic metre?

Exactly 1,000. A litre is a cube 10 cm on each side, and a cubic metre is 10 × 10 × 10 of those. So a box 2 m by 1.5 m by 0.5 m holds 1.5 m³, or 1,500 litres.

How do I find the volume of an irregular object?

Split it into boxes, cylinders and cones and add them, or measure it by displacement: lower it into a measuring jug of water and read how much the level rises. 1 mL of rise is 1 cm³ of object.

What is the difference between volume and capacity?

Volume is the space an object takes up; capacity is how much a container holds, usually in litres or gallons. For a thin-walled container they are about the same, so the inside measurements give the capacity.