Choose a 3D shape
Select a shape below to open its dedicated volume calculator, including labelled dimensions, formulas and units.
Cube
Formula: s³
Rectangular prism
Formula: lwh
Cylinder
Formula: πr²h
Sphere
Formula: 4πr³ / 3
Cone
Formula: πr²h / 3
Square pyramid
Formula: b²h / 3
Capsule
Formula: πr²h + 4πr³ / 3
Conical frustum
Formula: πh(R² + Rr + r²) / 3
Ellipsoid
Formula: 4πabc / 3
Spherical cap
Formula: πh²(3R − h) / 3
Hollow cylinder / tube
Formula: πh(R² − r²)
More Information
Volume describes the amount of three-dimensional space an object or container occupies. Choose the shape above that best matches your object, then enter its dimensions in the dedicated calculator.
How to calculate volume
Volume formulas depend on the shape. For a rectangular prism, multiply length by width by height. For a cube, multiply its side length by itself three times. Cylinders, cones and spheres use π because their dimensions include circles. Each linked calculator provides the relevant formula and dimensions.
Measure dimensions consistently before you calculate. For example, if a box is 2 metres long, 1.5 metres wide and 0.5 metres high, its volume is 2 × 1.5 × 0.5 = 1.5 cubic metres (m³). A cylinder with a radius of 0.5 metres and a height of 2 metres has volume π × 0.5² × 2 ≈ 1.57 m³.
Volume units and conversions
Volume uses cubic units, such as cubic millimetres (mm³), cubic centimetres (cm³), cubic metres (m³), or cubic feet (ft³). A cubic metre contains 1,000 litres, and a litre contains 1,000 cubic centimetres. To convert a measurement in cubic centimetres to litres, divide by 1,000.
Remember that length conversions must be cubed for volume: 1 metre equals 100 centimetres, but 1 cubic metre equals 1,000,000 cubic centimetres, not 100.
Picking the right shape
Use the cube or rectangular prism tools for boxes and rectangular tanks; the cylinder tool for pipes and round containers; the sphere tool for balls; and the cone or frustum tools for tapered containers. More specialised tools cover capsules, ellipsoids, hollow cylinders and spherical caps. For irregular objects, a simple geometric formula may only provide an approximation.
Common mistakes and limitations
Check whether a formula requires a radius rather than a diameter: the radius is half the diameter. For hollow containers, use internal dimensions when estimating capacity. For material ordering, allow for wastage, gaps, compaction and manufacturing tolerances where applicable. A geometric volume estimate is not automatically the usable fill capacity of a real-world object.
Area versus volume
Area measures a two-dimensional surface in square units (such as m²), while volume measures three-dimensional space in cubic units (such as m³). Need an area calculation instead? Visit the Area Calculator for rectangles, circles, triangles and other flat shapes.
Frequently asked questions
What is the difference between cm² and cm³?
Square centimetres measure a flat area. Cubic centimetres measure three-dimensional volume. You cannot convert directly between them without an additional dimension.
How do I calculate the litres in a box?
Measure the internal length, width and height in centimetres, multiply them together, then divide the result in cm³ by 1,000 to obtain litres.
Can I calculate an irregular shape here?
Choose a close geometric approximation or divide the object into simpler shapes and add their volumes. The result may differ from the actual volume.