Soil Calculator

Soil volume (cubic metres)—
Soil volume (litres)—
Soil volume (cubic feet)—
Bags needed (40 L each)—

How Soil Calculator is calculated: Volume = length × width × depth; bags = volume in litres ÷ 40 litres per standard bag, rounded up; 1 cubic metre = 1,000 litres.

What is a soil calculator?

A soil calculator works out how much soil you need to fill a bed, planter or raised bed. You enter the length, width and depth, and it gives you the volume in cubic metres, litres and cubic feet, plus the number of standard 40-litre bags to buy, rounded up.

It is needed because soil is sold by the bag or by the cubic metre, while planters are measured in centimetres and metres. A planter 1.5 m long, 0.6 m wide and 0.4 m deep needs 0.36 cubic metres — 360 litres — which is 9 bags at 40 litres each. Guessing that number is how planters end up half-filled or overflowing.

The calculator covers topsoil for beds and potting soil for planters with the same maths — the volume is the same either way, and only the product and the price change. What changes with the use is the depth: a raised vegetable bed usually needs 30 to 40 cm of soil, a flower planter 20 to 30 cm, and a lawn top-dressing only a centimetre or two.

The calculator is an estimator, not a site measurement. It assumes a rectangular container of even depth, the standard 40-litre bag, and no settling. Real soil settles by a tenth or more in the first weeks, planters are rarely perfect rectangles, and bag sizes vary by brand. Measure each container separately and check the bag size on the label you actually buy.

How a soil calculator works

The first step is the volume: length times width times depth, all in metres. A planter 1.5 m long, 0.6 m wide and 0.4 m deep is 1.5 × 0.6 × 0.4 = 0.36 cubic metres. That is the soil the planter holds when it is full to the brim.

The second step converts the volume into the units suppliers use. One cubic metre is 1,000 litres, so 0.36 cubic metres is 360 litres. It is also 35.31 cubic feet per cubic metre, so 0.36 cubic metres is 12.71 cubic feet. The calculator shows all three, so the number matches the quote however the supplier sells it.

The third step turns the volume into bags. The standard soil bag is 40 litres, so 360 litres ÷ 40 = 9 bags exactly. When the division is not exact, the calculator rounds up to whole bags, because a bag is sold whole and a part-bag left over is better than a planter finished one bag short.

One practical note: fill to about 2 to 3 cm below the rim, not to the brim, so water stays in the planter instead of running off. That means the soil you actually need is slightly less than the full volume — but soil settles, so the two effects roughly cancel, and ordering the full volume is the safer choice.

Soil depth: how deep does each planting need?

Depth is the input people get wrong most often, because it is the one they guess instead of measuring. A raised vegetable bed needs 30 to 40 cm of soil for roots to grow properly — shallower than that and carrots fork, tomatoes stay small, and the bed dries out in a day.

A flower planter or a herb box needs less: 20 to 30 cm is enough for most annuals and herbs, whose roots are shallow. A tree or a large shrub in a planter needs 50 cm or more, and the planter itself must be strong enough to hold that weight — wet soil weighs about 1,600 kg per cubic metre.

A lawn top-dressing is the opposite extreme: 1 to 2 cm of soil or compost spread over the grass, which works out to a surprisingly small volume for a large area. A 100 sq m lawn at 1 cm needs only 1 cubic metre, which is 25 bags — a useful check before ordering a truckload for a job that needs a few bags.

Whatever the planting, measure the depth inside the container, not the height of the container itself. A planter with a false bottom, a drainage layer of gravel, or a liner sits shallower than its outside height suggests, and the soil needed follows the inside depth.

A worked example: a 1.5 m by 0.6 m planter, 0.4 m deep

Take a planter 1.5 m long, 0.6 m wide and 0.4 m deep. The volume is 1.5 × 0.6 × 0.4 = 0.36 cubic metres, which is 360 litres and 0.36 × 35.31 = 12.71 cubic feet. At 40 litres per bag, 360 ÷ 40 = 9 bags exactly.

Now scale it up. A raised bed 2 m long, 1 m wide and 0.5 m deep is 2 × 1 × 0.5 = 1.0 cubic metre, which is 1,000 litres and 35.31 cubic feet. Bags are 1,000 ÷ 40 = 25 bags. At that size, loose soil delivered by the cubic metre is usually cheaper than 25 bags — the volume here lets you compare both prices on the same bed.

And a small planter: 1 m by 0.5 m and 0.3 m deep is 1 × 0.5 × 0.3 = 0.15 cubic metres, which is 150 litres and 5.30 cubic feet. Bags are 150 ÷ 40 = 3.75, rounded up to 4 bags. The rounding adds a quarter of a bag — keep the spare, because soil settles and the planter will need topping up.

Notice how the bag count is the number that matters at the shop, but the volume is the number that matters for the planter. The same 0.36 cubic metres is 9 bags of 40 litres, but it would be 8 bags if the bags were 50 litres — always check the bag size on the label, because this calculator's 40-litre standard is common, not universal.

Who uses a soil calculator, and when

Home gardeners use it first, usually when building a raised bed or filling planters in spring. Knowing the bag count before the garden centre trip stops the two classic mistakes: buying too little and leaving planters half-filled, or buying far too much and stacking bags in the garage until next year.

Landscapers use it to quote jobs. Soil is usually the largest material line in a garden build, and the volume has to be right before the price can be. Running the calculator bed by bed, then adding the beds together, gives a defensible total for the quote.

It also helps when comparing buying by the bag against buying loose by the cubic metre. Twenty-five bags at the garden centre may cost more than 1 cubic metre delivered loose, but loose soil has a minimum delivery and needs somewhere to tip it. The volume here lets you compare both prices on the same bed.

Allotment holders and schools use the same maths at a bigger scale. The formula does not change when the planter becomes a whole plot — only the numbers get bigger, and the 40-litre bag count is replaced by a bulk order in cubic metres.

Soil calculator vs a mulch calculator

A soil calculator prices the fill for one bed, while a construction cost calculator prices a whole building — different scales, the same honest estimate rule. The difference is the layer: soil fills the bed, mulch sits on top of it at 5 to 10 cm, and the two volumes are separate.

The volume maths is shared. The volume here is length times width times depth, the same as a cuboid volume calculator, and the bed area is the same rectangle a rectangle area calculator works out. If you can work out one box, you can work out the other.

For a new bed, use both tools together: this one for the soil fill, then the mulch calculator for the top layer. The soil goes in first and settles, the mulch goes on top at 5 to 7.5 cm, and the two volumes are separate — do not add them into one number, or the bed will be overfilled.

If your supplier quotes in cubic feet or cubic yards, a volume converter will switch the units for you. The calculator already shows cubic metres, litres and cubic feet side by side, so most quotes can be checked without leaving the page.

Common soil mistakes

The first mistake is forgetting that soil settles. Fresh soil in a new bed settles by a tenth or more in the first weeks as it compacts and the air pockets close. Fill the bed slightly proud of the level you want, or keep a spare bag for topping up after a month.

The second mistake is measuring the outside of the planter instead of the inside. A planter with thick walls, a drainage layer or a liner holds less soil than its outside dimensions suggest. Measure inside, at the depth the soil will actually reach.

The third mistake is using the wrong bag size in the maths. This calculator uses the standard 40-litre bag, but bags of 25, 50 and 70 litres are sold too. Check the label on the bag you actually buy — a 50-litre bag changes the count by a fifth, and ordering on the wrong size is an easy error.

The fourth mistake is filling to the brim. Soil to the rim means water runs off instead of soaking in, and the first watering washes soil over the edge. Leave 2 to 3 cm below the rim for watering space.

The fifth mistake is using garden soil in pots. Garden soil compacts in a container and drains badly, while potting soil is made to stay open and free-draining. The volume is the same either way, but the product is not — buy potting soil for planters and topsoil for beds.

How to use this soil calculator

Measure the inside length, width and depth of the bed or planter in metres and enter them. The results update live: volume in cubic metres, litres and cubic feet, and the bags needed at the standard 40-litre bag size, rounded up.

Run it once per bed or planter and add the bags together for the whole job. For a large job, compare the bag total against a loose delivery priced per cubic metre — the volume here is the number to compare on.

Remember the limits. The result is an estimate for a rectangular container of even depth, using the standard 40-litre bag. Real containers are rarely perfect rectangles, soil settles after filling, and bag sizes vary by brand. Measure each container on site and check the bag size on the label; a contractor's measurement governs a large order.

Everything runs in your browser. No account, no sign-up, and nothing you type is sent anywhere. You can re-run it for every bed and planter in the garden in a few seconds each.

Frequently Asked Questions

The volume is 2 × 1 × 0.5 = 1.0 cubic metre, which is 1,000 litres and 35.31 cubic feet. At the standard 40 litres per bag that is 1,000 ÷ 40 = 25 bags. At that size, loose soil delivered by the cubic metre is usually cheaper than 25 bags.

Allow 30 to 40 cm of soil for a raised vegetable bed, so roots have room to grow and the bed holds moisture. Flower planters and herb boxes need 20 to 30 cm, and a lawn top-dressing needs only 1 to 2 cm. Measure the depth inside the container, not the height of the container itself.

The standard bag used by this calculator is 40 litres. Bags of 25, 50 and 70 litres are also sold, so check the size printed on the label of the bag you buy — a 50-litre bag changes the count by a fifth. For large jobs, soil is often sold loose by the cubic metre instead.

It assumes a rectangular container of even depth and the standard 40-litre bag. Real containers are rarely perfect rectangles, soil settles by a tenth or more after filling, and bag sizes vary by brand. Measure inside each container on site and check the bag label; a contractor's measurement governs a large order.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.