Volume Calculator
Find the volume of any 3D shape — cube, sphere, cylinder, cone or box — in seconds. Free volume calculator with the step-by-step formula shown and no signup needed.
About this tool
This free volume calculator finds how much space a 3D shape takes up — or how much it can hold — for cubes, spheres, cylinders, cones, and boxes. Enter the measurements, and it shows the volume instantly with the formula, so you can work out concrete, water, soil, or storage without manual math.
Pick your shape, enter its dimensions, and this volume calculator gives you the answer instantly, with the formula shown so you can check the work.
By Azhar Hussain · Last updated: 7 November 2026
How to use
Choose your shape — cube, sphere, cylinder, cone, box, and five more including hemisphere, square pyramid, capsule, triangular prism and frustum. Pick your unit (metres, centimetres, feet and more) and fill in only the dimensions that apply: a sphere needs just the radius, a box needs length, width and height.
Press Calculate Volume and the answer appears with the total surface area, plus the volume converted into cubic metres, litres, US gallons, cubic feet and cubic yards.
The math behind it
Cube: side³. Sphere: (4/3) × π × r³. Cylinder: π × r² × h. Cone: (π × r² × h) / 3. Box: length × width × height. The calculator also gives the total surface area for every shape — for example, a cylinder's surface area is 2πrh + 2πr², and a hemisphere's is 3πr² (curved surface plus the flat base).
Keep all dimensions in the same units — mixing centimeters and meters is the most common mistake. All conversions use exact factors: 1 m³ = 1,000 L, 1 US gallon = 3.785411784 L, 1 imperial gallon = 4.54609 L and 1 ft³ = 0.028316846592 m³ (NIST SP 811 and NIST Handbook 44).
Volume and surface area formulas for every shape
| Shape | Volume formula | Surface area formula | Inputs needed |
|---|---|---|---|
| Cube | V = s³ | SA = 6s² | side |
| Sphere | V = (4/3)πr³ | SA = 4πr² | radius |
| Cylinder | V = πr²h | SA = 2πrh + 2πr² | radius, height |
| Cone | V = (πr²h) / 3 | SA = πr² + πr√(r² + h²) | radius, height |
| Box | V = l × w × h | SA = 2(lw + lh + wh) | length, width, height |
| Hemisphere | V = (2/3)πr³ | SA = 3πr² | radius |
| Square pyramid | V = (b²h) / 3 | SA = b² + 2b√((b/2)² + h²) | base side, height |
| Capsule | V = πr²L + (4/3)πr³ | SA = 2πrL + 4πr² | radius, cylinder length |
| Triangular prism | V = A × L (A from Heron) | SA = 2A + (a + b + c)L | three sides, length |
| Frustum | V = (πh/3)(R² + Rr + r²) | SA = π(R² + r²) + π(R + r)√((R − r)² + h²) | bottom radius, top radius, height |
Worked examples
| Example | Measurements | Result |
|---|---|---|
| Storage tank (cylinder) | Radius 1.5 m, height 4 m | Volume = π × 1.5² × 4 ≈ 28.27 m³ = 28,274 L; at 95% full ≈ 26,861 L; surface area ≈ 51.84 m² |
| Concrete pour (box) | 5 m × 3 m × 0.15 m | Volume = 2.25 m³; order 5% extra ≈ 2.36 m³; ≈ 79.46 ft³ ≈ 2.94 yd³ |
| Aquarium (box) | 120 cm × 50 cm × 60 cm | Volume = 360,000 cm³ = 0.36 m³ = 360 L ≈ 95.10 US gal |
| Capsule tank | Radius 1 m, cylinder length 4 m | Volume ≈ 16.76 m³ = 16,755 L; surface area ≈ 37.70 m² |
| Frustum bucket | Bottom radius 3, top radius 2, height 4 | Volume ≈ 79.59 cubic units; surface area ≈ 105.61 square units |
Volume unit conversions
| 1 unit | In litres | In US gallons | In imperial gallons | In ft³ | In yd³ | In m³ |
|---|---|---|---|---|---|---|
| 1 m³ | 1,000 | 264.172052 | 219.969248 | 35.314667 | 1.307951 | 1 |
| 1 ft³ | 28.316847 | 7.480519 | 6.228835 | 1 | 0.037037 | 0.028317 |
| 1 yd³ | 764.554858 | 201.974026 | 168.178557 | 27 | 1 | 0.764555 |
| 1 litre | 1 | 0.264172 | 0.219969 | 0.035315 | 0.001308 | 0.001 |
| 1 US gallon | 3.785412 | 1 | 0.832674 | 0.133681 | 0.004951 | 0.003785 |
| 1 imperial gallon | 4.54609 | 1.200950 | 1 | 0.160544 | 0.005946 | 0.004546 |
How to calculate volume, step by step
- Pick your shape from the list — a tank is a cylinder, a room is a box, a ball is a sphere.
- Measure every dimension in the same unit: metres, centimetres or feet — pick one and stick to it.
- Use the formula from the table above, or let the calculator do it: enter the numbers and press Calculate Volume.
- Convert the answer into the unit you need: 1 m³ = 1,000 litres, and 1 ft³ = 7.48052 US gallons.
- Sanity-check the result: if you measured a diameter, halve it to get the radius first — using the diameter as the radius makes a sphere’s volume 8 times too big.
Sources and method
All formulas are standard geometry. Conversions use exact factors: 1 ft = 0.3048 m, 1 in = 0.0254 m, 1 m³ = 1,000 L, 1 US gallon = 3.785411784 L, 1 imperial gallon = 4.54609 L and 1 ft³ = 0.028316846592 m³ (NIST SP 811 and NIST Handbook 44, Appendix C). The calculator rounds displayed answers to 2 decimal places; full precision is used internally. Hemisphere surface area includes the flat circular base, and capsule surface area includes both hemispherical ends.
Frequently asked questions
What units does the answer come in?
What is the difference between volume and surface area?
How do I find the volume of an irregular shape?
How do I calculate the volume of a cylinder?
What is the formula for the volume of a sphere?
How many gallons are in a cubic foot?
Is a cubic centimetre the same as a millilitre?
What happens if I use the diameter instead of the radius?
How do I find the volume of a combined or irregular shape?
How do I work out the volume of a partly-filled tank?
Related tools
Area Calculator
Math Calculator
Unit Converter
BMI Calculator
Age Calculator
Percentage Calculator
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.