📐 Math & Science

Volume Calculator

Pick a 3D shape, enter its dimensions and get the volume — including litres and gallons.

  • 8 shapescube to prism
  • Litresand gallons
  • 5 unitsmm to feet
  • Instantresults

—

Litres—
Cubic metres—
US gallons—
Cubic feet—

How to use the Volume Calculator

  1. 1

    Pick a shape

    Cube, cuboid, cylinder, sphere, hemisphere, cone, pyramid or triangular prism.

  2. 2

    Choose the unit

    Millimetres, centimetres, metres, inches or feet.

  3. 3

    Enter the dimensions

    Only the measurements that shape needs are shown.

  4. 4

    Read the volume

    In cubic units, litres, cubic metres, US gallons and cubic feet.

Features

Common 3D shapes

From boxes and tanks to balls and cones.

Capacity in litres

Perfect for tanks, aquariums and pots.

US gallons

And cubic feet for imperial users.

Unit choice

Measure in whatever unit your tape shows.

Formulas shown

See exactly how the volume is worked out.

Private

Runs entirely in your browser.

Who uses it — and for what

Water tanks

Size overhead and underground tanks in litres.

Aquariums

Know the water volume for filters and dosing.

Shipping

Box volume for freight and storage.

Homework

Check geometry answers with units.

Volume formulas

Cuboidlength × width × height
Cubeside³
Cylinderπ r² h
Sphere4/3 π r³
Hemisphere2/3 π r³
Cone1/3 π r² h
Pyramid1/3 × base area × height
Triangular prism½ × base × triangle height × length

Converting to litres and gallons

One litre is exactly 1,000 cm³ (a 10 cm cube), and 1 m³ is 1,000 litres. A US gallon is 3.785 litres and a UK (imperial) gallon is 4.546 litres. That makes it easy to size water tanks, aquariums, planters, swimming pools and shipping boxes: a 60 × 30 × 36 cm fish tank holds 64.8 litres. For containers, measure the inside dimensions; wall thickness can reduce capacity noticeably.

Every result is calculated in your browser the moment you type, so you can change a number and see the effect instantly — ideal for checking homework, worksheets and exam practice. Results are shown to a sensible number of decimal places; very large or tiny values switch to scientific notation.

Measuring real objects

For anything that holds liquid, measure the inside: wall thickness can easily take 5–10% off the usable volume of a concrete or plastic tank. Measure diameter rather than radius (it is easier to measure across) and halve it. For a tank that narrows at the top or bottom, split it into simple shapes — a cylinder plus a cone, for example — and add the volumes.

Remember that tanks are rarely filled to the brim. Overflow pipes, float valves and lids usually leave 5–10 cm of air at the top, so the working capacity is a little lower than the geometric volume.

Volume and capacity conversions

FromToMultiply by
cm³litres0.001
m³litres1,000
litresUS gallons0.2642
litresUK gallons0.2200
ft³litres28.317
m³ft³35.315

One litre of water weighs almost exactly 1 kg, so a 2,000-litre tank holds about 2 tonnes of water — worth knowing before you put it on a roof.

Why the formulas look the way they do

Every prism or cylinder has volume = base area × height. A cuboid’s base is length × width; a cylinder’s base is a circle, πr². Pointed shapes — cones and pyramids — always hold one third of the prism with the same base and height. A sphere holds two thirds of the cylinder that just encloses it, which Archimedes considered his greatest discovery and asked to have carved on his tomb.

Worked examples

Cylindrical water tank

Diameter 1.5 m (radius 0.75 m), height 1.2 m: π × 0.75² × 1.2 = 2.12 m³ = 2,121 litres — sold as a “2,000 litre” tank once you leave space at the top.

Rectangular sump

2 m × 1.5 m × 1 m = 3 m³ = 3,000 litres, or about 792.5 US gallons.

A ball of radius 10 cm

4/3 × π × 10³ = 4,188.8 cm³ ≈ 4.19 litres.

Cone with radius 3 cm and height 4 cm

1/3 × π × 3² × 4 = 37.70 cm³ — exactly one third of the matching cylinder (113.1 cm³).

Pro tips

  • Doubling every dimension multiplies the volume by eight.
  • For concrete, use the Concrete Calculator — it adds wastage and bag counts.
  • Round tank diameters are often given outside; subtract the wall thickness twice.

Glossary

Volume
The amount of space a 3D object takes up, in cubic units.
Capacity
How much a container can hold, usually in litres or gallons.
Radius
Half the diameter of a circle or sphere.
Prism
A solid with the same cross-section all along its length.

Frequently asked questions

How many litres are in a cubic metre?

1,000 litres.

How do I find the volume of a cylindrical tank?

π × radius² × height. A tank 1 m across and 1.5 m tall holds about 1,178 litres.

Why is a cone one third of a cylinder?

A cone with the same base and height has exactly one third of the cylinder’s volume — a result proved by Archimedes.

How many litres is a 10 × 10 × 10 cm box?

Exactly 1 litre (1,000 cm³).

How do I find the volume of an irregular object?

Submerge it in water and measure how much the level rises (Archimedes’ method).

Is a US gallon the same as a UK gallon?

No — a US gallon is 3.785 L and a UK gallon 4.546 L.

Found it useful? Share the Volume Calculator:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Math & Science (42 tools)