How to calculate soil for a raised bed
A raised bed is a box, so the soil you need is its volume. Measure the inside of the bed, because the walls do not hold soil, and use the depth of soil you will fill rather than the height of the frame. Multiply the three dimensions, then the number of beds, then add a margin because soil settles after the first watering and compost keeps breaking down.
Soil per bed (cubic feet) = length × width × depth in feet
Order (cubic feet) = soil per bed × number of beds × (1 + extra %)
Cubic yards = cubic feet ÷ 27
Bags = order ÷ bag size in cubic feet, rounded up
A depth in inches must be divided by 12 first, so 12 inches is 1 foot and 8 inches is 0.667 foot. The calculator does this for you and also accepts meters and centimeters. If your beds differ in size, run the calculator once for each size and add the results.
Worked example: two beds of 8 ft by 4 ft, 12 inches deep
Each bed holds 8 × 4 × 1 = 32 cubic feet, so two beds hold 64 cubic feet.
- Add 10% for settling: 64 × 1.10 = 70.4 cubic feet
- In cubic yards: 70.4 ÷ 27 = 2.607, or 2.75 cubic yards if you round up to the nearest quarter yard for bulk delivery
- In bags: 71 bags of 1 cubic foot, 47 bags of 1.5 cubic feet or 36 bags of 2 cubic feet
- Indicative mix of 60% topsoil, 30% compost and 10% aeration: 42.24, 21.12 and 7.04 cubic feet
Bulk soil is usually cheaper per cubic foot than bagged soil once you need more than a few cubic yards. A cubic yard fills about 13.5 bags of 2 cubic feet.
Soil for common raised bed sizes
The table uses a 12-inch soil depth and a 10% allowance for one bed. Multiply by the number of beds, or use the calculator to enter all of them at once.
| Bed size | Cubic feet | Cubic yards | Bags of 2 cu ft | Bags of 1 cu ft |
|---|---|---|---|---|
| 3 ft × 3 ft | 9.9 | 0.37 | 5 | 10 |
| 4 ft × 4 ft | 17.6 | 0.65 | 9 | 18 |
| 3 ft × 6 ft | 19.8 | 0.73 | 10 | 20 |
| 4 ft × 8 ft | 35.2 | 1.3 | 18 | 36 |
| 4 ft × 12 ft | 52.8 | 1.96 | 27 | 53 |
Many vegetables do well in 10 to 12 inches of soil, and a depth of 6 to 8 inches suits shallow-rooted crops such as lettuce. Deeper beds need more soil, and a layer of branches or coarse material at the bottom can reduce the amount you buy, though this is a gardening choice, not part of the calculation.
What goes in the bed: an indicative mix
The calculator suggests a starting mix of about 60% topsoil, 30% compost and 10% aeration material such as perlite or coarse sand. This is a common planning recipe, not a standard, and gardeners also use ready-made raised bed blends. If you buy a blend, follow the supplier's advice on the amount, since some products settle more than others.
Top up each season with compost, as the level drops. For the topsoil part of the mix, the topsoil calculator gives tons and cubic yards, and the mulch calculator covers the layer on top of the soil to keep moisture in. Check that the soil you buy is suitable for growing food, and avoid fill dirt for beds.
Raised Bed Soil Calculator FAQ
How much soil do I need for a 4×8 raised bed?
A bed of 4 by 8 feet and 12 inches deep holds 32 cubic feet, and about 35 cubic feet with a 10% allowance for settling. That is 18 bags of 2 cubic feet, or about 1.3 cubic yards.
How many bags of soil fill a raised bed?
Divide the cubic feet by the bag size and round up. Two beds of 8 by 4 feet at 12 inches with 10% extra need 71 bags of 1 cubic foot, 47 of 1.5 or 36 of 2.
Why add extra for settling?
Soil compacts when you water it, and compost decomposes, so the level drops in the first weeks and again each season. An allowance of about 10% is common, and you can use 0 if you want the exact volume of the bed.
What is a good soil mix for a raised bed?
A common starting point is about 60% topsoil, 30% compost and 10% aeration material such as perlite or coarse sand. It is indicative only, and many gardeners use bagged raised bed mixes instead.
Should I measure the inside or the outside of the bed?
Measure the inside, because the frame takes up room. For thick boards the inside is noticeably smaller than the outside, so the soil volume is smaller than the outer measurements suggest.