Raised Bed Dirt Calculator

Whether you're filling with premium raised bed mix or a custom blend of topsoil and compost, knowing your volume upfront is essential. This raised bed dirt calculator lets you ente…

All Shapes Supported Inches, Feet, CM & Meters Bag Count & Cost Estimate

Calculate Your Soil

Enter your raised bed dimensions below

Bed Shape
Measurement Units
Bag Size & Cost Options Optional

Raised Bed Dirt Calculator

Whether you're filling with premium raised bed mix or a custom blend of topsoil and compost, knowing your volume upfront is essential. This raised bed dirt calculator lets you enter your bed's dimensions and instantly calculates the exact fill volume in cubic feet, cubic yards, and liters — plus the number of bags you'll need if buying bagged soil.

How to Use This Calculator

Select your bed shape (Rectangle, Square, or Circle), choose your unit of measurement, then enter your dimensions. For rectangular and square beds, enter length, width, and depth. For circular beds, enter the diameter and depth. Click Calculate Soil Needed to see your results instantly in cubic feet, cubic yards, liters, and gallons — plus bag counts for all four standard bag sizes.

Understanding Your Results

Cubic feet is the unit printed on most bagged soil at garden centers. Use this number to count bags. Cubic yards is the unit used by landscape bulk suppliers — divide cubic feet by 27 to get cubic yards. Liters is the metric equivalent (1 cu ft = 28.32 liters). Gallons is helpful for smaller container calculations (1 cu ft = 7.48 gallons).

Volume Formula (Rectangle)
Volume = Length × Width × Depth (all in feet)

Soil Mix Recommendation

The best all-purpose raised bed mix is 60% quality topsoil, 30% compost, and 10% perlite or coarse sand. This blend drains well, retains moisture, and provides the nutrients plants need. Avoid filling raised beds with pure topsoil — it compacts and restricts root growth. Always include at least 25–30% organic matter.

💡 Order 10% extra: Soil settles 10–15% after the first thorough watering. Buying a little extra prevents a second trip to the store.
Common Questions

Frequently Asked Questions

A 4×8 foot raised bed at the standard 12-inch depth requires 32 cubic feet of soil — about 1.19 cubic yards. You would need 32 one-cubic-foot bags or 16 two-cubic-foot bags. At an 18-inch depth you need 48 cubic feet, and at 24 inches you need 64 cubic feet. Use the calculator above to adjust for your specific depth.
For beds under 20 cubic feet (roughly one or two small beds), bagged soil is most convenient. For projects over 2 cubic yards (54 cubic feet), bulk soil delivered by a landscape supplier is typically 40–60% cheaper. Use the cubic yard output from this calculator to compare bulk pricing against bag totals.
Most culinary herbs — basil, parsley, cilantro, chives, and dill — thrive in 6–8 inches of well-draining soil. Woody herbs like rosemary, thyme, and sage prefer 10–12 inches. Herbs in general do better in a slightly leaner, well-draining mix than in a rich, moisture-retentive soil.
Tomatoes need a minimum of 12 inches of soil, but they produce the best yields in 18–24 inches of rich, well-draining growing medium. Deeper soil lets roots access more water and nutrients during hot weather and reduces the risk of blossom-end rot caused by inconsistent moisture levels.
Divide cubic feet by 27 to get cubic yards (since 1 yard = 3 feet, and 3³ = 27). For example: 54 cubic feet ÷ 27 = 2 cubic yards. The calculator above always shows both units simultaneously, so you never need to do this math manually.