- Home
- Math
- Volume Calculator
Volume Calculator
Volume is the space a 3D shape fills. A box is length × width × height; a cylinder is π × r² × h. Pick a shape, enter its sizes in any units, and see the volume in cubic units, litres and gallons.
Filling a tank, pot or pool? A 1 m × 1 m × 1 m box holds 1,000 litres. The answer below always includes litres and gallons so you know how much it holds.
Volume of a rectangular box
Volume of a cube
Volume of a cylinder
Volume of a sphere
Volume of a cone
Volume of a rectangular pyramid
Volume of a capsule
Volume of a hemisphere (half sphere)
How we got this
Compare options
Row 1 follows the calculator above. Edit any cell.Bulk mode
My saved calculations
Stored only in this browser. Nothing is sent to our servers.Country & format
Change the country edition from the menu at the top.Your next step
Your answer carries over, so you don’t have to type it again.
Volume formulas
| Shape | Formula |
|---|---|
| Box (cuboid) | l × w × h |
| Cube | a³ |
| Cylinder | π × r² × h |
| Sphere | 4/3 × π × r³ |
| Cone | 1/3 × π × r² × h |
| Pyramid | 1/3 × base area × h |
| Capsule | π × r² × (4/3 × r + h) |
| Hemisphere | 2/3 × π × r³ |
Worked example
A cylindrical water tank with radius 0.6 m and height 1.5 m: V = π × 0.6² × 1.5 = π × 0.36 × 1.5 ≈ 1.696 m³. Since 1 m³ = 1,000 litres, it holds about 1,696 litres (about 448 US gallons).
Cubic units and capacity
| Volume | Equals |
|---|---|
| 1 cm³ | 1 millilitre |
| 1,000 cm³ | 1 litre |
| 1 m³ | 1,000 litres |
| 1 ft³ | 28.32 litres = 7.48 US gallons |
| 1 US gallon | 3.785 litres |
| 1 UK gallon | 4.546 litres |
Measuring tips
- Use the inside measurements for how much a container holds.
- For a cylinder you may know the diameter; the radius is half of it.
- Convert everything to one unit, or pick a unit for each side here and we convert for you.
Frequently asked questions
How do I calculate volume?
For a box multiply length × width × height. Other shapes have their own formulas, shown in the table above.
How many litres are in a cubic metre?
1,000 litres.
How do I find the volume of a cylinder?
Multiply π by the radius squared and by the height: V = π r² h.
How do I convert cubic feet to gallons?
Multiply cubic feet by 7.48 for US gallons, or by 6.23 for UK gallons.