Volume calculator

Find the volume of a cube, box, cylinder, sphere or cone.

Last updated: November 2026 · Free estimates, no sign-up

What a volume calculator does

Volume is the amount of space inside a 3D shape. This volume calculator finds the volume of a cube, a rectangular box, a cylinder, a sphere or a cone from the measurements you enter. It also converts the result to litres when your lengths are in centimetres. Use it for tanks, boxes, pipes, concrete, packaging and school problems.

How to use this volume calculator

  1. Choose the shape.
  2. Enter the side, length or radius in the first field. Use the radius, which is half the diameter, for round shapes.
  3. Enter the width for boxes, and the height for boxes, cylinders and cones.
  4. Press Calculate to see the volume in cubic units.

Use the same unit for every measurement.

Volume formulas

ShapeFormula
Cubea³
Rectangular boxa × b × h
Cylinderπ × a² × h
Sphere4/3 × π × a³
Cone1/3 × π × a² × h

In the formulas, a is the side or radius, b is the width and h is the height.

Worked examples

Box: 10 × 5 × 4 gives 200 cubic units.

Cylinder: radius 3 and height 10 gives π × 9 × 10 = 282.74 cubic units.

Sphere: radius 6 gives 4/3 × π × 216 = 904.78 cubic units.

Cone: radius 3 and height 10 is one third of the matching cylinder, 94.25 cubic units.

Volume unit conversions

UnitEquals
1 litre1,000 cm³
1 m³1,000 litres
1 cm³1 millilitre
1 US gallon3.785 litres
1 cubic foot28.32 litres
1 cubic inch16.39 cm³

Everyday uses

  • Aquariums and tanks: length × width × height gives volume, and dividing cm³ by 1,000 gives litres.
  • Concrete and soil: find the volume of a slab or a bed to know how much to order.
  • Pipes and cans: use the cylinder formula.
  • Shipping: box volume helps with packing and cost.

Why a cone is one third of a cylinder

A cone with the same base and height as a cylinder holds exactly one third as much. You can see it by filling a cone with water and pouring it into the cylinder three times.

Tips for accurate results

  • Convert all measurements to the same unit first.
  • Use the radius, not the diameter, for round shapes.
  • For irregular shapes, split them into simple shapes and add the volumes.
  • Round only at the end.

Common mistakes

The most common mistake is using the diameter in place of the radius, which makes the answer four times too large for a cylinder or eight times too large for a sphere. Another is mixing units, such as metres and centimetres. Remember that volume is in cubic units, not square units.

Frequently asked questions

Multiply π by the radius squared and the height.

4/3 × π × radius cubed.

Length × width × height.

Cubic units, such as cm³, m³ or cubic inches.

Use the radius, half of the diameter.

One third of π × radius squared × height.

Cube the side length.

About 2.64 US gallons.

Split it into simple shapes and add their volumes.

Volume is space occupied. Capacity is how much a container can hold.

Related articles

Related calculators

Note

This calculator gives estimates for general use. It is not financial or medical advice.

Volume calculator

Enter your numbers, then press Calculate.