Volume Calculator
Last updated
Show steps
Pick a shape, enter its measurements in any unit, and this volume calculator gives the volume with the formula and working – plus the same answer in cubic feet, cubic metres, litres and US gallons.
Use the calculator above for your own numbers. Below, we explain how the Volume Calculator works, with worked examples and sources.
Volume formulas for each shape
| Shape | Formula | Example | Volume |
|---|---|---|---|
| Cube | s³ | side 4 cm | 64 cm³ |
| Box (rectangular prism) | l × w × h | 5 × 3 × 2 ft | 30 ft³ |
| Cylinder | π r² h | r 3 in, h 10 in | 282.7 in³ |
| Sphere | (4/3) π r³ | r 5 cm | 523.6 cm³ |
| Cone | (1/3) π r² h | r 4 cm, h 9 cm | 150.8 cm³ |
| Square pyramid | (1/3) b² h | base 6 m, h 8 m | 96 m³ |

How to calculate volume step by step
- Choose the shape that best matches the object.
- Measure every dimension in the same unit. Convert inches to feet (÷ 12) or cm to m (÷ 100) first.
- Use the radius, not the diameter, for round shapes. Radius = diameter ÷ 2.
- Put the numbers into the formula and multiply.
- Convert the cubic answer to litres or gallons if you need a capacity.
Example: a cylinder 3 in across the radius and 10 in tall. V = π × 3² × 10 = π × 90 ≈ 282.74 in³. One US gallon is 231 in³, so the can holds 282.74 ÷ 231 ≈ 1.22 gallons.
Converting volume units
| From | To | Multiply by |
|---|---|---|
| ft³ | US gallons | 7.48052 |
| ft³ | litres | 28.3168 |
| m³ | litres | 1,000 |
| yd³ | ft³ | 27 |
| in³ | US gallons | ÷ 231 |
| litres | US gallons | 0.264172 |
Cubic units scale with the cube of the length conversion. There are 12 inches in a foot, so there are 12³ = 1,728 cubic inches in a cubic foot – not 12.
Real-world examples
- Water tank: a round tank 3 ft across (r = 1.5 ft) and 4 ft tall holds π × 1.5² × 4 ≈ 28.27 ft³, or about 212 US gallons.
- Garden bed: 8 ft × 4 ft × 1 ft of soil = 32 ft³, which is 32 ÷ 27 ≈ 1.19 cubic yards.
- Ball: a ball with a 5 cm radius has a volume of about 524 cm³, or 0.52 litres.
- Concrete: use the Concrete Calculator for slabs, footings and bags – it adds waste and bag counts.
Common mistakes
- Using the diameter where the formula needs the radius – this makes a cylinder 4 times too big and a sphere 8 times too big.
- Mixing units, such as feet for length and inches for depth.
- Converting cubic units with the linear factor (1 ft³ is 1,728 in³, not 12 in³).
- Forgetting the 1/3 in cone and pyramid formulas.
Volume vs capacity vs surface area
Volume is the space a solid takes up, measured in cubic units. Capacity is how much a container holds, usually given in litres or gallons – it is the same number expressed differently. Surface area is the total area of the outside faces, in square units, and is what you need for paint or wrapping.
Sources
- Khan Academy – Geometry — khanacademy.org/math/geometry
- OpenStax – Algebra and Trigonometry 2e (Rice University) — openstax.org/details/books/algebra-and-trigonometry-2e
- NIST – Guide for the Use of the International System of Units (SP 811) — nist.gov/pml/special-publication-811
Questions or feedback about this calculator? Contact us – we read every message. Results are estimates for information only. Last reviewed: .

Written & built by
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators, turning published formulas and official sources into tools anyone can check.
FAQ
Frequently asked questions
Quick answers about the Volume Calculator.
Multiply π by the radius squared and by the height: V = π r² h.
One cubic foot is about 7.48 US gallons, or 28.3 litres.
V = (4/3) π r³, where r is the radius.
A cone with the same base and height as a cylinder holds exactly one third of its volume, which is why the formula has 1/3.
Yes. The calculator converts every input to one unit before multiplying.
Still have a question? Email support@tuffsearch.com
Keep exploring
Related calculators
More calculators people use alongside this one.
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators. Each tool is based on published formulas and official sources, and is checked against worked test cases before it goes live.
- Volume CalculatorMath CalculatorsYou are here
- Dog Age CalculatorBiology
- Fuel Cost CalculatorDaily Life