Raised Bed Soil Calculator
Enter your bed's inside length and width and how deep you'll fill it. The calculator gives the soil in cubic feet and cubic yards, how many bags to buy, and how much of each ingredient goes into the mix you pick. For a top-up, choose "Topping up a bed" and enter the depth to add.
Soil calculator
32 cu ft = 1.19 cu yd
Soil only, no extra added, for 1 bed.
Bags to buy (rounded up)
22 bags of 1.5 cu ft
- Compost 16 cu ft (11 bags of 1.5 cu ft)
- Topsoil 16 cu ft (11 bags of 1.5 cu ft)
Measure inside the boards: the wood takes up part of the outside size. The formula is length × width × depth in feet ÷ 27 for cubic yards (UF/IFAS). New soil settles about 2 in, so UF/IFAS says to fill the bed to the top and top it off after each season.
How much soil for common raised bed sizes
Cubic feet of soil for one bed, measured inside the boards. Divide by 27 for cubic yards.
| Bed (inside) | 6 in deep | 8 in deep | 10 in deep | 12 in deep | 18 in deep |
|---|---|---|---|---|---|
| 2×8 ft | 8 | 10.7 | 13.3 | 16 | 24 |
| 4×4 ft | 8 | 10.7 | 13.3 | 16 | 24 |
| 3×6 ft | 9 | 12 | 15 | 18 | 27 |
| 4×8 ft | 16 | 21.3 | 26.7 | 32 | 48 |
| 4×12 ft | 24 | 32 | 40 | 48 | 72 |
At 12 in deep, a 4×8 bed takes 32 cu ft (1.19 cu yd): 22 bags of 1.5 cu ft or 16 bags of 2 cu ft. A 3×6 bed takes 18 cu ft: 12 bags of 1.5 cu ft.
How the math works
UF/IFAS gives the formula: length × width × height in feet equals cubic feet, and cubic feet divided by 27 equals cubic yards (UF/IFAS EP472). Depth is usually measured in inches, so divide it by 12 first.
Example: a 4×8 bed filled 10 in deep is 8 × 4 × (10 ÷ 12) = 26.7 cu ft, or 0.99 cu yd. In 1.5 cu ft bags that's 17.8, so buy 18.
- Measure inside the boards. The wood takes up part of the outside measurement, so going by it overstates the soil you need.
- Leave room for settling. UF/IFAS notes that soil settles about 2 in after filling, and recommends topping the bed off after each season (UF/IFAS EP472). On a 12-in bed, 2 in is about 17%. The "Extra" option adds 5 or 10% to the total, or 2 in to the depth.
- Mixes are measured by volume. "1 part compost to 2 parts topsoil" means one third of the volume is compost.
How deep should the soil be?
- Leafy greens, beans, cucumbers: at least 8 in. Peppers, tomatoes, squash: 12 to 24 in. Maryland Extension gives these depths for beds on hard surfaces, where roots can't go any lower (UMD Extension).
- On lawn or garden soil, roots can grow down into the ground below, so a shorter bed still works. UF/IFAS says raised beds should be at least 6 in high (UF/IFAS EP472).
Which mix to choose
Five of the six recipes in the calculator come from university extension guides; the sixth is Mel's Mix. Maryland Extension suggests compost mixed with topsoil, 1:1 or 1:2, for beds on compacted or clay soil, and compost with a soilless mix, half and half, for beds on concrete or a patio (UMD Extension). Iowa State gives two mixes: about 70% topsoil and 30% compost, or equal parts topsoil, organic matter and coarse sand (Iowa State Extension). Mel's Mix is the square foot gardening recipe: a third each of compost, peat moss and coarse vermiculite (Square Foot Gardening Foundation). Iowa State suggests working the mix into the soil already there, because distinct layers slow water and roots.
For the full guide, from what's under the bed to cheaper fills with logs and leaves, see how to fill a raised garden bed.
FAQ
How many bags of soil are in a cubic yard?
A cubic yard is 27 cu ft: 18 bags of 1.5 cu ft, or 13.5 bags of 2 cu ft (buy 14).
How many bags of soil for a 4×8 raised bed?
At 12 in deep, 32 cu ft: 22 bags of 1.5 cu ft or 16 bags of 2 cu ft, measured inside the boards. At 10 in deep, 26.7 cu ft: 18 bags of 1.5 cu ft.
How full should a raised bed be?
Fill it to the top. UF/IFAS notes that the soil settles about 2 in, and suggests topping it off after each season (UF/IFAS EP472).
Should I use the inside or outside measurements?
Inside. The boards take up part of the outside size, so the inside length and width give the volume the soil actually fills.
How much soil do I need to top up a raised bed?
Choose "Topping up a bed" and enter the depth to add. For a 4×8 bed, 2 in is 5.3 cu ft: 4 bags of 1.5 cu ft.
Sources
- UF/IFAS Extension, Gardening in Raised Beds (EP472): formula, settling, top-ups, minimum height
- University of Maryland Extension, Soil to Fill Raised Beds: mixes and depths
- Iowa State Extension, A good soil mix for a raised bed
- Square Foot Gardening Foundation, Mel's Mix