Volume Calculator
Enter length, width and height — in any units — and get the volume instantly, with the exact formula and working shown. Need a cylinder, sphere or cone? Every shape has its own dedicated calculator below.
- ✓ Mix inches, feet, cm & meters
- ✓ Formula shown with your numbers
- ✓ Results in ft³, m³, litres & gallons
— cm³
Enter the dimensions above — the volume updates instantly.
Quick answer: volume is the amount of three-dimensional
space an object occupies, measured in cubic units (cm³, ft³, m³) or
liquid units (litres, gallons). For a box it is simply
length × width × height; curved and pointed shapes use
their own formulas — each has a dedicated calculator, and all of them
are listed in the table below.
Every volume calculator, organized by what you're doing
The universal tool above covers pure geometry. When your problem has real-world context — gallons in a pool, yards of soil, litres of resin — a purpose-built calculator gives you the right units and guidance for that exact job.
- Shape Volume Calculators Cylinder, sphere, cone, pyramid, prism and a dozen more — with formulas, labelled diagrams and worked examples for each. 17 calculators
- Tank & Liquid Calculators Tanks, pipes, wells, pools, ponds and aquariums — including true partial-fill maths for horizontal tanks. 19 calculators
- Construction Calculators Concrete, soil, gravel, sand and asphalt turned into cubic yards, tons, bag counts and truckloads. 13 calculators
- Medical & Scientific Calculators Organ volumes from imaging, physiological volumes and laboratory formulas — every source cited. Educational use
- Specialty & Everyday Calculators Freight CBM, volumetric weight, surfboards, subwoofer boxes, room air and heating loads. 14 calculators
- Guides & Formulas How volume works, which formula fits which shape, and how to keep units honest — with worked examples. 20+ guides
Four steps to an answer you can verify
- Measure your object
Length, width and height for the tool above — or jump to the dedicated calculator if your object is round, tapered or hollow.
- Enter each dimension
Every field has its own unit selector. A box measured 18 inches by 2 feet by 30 cm is a perfectly valid input.
- Read the result instantly
It updates as you type. Switch the output to cubic feet, cubic metres, litres or gallons without re-entering anything.
- Check the working
The formula bar shows your numbers substituted into the equation — verify it with a pencil, or copy it into homework or a quote.
One habit worth keeping: if your shape has a diameter written on it (pipes and tanks usually do), halve it before entering a radius. Entering a diameter where a radius belongs inflates the result by 4× — the single most common volume-calculation mistake there is.
Built to be checked, not just believed
- Formula-transparent
Every result comes with the equation and your numbers substituted into it. Nothing here is a black box.
- Tested against worked examples
Every calculator must reproduce hand-verified answers before it ships — a cylinder with r = 3 and h = 5 returns 141.372, every time.
- Unit-mixing built in
Real measurements come in mixed units. Enter each dimension in whatever unit it was measured — conversion is automatic.
- Private by design
All math runs in your browser. The numbers you enter never leave your device — see our privacy policy.
- Fast on any device
Lightweight static pages — they load fast even on a weak phone signal at a job site.
- Cited where it counts
Engineering and medical calculators name their published formulas and link the sources — read our accuracy policy.
Volume formulas for every common shape
The calculator above handles anything box-shaped. For every other shape, use its formula below — each links to a dedicated calculator with a labelled diagram, worked examples and its own reference tables.
| Shape | Formula | Dimensions needed |
|---|---|---|
| Cube | V = a³ | Edge length |
| Box (rectangular prism) | V = l × w × h | Length, width, height |
| Cylinder | V = π r² h | Radius, height |
| Sphere | V = (4/3) π r³ | Radius |
| Hemisphere | V = (2/3) π r³ | Radius |
| Cone | V = (1/3) π r² h | Base radius, height |
| Frustum (truncated cone) | V = (1/3) π h (r₁² + r₁r₂ + r₂²) | Both radii, height |
| Square pyramid | V = (1/3) a² h | Base edge, height |
| Rectangular pyramid | V = (1/3) l w h | Base length, width, height |
| Triangular prism | V = ½ b h l | Triangle base & height, prism length |
| Capsule | V = π r² a + (4/3) π r³ | Radius, cylinder length |
| Ellipsoid | V = (4/3) π a b c | Three semi-axes |
| Tube (hollow cylinder) | V = π (R² − r²) h | Outer & inner radius, length |
All dedicated shape pages — each with its own worked examples, reference tables and FAQs — are indexed on the shape volume calculators hub.
Worked examples with real numbers
A cylindrical water tank
A vertical tank is 4 ft across (so r = 2 ft) and 5 ft tall. Volume = π × 2² × 5 = 62.83 ft³. At 7.4805 gallons per cubic foot, that tank holds about 470 US gallons. For fill levels and horizontal tanks, the dedicated tank volume calculator handles partially filled cylinders too.
A concrete patio slab
A 10 ft × 12 ft slab poured 4 inches thick is a box: 10 × 12 × 0.333 = 40 ft³, which is 40 ÷ 27 ≈ 1.48 cubic yards of concrete. Ordering-ready numbers, bag counts and waste margins live in the concrete volume calculator.
A homework sphere
A sphere with radius 3 cm: V = (4/3) × π × 3³ = (4/3) × π × 27 = 113.1 cm³. Notice the radius is cubed — doubling a sphere's radius makes its volume eight times larger, which is why a slightly bigger balloon holds so much more air.
Cubic units and liquid units, briefly
Volume answers come in two families. Cubic units (in³, ft³, yd³, cm³, m³) describe space directly and are what geometry formulas produce. Liquid units (mL, L, gallons) describe the same space in container terms. The bridges between them are worth memorising:
| This much… | …equals this |
|---|---|
| 1 cubic foot | 7.4805 US gal · 28.317 L · 1,728 in³ |
| 1 cubic meter | 1,000 L · 264.17 US gal · 35.315 ft³ |
| 1 cubic yard | 27 ft³ · 201.97 US gal · 764.55 L |
| 1 US gallon | 231 in³ · 3.7854 L · 0.1337 ft³ |
| 1 liter | 1,000 cm³ · 0.2642 US gal · 61.024 in³ |
Note that a UK (imperial) gallon is 4.546 litres — about 20% larger than a US gallon. The result menu above offers both, and the volume conversion calculator converts between all seventeen units directly. For an answer straight in cubic metres, the cubic meter calculator takes dimensions in any unit.
Frequently asked questions
How do you calculate volume?
Volume measures the three-dimensional space an object occupies. For box-like shapes, multiply length × width × height. Rounded and pointed shapes each have their own formula: a cylinder is π r² h, a sphere is (4/3) π r³, and a cone is one-third of the matching cylinder at (1/3) π r² h. Keep every measurement in the same unit and the answer arrives in that unit cubed. The step-by-step guide works through every common shape.
What is the formula for volume?
There is no single formula — it depends on the shape. The most-used ones are: cube V = a³, box V = l × w × h, cylinder V = π r² h, sphere V = (4/3) π r³, cone V = (1/3) π r² h, and pyramid V = (1/3) × base area × height. Any prism is simply its cross-section area multiplied by its length.
How do I convert a volume result to gallons or litres?
Work out the volume in cubic units first, then convert: 1 cubic foot = 7.4805 US gallons = 28.317 litres, and 1 cubic metre = 264.17 US gallons = 1,000 litres. Or skip the arithmetic: pick gallons or litres in the result menu above, and the unit conversion calculator handles all seventeen volume units directly.
Can I mix units, like feet and inches, in one calculation?
Yes. Every dimension field has its own unit selector, so a box measured 18 inches by 2 feet by 30 centimetres is a perfectly valid input. Everything is converted internally before the formula is applied — which removes the single most common source of volume errors, mismatched units.
What is the difference between volume and capacity?
Volume is the space an object takes up; capacity is how much a container can hold. A tank with thick walls has an outer volume larger than its inner capacity. For solid objects the numbers coincide, but for containers, measure the inside dimensions when you care about what fits. More on this in the volume vs capacity guide.
How do I find the volume of an irregular object?
Use water displacement: submerge the object in a graduated container and read how far the water rises — that rise equals the object's volume. For irregular spaces such as a sloped yard or a kidney-shaped pool, split the space into simple shapes, calculate each, and add the results. The full method is in the irregular objects guide.
How do I find the volume of a liquid?
Measure the container that holds it. For a rectangular container, multiply inside length × width × liquid depth; for a round one, use π r² × depth. Convert at 1 cubic foot = 7.48 US gallons or 1 cubic metre = 1,000 litres. Small amounts can go straight into a measuring jug. For water specifically, the water volume calculator also reports the weight.
How do you calculate cubic volume?
Multiply three measurements taken at right angles: length × width × height, all in one unit. A box 2 ft × 3 ft × 4 ft holds 24 cubic feet. Mixed units must be converted first — this calculator does that conversion for you, field by field.
How do I estimate my own body volume?
Divide body weight by average human density, which sits close to water at roughly 1.0–1.06 kg per litre depending on body composition. Dividing by 1.03 gives a fair estimate: a 70 kg adult occupies about 68 litres. For a direct measurement, use the water-displacement method described above.