Geometry Calculator

Volume Calculator (Cube, Sphere, Cylinder)

Choose a shape, enter its dimensions, and get the volume, with a quick way to turn it into litres for tanks and containers.

Maintained by Kumara Samigari LokeshMethod: standard solid geometry formulasMethods and limitations

What this calculator does

Select a cube, sphere or cylinder. Enter the side length (cube) or radius (sphere and cylinder), plus the height for a cylinder. The calculator returns the volume in cubic units.

Formulas used

Cube: V = side³

Sphere: V = 4/3 × π × r³

Cylinder: V = π × r² × height

Worked examples

  • Cube with side 3 cm: 3³ = 27 cm³
  • Sphere with radius 3 cm: 4/3 × π × 27 = 113.10 cm³
  • Cylinder with radius 3 cm and height 5 cm: π × 9 × 5 = 141.37 cm³

Turning volume into litres

1 litre = 1,000 cm³, and 1 m³ = 1,000 litres. A cylindrical water tank with a radius of 0.5 m (1 m across) and a height of 1.2 m holds π × 0.25 × 1.2 = 0.9425 m³, which is about 942 litres. Measure inside dimensions for capacity; outside measurements include the wall thickness.

Other common shapes

  • Cuboid (box, rectangular tank): length × width × height.
  • Cone: 1/3 × π × r² × height, a third of the matching cylinder.
  • Hemisphere: half the sphere result.

Common mistakes

  • Entering the diameter instead of the radius, which makes a sphere 8 times too large.
  • Mixing units, such as radius in metres and height in centimetres.
  • Reporting volume in square instead of cubic units.

FAQs

How do I calculate the volume of a water tank?

For a cylindrical tank, use the cylinder option with inside radius and height in metres, then multiply m³ by 1,000 for litres.

How do I convert cm³ to litres?

Divide by 1,000.

Does it do rectangular boxes?

Not directly. Multiply length × width × height.

Why is the sphere result so sensitive to radius?

Volume grows with the cube of the radius, so doubling the radius makes the volume eight times larger.

How is the answer rounded?

To two decimal places.