Volume — the quick answer
Volume measures three-dimensional space — how much a container holds. Pick a shape, enter its dimensions, and the calculator applies the right formula instantly, converting the answer into cm³, m³, in³, ft³, liters or gallons.
Five shapes are covered: cube (s³), box (l×w×h), cylinder (πr²h), sphere (⁴⁄₃πr³) and cone (⅓πr²h). Dimensions are entered in the selected unit; the math is done in cubic centimeters and then converted to your chosen unit.
A short history of measuring volume
Volume is one of humanity's oldest measurements — ancient Egyptians taxed grain by the hekat (about 4.8 L) and Romans traded wine by the amphora. The famous "Eureka" story has Archimedes (c. 250 BC) discovering water displacement to measure an irregular crown's volume — still the go-to method for odd shapes.
The metric system rationalized everything in the 1790s: one liter was defined as a cubic decimeter (1,000 cm³), neatly tying volume to length. The US gallon, by contrast, descends from medieval English wine measures and was fixed in 1707 at 231 cubic inches (3,785.41 cm³) — which is why US and UK gallons still differ today.
Modern science uses the cubic meter (SI), everyday life uses liters and gallons, and cooking juggles cups and milliliters. This calculator converts between all of them from a single computation.
How it works: the formulas
2 × 3 × 4 = 24 cm³ = 0.024 L.
⁴⁄₃ × π × 125 = 523.60 cm³ ≈ 0.5236 L.
Volume formula reference
Every shape on the calculator, with a worked example:
| Shape | Formula | Worked example |
|---|---|---|
| Cube | V = s³ | s = 3 cm → 27 cm³ |
| Box | V = l × w × h | 2 × 3 × 4 cm → 24 cm³ |
| Cylinder | V = πr²h | r = 2 cm, h = 5 cm → 62.83 cm³ |
| Sphere | V = ⁴⁄₃πr³ | r = 3 cm → 113.10 cm³ |
| Cone | V = ⅓πr²h | r = 2 cm, h = 6 cm → 25.13 cm³ |
How big is that? Everyday volumes
What familiar volumes look like in numbers:
A 60 × 40 × 40 cm box holds 96,000 cm³.
A US 12-fl-oz can is 354.88 ml — rounded to 355.
Radius ≈ 12 cm → ⁴⁄₃π × 12³ ≈ 7,238 cm³.
A typical tub holds about 80 US gallons of water.
10³ cm³ = 1 liter, by the definition of the liter.
A 5-gallon office jug: 5 × 3.785 L.
Visual guide: shapes and formulas
Every volume formula is "base area × height" at heart — curves just add a π or a fraction:
Figure: the four headline shapes (a box works like a stretched cube). Every formula is just "base area × height", adjusted for curves.
Common mistakes to avoid
Volume errors are usually unit errors in disguise. Watch for these four:
- Mixing radius and diameter. Volume scales with r² or r³, so using the diameter as the radius makes a sphere's volume 8× too big. Halve the diameter first.
- Entering cm but reading liters. A 24 cm³ box is 0.024 L, not 24 L — a 1,000× slip. Always check which unit the answer is in.
- Using slant height for cones. The formula needs the vertical height from base to tip, not the slanted side length.
- US vs. UK gallons. A UK gallon (4.546 L) is 20% bigger than a US gallon (3.785 L). This calculator uses US gallons.
Pro tips & mental math
Practical habits for real-world measuring:
- Measure inside dimensions for capacity. A box's outer size includes the walls — for "how much fits", measure the interior.
- Displacement beats formulas for odd shapes. Submerge the object; each milliliter the water rises equals one cubic centimeter.
- π ≈ 3.1416 is plenty. More digits rarely change a real-world answer — your tape measure is the limiting factor, not π.
- Convert first, calculate once. Get every dimension into one unit before applying the formula, and rounding errors stay tiny.
Printable cheat sheet
Print the five volume formulas with worked examples — a clean, ink-friendly sheet with the widget and navigation hidden automatically:
Fun facts
- The liter was born from water: in 1795 it was defined as the volume of one kilogram of water — tying mass, length and volume together.
- All of Earth's water would form a sphere only about 1,385 km wide — surprisingly small against the planet's 12,742 km diameter.
- A teaspoon is ~5 ml and a US tablespoon ~15 ml — but an Australian tablespoon is 20 ml, a classic recipe trap.
- The "Eureka" crown story comes from Vitruvius, writing ~200 years after Archimedes — the physics checks out even if the bathtub sprint is legend.
The complete guide
The guide covers boxes, cylinders, spheres and cones — every formula, liters vs gallons, and water displacement for odd shapes.
Frequently asked questions
What is the difference between a cube and a box?
A cube has all sides equal, so its volume is simply s³. A box (rectangular prism) can have three different edge lengths, so its volume is l × w × h. A cube is just a box with l = w = h.
How many liters are in a cubic meter?
1,000. One liter is defined as exactly one cubic decimeter (1,000 cm³), and a cubic meter holds 1,000 cubic decimeters — so 1 m³ = 1,000 L.
Why does the cylinder formula use pi?
A cylinder is a circle extruded upward: its base area is πr², and stacking that area h units high gives πr²h. Any prism's volume is base area × height — the circle is what brings π along.
How do I find the volume of an irregular object?
Use water displacement: submerge it in a graduated container and measure how much the water level rises. Every milliliter of rise equals one cubic centimeter of volume — Archimedes' method, still unbeaten after 2,200 years.
Are US and UK gallons the same?
No. A US gallon is 3.785 L (231 cubic inches); a UK imperial gallon is 4.546 L. This calculator uses US gallons, the standard for American recipes, fuel and aquariums.
What units do I enter the dimensions in?
The linear version of your selected unit — centimeters for cm³, inches for in³, feet for ft³. The calculator converts to cubic centimeters internally, then shows the result in your chosen unit.
Related tools
More calculators and converters you may find useful:
