Volume Calculator
Calculate volume of common 3D shapes (cube, sphere, cylinder).
What this calculator does
This tool works out the volume of a cube, a sphere or a cylinder. Pick the shape, enter its size, and see how much space it holds.
People use it to estimate concrete for round deck footings, water in an above-ground pool or rain barrel, soil for a cube planter, and the space inside a round tank. Students use it to check homework.
A worked example
Fatima is filling a round above-ground pool in her backyard in Brandon. The pool is 2.4 metres from the centre to the wall, and she plans to fill it 1.2 metres deep.
She picks Cylinder, since a pool is a short, wide cylinder. The water will take up 21.71 cubic units. Because she measured in metres, that means cubic metres. Each cubic metre holds 1,000 litres, so she multiplies by 1,000. She needs the number of litres to work out how much of each pool chemical to add, following the label.
How we work it out
Choose a shape, then enter the first measurement. For a cube it is the length of one side. For a sphere or a cylinder it is the radius, half the width across. The height box is used only for a cylinder. Every measurement the shape uses must be greater than zero.
- Cube: side times side times side.
- Sphere: four thirds times pi times the radius cubed.
- Cylinder: pi times the radius squared times the height.
The answer is rounded to two decimal places, in cubic units of whatever you entered.
Choose the right shape and measurement
A cube has every edge the same length. A box with a different length, width and height is not a cube. For that, multiply the three measurements yourself, or find the floor area with the rectangle calculator and multiply by the height.
The sphere and cylinder ask for the radius, not the width. Most people measure across a pipe, tube or pool, so halve that number first. Entering the full width makes a cylinder four times too big and a sphere eight times too big.
For a cylinder, the height is the length along its centre line. A sonotube for a deck footing stands upright, so its height is the depth of the hole. A pipe lying down uses its length as the height.
Keep one unit
Every measurement must be in the same unit. A radius in centimetres and a height in metres give a meaningless answer. Metres are often the easiest choice, because a cubic metre is exactly 1,000 litres.
Ready-mix concrete is ordered by volume. Bulk soil and gravel may be sold by volume or by weight. Check how your supplier sells it, and in which unit, before you order.
Plan for the real world
The result is the full shape, filled to the top. Tanks, barrels and pools are rarely filled to the brim, so enter the depth you will actually fill to. Use inside measurements for containers, since the walls take up space. For concrete, order a little more than the result to cover spills and holes that are not perfectly round. A cone, a pyramid or a tank lying on its side needs a different formula.
What this does not include
- Cones and pyramids
- Wall thickness of a container
- Boxes whose sides are not all equal
- Tanks that are partly full or lying on their side
- Converting cubic units into litres or cubic yards
Common questions
How do I turn this into litres?
If you measured in centimetres, divide the answer by 1,000. If you measured in metres, multiply by 1,000. If you measured in feet, multiply by about 28.3. A litre is exactly one thousandth of a cubic metre, which is why the metric conversions are so simple.
How much concrete do I need for a sonotube footing?
Choose Cylinder. Enter half the tube's width as the radius and the depth of the hole as the height, both in metres. The result is cubic metres of concrete for one footing. Multiply by the number of footings, then add a little extra for spills and uneven holes.
Why does the height box do nothing for a cube or sphere?
A cube and a sphere are each fixed by a single measurement. Once you know a cube's side or a sphere's radius, every other size follows. Only a cylinder needs two numbers, its radius and its height. The calculator ignores the height box unless you choose Cylinder.
Can I use this for a rectangular box or raised bed?
Only if all its sides are the same, which makes it a cube. For a box, a raised bed or a room, multiply length times width times height. That gives the volume in cubic units, just like this tool. For a raised bed, use the inside measurements and the depth of soil you plan to add.
How do I find the volume of a half sphere?
Work out the full sphere, then halve it. Choose Sphere, enter the radius of the round, flat face, and divide the result by 2. That works for a half-round planter or bowl. A dome that is flatter than a half sphere needs a different formula.
Sources
- NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically, National Institute of Standards and Technology
Last reviewed October 18, 2026. How we check our numbers.
This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.