Home / Tools / Soil Volume Calculator
Free tool

Soil Volume Calculator

Layers of soil and compost inside a wooden raised bed, ready for planting
Free · no sign-upUpdated November 19, 2026
Quick answer

Multiply length by width by depth, all in feet, to get cubic feet — then divide by 27 for cubic yards or multiply by 28.3 for litres. A typical 8 by 4 ft bed filled 12 inches deep needs 32 cu ft, about 906 litres, or 23 bags of 40 litres.

Soil volume calculator

Enter the size of your bed or container. The result updates as you type.
feet
feet
inches
Soil needed-

Soil settles after watering, so buy about 10% more than the result. For a 32 cu ft bed, that means roughly 3 cu ft extra. Bag counts are rounded up.

Ordering soil for a raised bed is a guessing game most gardeners lose at least once: too little, and the bed sits half empty; too much, and a heap of soil blocks the path for a month. The fix is simple arithmetic, and this calculator does it for you. Enter the length, width and depth of the bed, and it returns the volume in cubic feet, cubic yards and litres, plus the number of bags that volume means.

It works for any rectangular bed or container, in feet and inches or in metres and centimetres. The same sums apply to compost and mulch, so you can use it for a top-dressing job too — just enter the depth of the layer instead of the depth of the bed.

A raised bed beside an open-ground vegetable patch
Raised beds need a known volume of soil — this calculator works it out before you order.

How the soil volume maths works

Volume is length times width times depth, with all three measurements in the same unit. A bed 8 feet long, 4 feet wide and 1 foot deep holds 8 times 4 times 1, which is 32 cubic feet. Depth is usually measured in inches, so divide it by 12 first: 12 inches is 1 foot, 6 inches is half a foot.

From cubic feet, the other units follow directly. There are 27 cubic feet in a cubic yard, so divide by 27. One cubic foot holds about 28.32 litres, so multiply by 28.32. Bag counts are the total volume divided by the bag size, rounded up — a part bag still has to be bought.

Worked example: a 4 by 8 ft raised bed

Take the most common home raised bed: 8 feet long, 4 feet wide, filled 12 inches deep. In feet that is 8 times 4 times 1, which gives 32 cubic feet. Divide by 27 and you get 1.19 cubic yards. Multiply by 28.32 and you get about 906 litres.

In bags, that is 906 divided by 40, which is 22.65 — so 23 bags of 40 litres. Add roughly 10% for settling after the first waterings, and the honest order is 25 bags, or about 35 cubic feet of loose soil. Buying the extra bag or two beats a second trip.

A vegetable bed covered with a thick layer of mulch
The same maths works for mulch: length times width times depth.

Bags, bulk sacks or loose delivery?

For one small bed, bags from a garden centre are the simplest option, even though they cost more per litre. The calculator's bag count is the number to take to the shop. For two or three beds, a bulk sack — usually around a cubic yard, sold by volume — is often cheaper and means far less plastic.

For a whole new vegetable patch, loose soil delivered by the cubic yard is usually the best value, and this is where the cubic yard figure earns its keep. Order by the calculator's number plus 10%, and check whether the price includes delivery: a cheap per-yard price with a large delivery fee is rarely cheap.

What depth does your bed really need?

Depth depends on what you grow. Salads, herbs and strawberries manage in about 6 inches of good soil. Most vegetables — beans, courgettes, tomatoes, brassicas — do well with 12 inches. Deep-rooted crops such as carrots and parsnips prefer 18 inches, or a shorter bed over open, loosened ground beneath.

If your bed sits on soil rather than paving, the plants can root down past the bed's base, so a shallower fill still works. On concrete or a balcony, the bed is all the soil there is, so fill it to the depth the crop needs and leave an inch or two at the top for watering.

Key takeaways

  • Volume is length times width times depth, all in the same unit — convert inches to feet first.
  • One cubic yard holds 27 cubic feet; one cubic foot holds about 28.3 litres.
  • A standard 8 by 4 ft bed at 12 inches deep needs 32 cu ft, about 906 litres.
  • Buy about 10% extra: fresh soil settles noticeably after the first waterings.

Frequently asked questions

How many bags of soil do I need for a raised bed?

Work out the volume first, then divide by the bag size and round up. An 8 by 4 ft bed filled 12 inches deep needs about 906 litres, which is 23 bags of 40 litres — or 25 if you add 10% for settling.

How many cubic feet are in a cubic yard of soil?

27. A cubic yard is 3 feet by 3 feet by 3 feet, so 3 times 3 times 3 equals 27 cubic feet. Divide cubic feet by 27 to get cubic yards.

How deep should soil be in a raised bed?

About 6 inches suits salads and herbs, 12 inches suits most vegetables, and 18 inches suits deep-rooted crops such as carrots. On open ground, roots can grow past the base, so a shallower bed still works.

Does the calculator work for compost and mulch too?

Yes. Enter the area and the depth of the layer you want, and the same volume maths applies. For mulch, 2 to 3 inches is a typical depth for a vegetable bed.

Calculator results are estimates based on the figures you enter and the typical values shown. Real soil, compost and watering needs vary with your soil, climate and plants — treat the result as a starting point, then adjust from what you see in your own garden.

Built by Nora Bennett. Last updated November 19, 2026. How we write.
Back to top ↑