Volume Calculator

Calculate the volume of a cube, box, cylinder, sphere, cone, pyramid, capsule or ellipsoid. Enter dimensions in mm, cm, m, inches or feet and get the result in liters, cubic meters, gallons and more.

  • 100% free
  • No signup
  • Runs in your browser

Select shape

Volume in other units

Liters —
Milliliters —
Cubic meters —
Cubic centimeters —
US gallons —
Cubic feet —
Cubic inches —

How to use

  1. Choose the shape you want to measure from the Shape list.
  2. Pick the unit you measured in: millimeters, centimeters, meters, inches or feet.
  3. Enter the dimensions shown for that shape. You can use a dot or a comma as the decimal separator.
  4. Read the volume in cubic units, and below it the same volume in liters, milliliters, cubic meters, US gallons, cubic feet and cubic inches.

What is volume?

Volume is the amount of three-dimensional space an object takes up. It is measured in cubic units: if the dimensions are in centimeters, the result is in cubic centimeters (cm³). One liter equals 1,000 cm³, and one cubic meter equals 1,000 liters.

Prisms and cylinders multiply the area of the base by the height. Cones and pyramids hold exactly one third of the prism or cylinder with the same base and height, which is why their formulas contain 1/3.

Volume formulas

Shape Formula
Cube V = a³
Rectangular box V = l × w × h
Cylinder V = π × r² × h
Sphere V = 4/3 × π × r³
Cone V = 1/3 × π × r² × h
Pyramid (rectangular base) V = 1/3 × l × w × h
Capsule V = π × r² × (4/3 × r + L)
Ellipsoid V = 4/3 × π × a × b × c

a = side length (cube) or semi-axis (ellipsoid), b and c = the other semi-axes, l = length, w = width, h = height, r = radius, L = length of the straight part of a capsule.

Examples

Example Result
A box 30 cm × 20 cm × 10 cm 6,000 cm³ = 6 liters
A cylindrical tank with a radius of 0.5 m and a height of 2 m ≈ 1.571 m³ ≈ 1,571 liters
A ball with a radius of 12 cm ≈ 7,238 cm³ ≈ 7.24 liters
A cone with a radius of 3 in and a height of 6 in ≈ 56.55 in³ ≈ 0.93 liters
Tips: Use the same length unit for all dimensions of a shape.

FAQ

Multiply length × width × height. A box of 30 × 20 × 10 cm has a volume of 6,000 cm³, which is 6 liters.

Multiply the area of the circular base (π × r²) by the height. Use the radius, which is half of the diameter.

V = 4/3 × π × r³. Doubling the radius makes the volume eight times larger.

Calculate the volume of the cylinder or box with the same base and height, then divide it by 3.

Divide by 1,000: 1 liter = 1,000 cm³ = 1 dm³. One cubic meter is 1,000 liters, and one US gallon is about 3.785 liters.

Divide the diameter by 2 to get the radius before you enter it. For example, a pipe with a 10 cm diameter has a 5 cm radius.

Need another tool?

Explore all 61 free tools: calculators, converters, date and time tools, random generators and text utilities.

Browse all tools