Shape Volume Calculator

Volume is what a container holds: water in a tank, air in a room, grain in a bin, gas under a spherical dome. Five solids cover almost every enclosure people build — cuboid, cube, cylinder, cone and sphere — each formula short, though the radius is squared in two of them, where mental estimates go wrong. Pick a solid here, enter only the measurements it reads, and the volume returns in cubic metres.

Enter values

The dimensions below update which inputs the formula uses

Cuboid: the longest side

Cuboid: the shorter side

Cuboid, cylinder and cone: the vertical dimension

Cylinder, cone and sphere: half the width across

Cube: one edge

Results update as you type.

Results

Volume
72 m³
Solid
Cuboid

How is the Shape Volume calculated?

A solid menu offers cuboid, cube, cylinder, cone and sphere, and five number fields wait below: length, width, height, radius and side, all in metres. The cuboid multiplies its three edges, the cube raises one edge to the third power, and the cylinder, cone and sphere work from the radius alone — the first two also take a height. The answer is printed to two decimals in cubic metres, and a zero in any field the solid needs returns a message naming that measurement.

Formula

cuboid: V = l × w × h · cube: V = s³ · cylinder: V = π r² h · cone: V = π r² h ÷ 3 · sphere: V = 4 π r³ ÷ 3

where l, w and h are the cuboid's edges, s the cube's edge, and r the radius shared by cylinder, cone and sphere; π ≈ 3.14159. Inputs are metres, so the result is cubic metres. A cone holds exactly a third of its circumscribed cylinder.

Example

A room 6 m long, 4 m wide and 3 m high holds 6 × 4 × 3 = 72 m³ of air. A water tank with a 1.5 m radius and 4 m height stores π × 1.5² × 4 ≈ 28.27 m³, about 28,270 litres at 1,000 L a cubic metre. Shrink that tank to a cone and it holds a third — roughly 9.42 m³. A 4 m cube of storage comes to 4³ = 64 m³, while a sphere of 1 m radius holds 4π ÷ 3 ≈ 4.19 m³.

Things to remember

Radius versus diameter is the classic miss: these fields want the half-width across, not the full width. Cubes and cuboids scale with the cube of their edges — double them and the space grows eightfold. Odd shapes split into these pieces; the volume converter handles other units.

Frequently Asked Questions

How do you calculate the volume of a cylinder?

Square the radius, multiply by π, then by the height: V = π r² h. A tank with a 1.5 m radius and 4 m height gives π × 2.25 × 4 ≈ 28.27 m³, which is about 28,270 litres. Halving a diameter measured across the tank first is the step people most often skip.

How many litres does one cubic metre hold?

Exactly 1,000. A cubic metre is a metre on every side, and a metre-cube box holds 1,000 litres — the same volume as a cube ten times smaller in each direction. So the 72 m³ room equals 72,000 litres of space, and the 28.27 m³ tank holds about 28,270.

Why does a cone hold one-third of its cylinder?

The taper removes two-thirds of the bulk: integrating the shrinking circular slices from base to point leaves exactly a third. So a cone and a cylinder sharing a 1 m radius and 2 m height come to about 2.09 m³ and 6.28 m³ — the reason conical hopper capacities surprise people.

Which measurements does each solid need?

Cuboid: length, width and height. Cube: one edge. Cylinder and cone: radius and height. Sphere: radius alone. Only those fields feed the chosen solid — the others sit ignored rather than averaged in — and the helper text under every field names the shapes that read it.

More Geometry & Trigonometry calculators

See all 5 Geometry & Trigonometry calculators