Explore all tools
FREE ONLINE TOOLNo visitor account required

Volume Calculator

Volume of a cube, cuboid, sphere, cylinder, cone, square pyramid or capsule — with surface area alongside and every formula in one table.

—

Volume (cubic units)

Surface area (square units)—
Capacity if measured in cm (litres)—

Note: The litres line assumes you measured in centimetres: it divides the cubic centimetres by 1,000. Capsule: first = radius, second = the straight cylinder section length (not counting the round ends).

Report a problem with this tool

Volume: How Much Fits Inside

Volume measures the space a solid occupies, in cubic units. The formulas split into two families. Prisms and cylinders — anything with a constant cross-section — are base area × height: a cuboid is l × w × h, a cylinder is πr2h. Pointed solids are exactly one third of their prism: a cone is πr2h / 3 and a pyramid is base2 × h / 3. The sphere, 4/3πr3, and the capsule (a cylinder with a sphere split between its two ends) complete the set this calculator covers.

Worked Example

A cube of side 5 holds 125 cubic units. A sphere of radius 5 holds 4/3 × π × 125 = 523.60 — notice it is the cube's volume times roughly 4.19, which is why a ball nearly fills its box. A capsule of radius 2 with a 5-long cylindrical middle holds π × 4 × 5 + 4/3 × π × 8 = 62.83 + 33.51 = 96.34: tank and silo sizing uses exactly this shape.

Units: The Cubic Trap

Volume units scale brutally. One cubic metre is 1,000 litres, and one cubic foot is about 28.3 litres — but also 1,728 cubic inches, because 123 = 1,728. When a result looks wildly wrong it is almost always a unit slip: a tank entered in centimetres returns cubic centimetres (millilitres), so a 50 × 30 × 40 cm aquarium is 60,000 cm³ = 60 litres. Enter everything in one unit and convert the answer once, at the end.

Frequently Asked Questions

What is the volume of a sphere?

4/3 x pi x r cubed. A radius of 5 gives 523.60 cubic units — about 4.19 times the volume of the cube with the same side.

Why are cone and pyramid volumes divided by 3?

A pointed solid with the same base and height as a prism holds exactly one third as much. It is a theorem, not an approximation, and it holds for any base shape.

What is a capsule shape?

A cylinder with a hemisphere on each end — the shape of storage tanks, silos and medicine capsules. Its volume is the cylinder part plus one full sphere.

How do I convert cubic centimetres to litres?

Divide by 1,000. A 50 x 30 x 40 cm tank is 60,000 cubic centimetres, which is 60 litres. The result panel shows this conversion for you.