Volume Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free volume calculator for cubes, boxes, cylinders, spheres, hemispheres, cones and pyramids, with surface area and the volume in litres and gallons.
- Surface area
- 0
- Litres
- 0
- US gallons
- 0
- Formula
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the volume calculator
- Choose a shape: box, cube, cylinder, sphere, hemisphere, cone or rectangular pyramid.
- Enter the measurements. The labels change with the shape, so a cylinder asks for its radius and height.
- Choose the unit you measured in: millimetres, centimetres, metres, inches or feet.
- Read the volume in cubic units, plus the surface area, the volume in litres and in US gallons, and the formula used.
The volume calculator works out everything instantly in your browser, with nothing sent anywhere.
Volume formulas
| Shape | Volume | Surface area |
|---|---|---|
| Cube (side s) | s³ | 6s² |
| Box (length l, width w, height h) | l × w × h | 2(lw + wh + lh) |
| Cylinder (radius r, height h) | πr²h | 2πr(r + h) |
| Sphere (radius r) | ⁴⁄₃πr³ | 4πr² |
| Hemisphere (radius r) | ⅔πr³ | 3πr² (including the flat face) |
| Cone (radius r, height h) | ⅓πr²h | πr(r + √(r² + h²)) |
| Rectangular pyramid (l, w, h) | ⅓ × l × w × h | Base plus four triangular faces |
The surface areas include every face, such as the top and bottom of a cylinder and the base of a cone.
Boxes and cubes
A box's volume is length × width × height. A 50 × 30 × 40 cm box holds 60,000 cm³, which is 60 litres. Its surface area, useful for wrapping or painting, is 9,400 cm².
A cube is a box with equal sides: a 10 cm cube holds 1,000 cm³, exactly 1 litre. That's the definition of a litre, and it's a handy check on any calculation.
Boxes are the most common shape in daily life: rooms, fish tanks, raised beds, shipping cartons, skips and trenches. For courier pricing by size, see the dimensional weight calculator.
Cylinders
A cylinder's volume is the area of its circular end (πr²) times its height. Use the radius, which is half the diameter. A tank 20 cm across (radius 10 cm) and 30 cm tall holds π × 10² × 30 = 9,424.78 cm³, or 9.42 litres.
Cylinders cover pipes, tanks, cans, columns, round planters and concrete post holes. For a pipe, the internal volume tells you how much water it holds per metre.
Spheres and hemispheres
A sphere's volume is four-thirds π times the radius cubed. A ball with a 5 cm radius holds 523.6 cm³. Because the radius is cubed, doubling the size makes the volume eight times bigger, which surprises people buying balloons, bowls or tanks.
A hemisphere is half a sphere: ⅔πr³. Domes, bowls and some planters are hemispheres.
Cones and pyramids
Cones and pyramids hold exactly one third of the cylinder or box with the same base and height. A cone with a 3 cm radius and 4 cm height holds ⅓ × π × 9 × 4 = 37.70 cm³, a third of the matching cylinder's 113.1 cm³. A pyramid with a 6 × 6 base and a height of 4 holds ⅓ × 36 × 4 = 48, and its surface area is 96.
Cones appear in funnels, piles of sand or gravel, and ice cream cones; pyramids in roofs and some packaging.
Converting volume units
Volume units are cubed, so conversions are cubed too:
- 1 m³ = 1,000,000 cm³ = 1,000 litres.
- 1 litre = 1,000 cm³ = 1,000 ml.
- 1 ft³ = 1,728 in³ = 28.3168 litres.
- 1 US gallon = 3.785411784 litres = 231 in³.
- 1 UK (imperial) gallon = 4.54609 litres.
The volume calculator converts your answer to litres and US gallons automatically. For any other unit, such as cups, fluid ounces or cubic yards, use the volume converter.
Practical uses
- Concrete: a slab 3 m × 2 m × 0.1 m needs 0.6 m³. Order about 5–10% more for spillage and uneven ground.
- Soil, compost and mulch: fill a raised bed 2 m × 1 m × 0.3 m with 0.6 m³, which is 600 litres or about 12 × 50-litre bags.
- Water tanks and aquariums: the volume in litres tells you how much water, and roughly how much weight (1 litre of water weighs about 1 kg).
- Pools and ponds: for chemicals and heaters, which are dosed by volume.
- Shipping and storage: box volumes for packing and container planning.
- Cooking and baking: a cake tin's volume tells you whether a recipe will fit.
- Schoolwork: checking volume and surface area answers.
If water is flowing in or out, the flow rate converter helps you work out filling and emptying times: volume ÷ flow rate.
Measuring tips
- Use internal dimensions for containers (inside the walls), and external ones for packaging and shipping.
- Measure the radius, not the diameter, or halve the diameter.
- Keep all measurements in one unit. Convert first if one is in inches and another in feet.
- Real containers aren't perfect. Tanks have curved corners and sloping bottoms, so the true capacity is often a little less. Manufacturers' figures are usually the safest guide.
Weight from volume
Once you know the volume, you can estimate weight by multiplying by density:
- Water: about 1 kg per litre, so a 270-litre bed of soil holds a lot less water than its volume suggests, and a 1,000-litre tank of water weighs about a tonne.
- Concrete: about 2,400 kg per m³.
- Dry topsoil: very roughly 1,200–1,600 kg per m³, more when wet.
- Gravel: roughly 1,500–1,700 kg per m³.
That matters for shelves, balconies, floors and vehicles: a full aquarium or hot tub can weigh far more than people expect. Check with a structural engineer before putting large volumes of water or soil on upper floors.
Volume in spreadsheets and code
In Excel or Google Sheets, a box is =A1B1C1, a cylinder is =PI()A1^2B1, and a sphere is =4/3*PI()*A1^3. Divide cubic centimetres by 1000 for litres. The volume calculator does the same sums and the unit conversions at once, which avoids the most common mistake: mixing centimetres and metres in one formula.
Partly filled containers
A tank that's only partly full holds a volume in proportion to its depth, for boxes and upright cylinders: a 1.2 m deep tank filled to 0.9 m is 75% full. For horizontal cylinders and spheres the relationship isn't straight-line, because the shape is wider in the middle, so a horizontal tank half full by depth is half full by volume, but a quarter full by depth holds much less than a quarter of its volume.
Common volume questions
How much water does my pool hold? For a rectangular pool with a constant depth, use the box shape. For a sloping floor, use the average depth: a pool 1 m deep at one end and 2 m at the other has an average depth of 1.5 m. Multiply the result in cubic metres by 1,000 for litres.
How much concrete for a round post hole? Use the cylinder shape with the hole's radius and depth, then subtract the volume of the post if it's set in the concrete.
How many litres is my fridge or suitcase? Measure the internal length, width and height and use the box shape. Manufacturers usually quote capacity in litres, so the volume calculator's litres figure lets you compare.
A worked example
A landscaper is building a raised vegetable bed 120 cm long, 45 cm wide and 50 cm deep, and needs to know how much soil to order.
In the volume calculator she chooses "Box" and enters 120, 45 and 50 in centimetres. The volume is 270,000 cm³, which is 270 litres (71.33 US gallons). Soil sold in 50-litre bags means she needs 5.4 bags, so she orders 6, allowing for settling.
Next, a round water butt 20 cm in radius and 30 cm tall: choosing "Cylinder", the calculator shows 9,424.78 cm³, about 9.42 litres. She realises it's far too small for the garden and looks at a larger model instead.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Frequently asked questions
How do you calculate volume?
Use the formula for the shape: length × width × height for a box, πr²h for a cylinder, ⁴⁄₃πr³ for a sphere. The volume calculator applies the right formula for the shape you choose.
How many litres are in a cubic metre?
1,000 litres. A cubic metre is a box 1 m on each side.
How do I convert cubic centimetres to litres?
Divide by 1,000. 60,000 cm³ is 60 litres.
How do I calculate the volume of a cylinder?
Multiply π by the radius squared and by the height. A cylinder with a 10 cm radius and 30 cm height holds 9,424.78 cm³, about 9.42 litres.
What is the volume of a cone?
One third of π × radius² × height, a third of the cylinder with the same base and height.
Is the volume calculator free?
Yes. The volume calculator is free, with no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.