Raised Bed Soil Calculator
Building a raised garden bed provides outstanding drainage, effortless weed control, and rich growing conditions, but determining how much soil to buy can be surprisingly tricky. Most gardeners blend bagged soil amendments like compost, peat moss, and topsoil to fill their planters. This free calculator takes the length, width, and interior height of your raised planter boxes to calculate the exact cubic feet and cubic yards needed, along with the precise count of retail soil bags to purchase. Enter your bed dimensions below to quickly plan your garden setup and prevent extra trips to the garden center.
How it works
Raised bed soil volume is calculated by multiplying inside length in feet by inside width in feet by soil depth in feet (depth in inches divided by 12). This produces total interior volume in cubic feet. Dividing cubic feet by 27 converts the volume to cubic yards for ordering bulk garden soil blends by the truckload. For packaged soil, the calculator applies your settling allowance (typically 5% to 10% as loose soil compacts after initial watering) and divides by the bag size (most commonly 1.5 cubic feet), rounding up to the next whole bag.
Worked examples
A standard 8 by 4 foot raised bed filled to 10 inches deep
For a common 8 × 4 foot cedar planter box filled with 10 inches of soil (leaving a 2-inch lip at top): 8 × 4 × (10 ÷ 12) = 26.67 cubic feet. Dividing by 27 gives 0.99 cubic yards. With a 10% settling factor, the volume becomes 29.33 cubic feet. Dividing by 1.5 cubic feet per bag gives 19.55, requiring 20 bags.
A compact 4 by 4 foot square foot garden bed at 12 inches deep
For a 4 × 4 foot bed that is 12 inches (1 foot) deep: 4 × 4 × 1 = 16 cubic feet. Dividing by 27 equals 0.59 cubic yards. With 1.5-cubic-foot bags and 5% settling allowance: 16 × 1.05 = 16.8 cubic feet. Dividing by 1.5 equals 11.2, which rounds up to 12 bags.
Quick reference table
| Bed Dimensions | Soil Depth | Cubic Feet | Cubic Yards | 1.5 ft³ Bags |
|---|---|---|---|---|
| 4 × 4 ft | 8 in | 10.7 | 0.40 | 8 bags |
| 4 × 4 ft | 12 in | 16.0 | 0.59 | 12 bags |
| 6 × 3 ft | 10 in | 15.0 | 0.56 | 11 bags |
| 8 × 3 ft | 12 in | 24.0 | 0.89 | 17 bags |
| 8 × 4 ft | 10 in | 26.7 | 0.99 | 19 bags |
| 8 × 4 ft | 12 in | 32.0 | 1.19 | 23 bags |
Common mistakes to avoid
Frequently asked questions
Should I fill my raised bed all the way to the top rim?
No, leave 1 to 2 inches of space between the soil surface and the top edge of the bed frame. This prevents soil and water runoff during heavy rainfall and leaves room for adding an annual layer of organic mulch or compost.
Is it cheaper to buy bagged soil or bulk soil for raised beds?
If your total volume is under 1 cubic yard (roughly 18 bags of 1.5 cu ft), buying bagged soil from a garden center is usually more economical and convenient. For 2 cubic yards or more, ordering bulk soil delivered by a local landscape supplier is generally much cheaper per cubic yard.
Can I fill the bottom of tall raised beds with logs or sticks?
Yes, using the Hügelkultur method by placing untreated rotting logs, twigs, and leaves in the bottom 30% to 50% of deep raised beds (over 18 inches tall) saves money on soil and creates long-term organic fertility as the wood breaks down.
What is the best soil recipe for raised beds?
A classic balanced blend (often called Mel's Mix) combines 1/3 blended compost (for nutrients), 1/3 peat moss or coconut coir (for moisture retention), and 1/3 coarse vermiculite or perlite (for root aeration and drainage).