Volume Calculator
Find the volume of a cube, box, sphere, cylinder, cone, pyramid, prism, frustum, torus, capsule or ellipsoid, exact in terms of π, and see how many litres or gallons it holds.
How to Use
- Choose the shape. The boxes change to the measurements that shape needs.
- Choose a unit (optional) and type the dimensions. Decimals and fractions are fine.
- Read the volume, the surface area, and with a unit the capacity in litres and US gallons.
- The table gives the exact value in terms of π, the other measurements (slant height, diagonal …) and imperial gallons, cubic metres and cubic feet.
- The drawing labels each dimension on the shape.
Worked Example
A pool. 12 ft × 8 ft × 2 ft = 192 ft³. At 7.4805 US gallons per cubic foot that is 1,436 gallons (5,437 litres) to fill it.
A soda can. Radius 3.3 cm, height 12.2 cm: π × 3.3² × 12.2 = 132.858π ≈ 417.4 cm³, a little more than the 355 ml it holds, because cans aren’t filled to the top and the ends are domed.
The common mistake: forgetting the third in a cone. A cone of radius 3 and height 4 holds ⅓π × 9 × 4 = 12π ≈ 37.7, not π × 9 × 4 = 113.1, which is the cylinder around it.
Show Work
Formulas
Archimedes’ Favourite Result
The Egyptian Moscow Papyrus (around 1850 BC) already gives the frustum formula for a truncated pyramid, exactly right. Eudoxus proved that a cone is a third of its cylinder, and Archimedes, in On the Sphere and Cylinder, that a sphere is two thirds of the cylinder around it, both in volume and in surface area. He was proudest of this, and Cicero found his tomb in Syracuse by the sphere and cylinder carved on it.
Bonaventura Cavalieri’s principle (1635), that solids with equal cross-sections at every height have equal volumes, made these results easy and led straight to integral calculus.
About This Calculator
This calculator finds the volume of twelve common solids, keeping exact dimensions exact so answers come out in terms of π, and gives the surface area and extra measurements alongside. With a unit chosen it converts to litres, US and imperial gallons, cubic metres and cubic feet.
Everything runs in your browser; nothing is sent anywhere.
Related calculators: Surface Area Calculator, Circle Calculator, and Concrete Calculator.
Frequently Asked Questions
What are the volume formulas?
Box l × w × h; cylinder πr²h; sphere ⁴⁄₃πr³; cone ⅓πr²h; square pyramid ⅓a²h. A cone holds exactly a third of the cylinder with the same base and height, and a sphere two thirds of the cylinder that just contains it, which Archimedes proved and asked to have carved on his tomb.
How many litres or gallons is that?
One litre is 1,000 cm³; one cubic foot is 28.317 litres or 7.4805 US gallons; one US gallon is 231 in³ = 3.785 litres; one imperial gallon is 4.546 litres. A 2 × 3 × 4 ft box is 24 ft³ = 679.6 litres = 179.5 US gallons.
Why is the volume given in terms of π?
Because it is exact. A sphere of radius 5 has a volume of ⁴⁄₃π × 125 = 500π/3, which is about 523.599. Rounding π early (3.14) would give 523.33, already off in the first decimal place.
How do I find the volume of an irregular container?
Break it into simple shapes and add them: a silo is a cylinder plus a cone or hemisphere on top; a capsule is a cylinder plus a sphere. Or fill it with a known amount of water. For a tapered bucket, the cone frustum formula ⅓πh(r₁² + r₁r₂ + r₂²) is exact.
Does doubling the size double the volume?
No: it multiplies it by 8. Volume grows with the cube of length. A pizza box twice as wide, long and tall holds 2 × 2 × 2 = 8 times as much, and a ball with twice the radius holds 8 times as much air.
How do I use the Volume Calculator?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Do I need to install or sign up for anything?
Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.
Is my information private?
Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.
Common Use Cases
Pools and tubs
A 12 × 8 × 2 ft pool holds 192 ft³ ≈ 1,436 US gallons.
Aquariums
A 60 × 30 × 36 cm tank holds 64.8 litres.
Concrete
A 3 m tall column of radius 0.2 m needs 0.377 m³.
Cans and jars
A can of radius 3.3 cm and height 12.2 cm holds 417 ml.
Ice cream
A cone of radius 3 cm and height 10 cm holds 94 ml, plus 57 ml in a hemisphere on top.
Last updated: