About the Volume Calculator tool
Volume tells you how much space a solid takes up or how much a container holds — the concrete for a cylindrical post, the water in a fish tank, the soil for a raised bed. Each shape has its own formula, and mixing units (a tank measured in inches but sold in gallons, say) is a common source of expensive mistakes. This calculator handles the shapes people actually need and converts the answer for you.
Choose a cube, rectangular box, cylinder, cone, sphere, hemisphere, rectangular pyramid, triangular prism, any prism given its base area, or a cone frustum (a truncated cone, like a bucket or lampshade). Enter the dimensions in millimetres, centimetres, metres, kilometres, inches, feet, yards or miles, and the volume appears in cubic units of your choice along with cubic metres, cubic centimetres, litres, millilitres, cubic feet, cubic inches, cubic yards, US gallons and imperial gallons.
The formula is displayed above the inputs and substituted with your numbers in the steps panel, including the answer as a multiple of π where that is exact. Surface area is shown too for shapes where it is fully determined by the inputs, which is handy for estimating paint, insulation or material.
How to use Volume Calculator
- Select a “Shape” and the “Length unit” your measurements are in.
- Fill in each dimension shown for that shape, such as radius and height for a cylinder.
- Read the volume in cubic units, plus litres, gallons and other units in the result rows.
- Check the surface area row if you need material estimates.
- Click “Show steps” to see the formula with your values and the unit conversion.
Features
10 common solids
Cube, box, cylinder, cone, sphere, hemisphere, pyramid, triangular prism, general prism and frustum.
Metric and imperial units
Measure in mm, cm, m, km, in, ft, yd or mi.
Capacity conversions
Results in m³, cm³, litres, mL, ft³, in³, yd³, US gallons and UK gallons.
Surface area
Total surface area for shapes where the inputs determine it.
Formula substitution
The steps show exactly how the volume was calculated.
When to use it
- Estimate how many litres or gallons a cylindrical water tank holds.
- Order the right amount of concrete for post holes or a slab.
- Work out soil or mulch volume for a raised garden bed in cubic yards.
- Compare the capacity of containers with different shapes.
- Check geometry homework on volumes of cones and spheres.
Frequently asked questions
What is the formula for the volume of a cylinder?
V = πr²h, the area of the circular base times the height. A cylinder with radius 5 cm and height 10 cm holds 250π ≈ 785.4 cm³, about 0.785 litres.
How are cone and cylinder volumes related?
A cone holds exactly one third of a cylinder with the same base and height: V = ⅓πr²h. A pyramid is likewise one third of the matching prism.
How many litres are in a cubic metre?
1,000 litres. One litre equals 1,000 cm³, and one millilitre equals 1 cm³.
How do I convert cubic feet to gallons?
One cubic foot is about 7.48 US gallons or 6.23 imperial gallons. The calculator shows both automatically.
What is the volume of a sphere?
V = ⁴⁄₃πr³. A ball with a radius of 1 m has a volume of about 4.19 m³.