Skip to content
SimplCalc

Volume Calculator

Pick a shape, enter its dimensions in any length unit and read the volume in several units at once.

Result

Cubic metres
0.00629263m³
Litres
6.29263L
Cubic feet
0.222222ft³
US gallons
1.66234US gal
Cubic inches
384in³
Cubic yards
0.00823045yd³

How to use the volume calculator

Select a shape, then enter each dimension with its own unit. You can mix units, for example a length in feet and a height in inches. The volume is shown in cubic metres, litres, cubic feet, US gallons, cubic inches and cubic yards.

Formulas

  • Cube: a³
  • Box: length × width × height
  • Cylinder: π × r² × h
  • Sphere: 4 ⁄ 3 × π × r³
  • Cone: π × r² × h ÷ 3
  • Pyramid: length × width × height ÷ 3

Worked example

A box 10 ft by 5 ft by 2 ft holds 100 ft³. That is 2.83 m³, 748 US gallons or 3.70 cubic yards.

Limits

  • Shapes are treated as solid and perfectly regular. Wall thickness is not subtracted, so use inside measurements for a container.
  • Gallons are US liquid gallons (231 in³), not imperial gallons.
  • Pyramids are modelled with a rectangular base. For a square base, enter the same length and width.
  • Enter any mix of millimetres, centimetres, metres, inches, feet and yards. Everything is converted exactly before the volume is calculated.

Frequently asked questions

What is the difference between radius and diameter?

The diameter is twice the radius. If you measured across a pipe or can, divide by 2 before entering it as the radius.

How do I get the volume of a tank or container in litres or gallons?

Choose the shape that matches it, enter the inside dimensions, and read the litres or US gallons result. One cubic metre is 1,000 litres.

Why does a cone hold exactly one third of a cylinder?

A cone and a cylinder with the same base and height are related by a factor of one third. The same factor applies to a pyramid compared with a prism of equal base and height.

Sources and methodology

Last reviewed 2026-12-04