How to calculate soil for a raised bed
A raised bed is a box, so the soil it holds is its inside length × width × depth. Add an allowance for settling, since loose soil and compost sink once they’re watered:
Cubic feet = length (ft) × width (ft) × depth (in) ÷ 12 × (1 + settling %)
Cubic yards = cubic feet ÷ 27
Example: two beds of 8 × 4 ft, filled 12 in deep, hold 2 × 32 = 64 cubic feet. With 20% extra that’s 76.8 cubic feet, or 2.84 cubic yards: 77 bags of 1 cubic foot. In equal parts topsoil and compost, buy 38.4 cubic feet of each.
For a round bed, the area is 3.1416 × radius². A bed 4 ft across has a 2 ft radius: 12.6 sq ft, so 12.6 cubic feet at 12 in before settling.
Soil by bed size
With 20% extra for settling, the calculator’s default:
| Bed (inside) | 6 in deep | 8 in deep | 12 in deep | 18 in deep |
|---|---|---|---|---|
| 4 × 4 ft | 9.6 cu ft | 12.8 cu ft | 19.2 cu ft | 28.8 cu ft |
| 8 × 4 ft | 19.2 cu ft | 25.6 cu ft | 38.4 cu ft (1.42 cu yd) | 57.6 cu ft (2.13 cu yd) |
| 10 × 4 ft | 24 cu ft | 32 cu ft | 48 cu ft (1.78 cu yd) | 72 cu ft (2.67 cu yd) |
| 12 × 4 ft | 28.8 cu ft | 38.4 cu ft | 57.6 cu ft (2.13 cu yd) | 86.4 cu ft (3.2 cu yd) |
What to fill it with
Extension services suggest mixing compost into the soil rather than filling a bed with topsoil alone:
| Mix, by volume | Source | When |
|---|---|---|
| Compost and topsoil, equal parts | University of Illinois Extension; University of Maryland Extension | Most beds |
| 2 parts topsoil, 1 part compost | University of Maryland Extension | A bed on a lawn |
| Compost and soilless growing mix, equal parts | University of Maryland Extension | On a lawn, or on paving or hard, compacted soil |
| 60% topsoil, 30% compost, 10% potting mix | Gardener’s Supply | Its own recommendation |
Maryland adds that a bed made only of compost or soilless mix dries out faster than one with mineral soil, and that topsoil can make up to 20% of a bed on paving that’s at least 16 in deep. Buy a little over each part’s share, since bag sizes rarely match.
Bags or bulk
Bag sizes vary by brand, so the calculator counts bags at the size you pick from the label (cubic feet, or liters in metric). A cubic yard is 27 cubic feet: if your beds take a yard or more, get a bulk quote with delivery and compare it with the bag total. Bulk topsoil runs about $10 to $55 a cubic yard (HomeAdvisor, LawnLove; some prices include delivery); compost and blended raised bed mixes have no shared figure in the cost guides, so type your local prices to compare.
For in-ground beds, lawns and fill, use the topsoil calculator; to cover the beds afterwards, the mulch calculator works out the bags at 2 to 3 in.