Skip to content

Volume Calculator

Pick a solid, enter its measurements and get the volume, the surface area and the capacity in litres.

  • 100% free
  • Runs in your browser
  • Instant results
Quick answer

A volume calculator finds how much space a solid takes up. Choose the solid, enter its measurements in one unit and the tool applies the formula, such as length × width × height for a box or π × radius² × height for a cylinder. The answer is in cubic units and also in litres.

How to use the Volume Calculator

  1. Choose the solidSelect a box, cube, cylinder, sphere, hemisphere, cone, pyramid, triangular prism, capsule or ellipsoid. The boxes are relabelled to match.
  2. Enter the measurementsType each measurement in the same unit and select that unit.
  3. Read the resultsYou get the volume in cubic units, the surface area where it has a standard formula, and the capacity in litres and US gallons.

Volume formulas used by the calculator

  • Box (cuboid): length × width × height. Cube: edge³.
  • Cylinder: π × radius² × height.
  • Sphere: 4⁄3 × π × radius³. Hemisphere: 2⁄3 × π × radius³.
  • Cone: 1⁄3 × π × radius² × height.
  • Pyramid: 1⁄3 × base length × base width × height.
  • Triangular prism: ½ × triangle base × triangle height × length.
  • Capsule: a cylinder plus two half-spheres, π × radius² × length + 4⁄3 × π × radius³.
  • Ellipsoid: 4⁄3 × π × a × b × c, using the three semi-axes.

Example: a box 30 cm × 20 cm × 10 cm has a volume of 6,000 cm³. Since 1,000 cm³ is one litre, it holds 6 litres. The volume calculator also shows the surface area, here 2 × (600 + 200 + 300) = 2,200 cm².

A cone or pyramid holds exactly one third of the cylinder or box with the same base and height.

From cubic units to litres and gallons

Volume is measured in cubic units, so the choice of unit has a large effect: 1 m³ is 1,000,000 cm³. The capacity rows use these exact definitions:

  • 1 litre = 1,000 cm³ = 0.001 m³
  • 1 cubic inch = 16.387064 cm³
  • 1 cubic foot = 28.316846592 litres
  • 1 US gallon = 3.785411784 litres (231 cubic inches)

For other units, such as imperial gallons or fluid ounces, paste the result into the volume converter.

Tips for good results: use the radius (half the width) for round shapes, measure the vertical height of cones and pyramids rather than the sloping edge, and for containers measure the inside dimensions, because wall thickness reduces capacity. For a tank that is only partly full, use the depth of the liquid as the height for boxes and upright cylinders.

The surface area of a hemisphere includes its flat circular base. For a flat shape rather than a solid, use the area calculator.

Frequently asked questions

How do I calculate the volume of a box?

Multiply length by width by height, all in the same unit. A box 2 m × 1.5 m × 1 m has a volume of 3 cubic metres, which is 3,000 litres.

How do I calculate the volume of a cylinder?

Multiply π by the radius squared and then by the height. A cylinder with radius 5 cm and height 10 cm has a volume of about 785.4 cm³. Select Cylinder in the volume calculator.

How do I convert cubic centimetres to litres?

Divide by 1,000. One litre is exactly 1,000 cm³, and one millilitre is exactly 1 cm³. The calculator shows litres automatically when you choose a unit.

What is the difference between volume and capacity?

Volume is the space a solid occupies. Capacity is how much a container can hold, which depends on its inside dimensions. They use the same formulas.

Why is no surface area shown for some solids?

The triangular prism needs more measurements than the volume does, and the ellipsoid has no simple exact formula, so the tool leaves those out rather than guess.

Last updated 24 November 2026 by the TheTechFolk team.