There's nothing worse than running out of soil halfway through building your raised beds—except maybe having a mountain of dirt left over that you paid good money for. This soil calculator takes the guesswork out of your project by telling you exactly how many cubic yards you need based on your specific dimensions.
Just plug in your length, width, and depth. You'll get instant results in cubic yards (what bulk suppliers use), cubic feet (what's on bag labels), and cubic meters (for our metric-minded friends). Whether you're filling a single raised bed or landscaping an entire backyard, you'll know exactly what to order before you spend a dime.
What Does a Cubic Yard of Soil Actually Look Like?
A cubic yard sounds abstract until you're staring at a pile of dirt in your driveway wondering if you ordered enough. Here's how to picture it:
A cubic yard is a 3-foot × 3-foot × 3-foot cube—about the size of a standard washing machine. That's 27 cubic feet of material.
In practical terms:
- It fills a standard wheelbarrow about 9-14 times (depending on wheelbarrow size)
- It covers roughly 100 square feet at 3 inches deep
- It weighs between 1,800-2,500 pounds depending on moisture
When landscape suppliers quote prices, they're talking cubic yards. When you're loading bags into your car at the hardware store, those bags show cubic feet. Knowing the conversion (27 cubic feet = 1 cubic yard) helps you compare apples to apples when shopping.
The Math Behind Soil Calculations
The formula itself is simple—volume equals length times width times depth. The trick is getting your units to play nicely together.
The formula for cubic yards:
```
Cubic Yards = (Length in feet × Width in feet × Depth in inches) ÷ 324
```
Where does 324 come from? There are 27 cubic feet in a cubic yard and 12 inches in a foot. Multiply those together (27 × 12 = 324) and you've got your conversion factor.
Let's walk through a real example:
Say you're building a classic 4-foot by 8-foot raised bed and want it 12 inches deep:
- 4 × 8 × 12 = 384
- 384 ÷ 324 = 1.19 cubic yards
That's 32 cubic feet—or about 32 of those one-cubic-foot bags stacked in the garden center aisle. Suddenly bulk delivery starts looking pretty attractive.
Quick reference for common raised bed sizes:
Bed Size | 6" Deep | 12" Deep | 18" Deep |
|---|---|---|---|
4' × 4' | 0.30 yd³ | 0.59 yd³ | 0.89 yd³ |
4' × 8' | 0.59 yd³ | 1.19 yd³ | 1.78 yd³ |
3' × 6' | 0.33 yd³ | 0.67 yd³ | 1.00 yd³ |
2' × 8' | 0.30 yd³ | 0.59 yd³ | 0.89 yd³ |
How to Use This Calculator
- Enter your length in feet (the longer side of your bed or area)
- Enter your width in feet (the shorter side)
- Enter your depth in inches (how deep you want the soil—see the depth guide below if you're unsure)
- Check your results displayed in cubic yards, cubic feet, and cubic meters
The numbers update instantly as you type. Try adjusting the depth up or down to see how it affects your total—sometimes going from 12 to 10 inches saves enough money to add another bed.
Pro tip: For multiple beds, calculate each one separately and add them together. Or measure the total area if all beds will be the same depth.
How Deep Should Your Soil Be? A Practical Guide
Depth is where most people either waste money (going deeper than necessary) or sabotage their plants (going too shallow). Here's what actually matters:
For Raised Vegetable Beds
12 inches minimum, 18 inches ideal. Here's why depth matters for food gardens:
Plant Type | Minimum Depth | Why It Matters |
|---|---|---|
Lettuce, spinach, herbs | 6-8 inches | Shallow roots, but deeper soil = less watering |
Peppers, beans, cucumbers | 10-12 inches | Medium root depth, need consistent moisture |
Tomatoes, squash, melons | 12-18 inches | Deep feeders with extensive root systems |
Carrots, potatoes, parsnips | 12-18 inches | The root IS the vegetable—it needs room to grow |
The real-world difference: In an 8-inch bed, you'll water twice as often during July heat waves. In an 18-inch bed, that same soil acts as a moisture reservoir. Your tomatoes will thank you.
For Flower Beds and Landscaping
Project | Recommended Depth | Notes |
|---|---|---|
Annual flower beds | 8-10 inches | Annuals have modest root systems |
Perennial gardens | 10-12 inches | Perennials develop deeper roots over time |
New lawn installation | 4-6 inches | Grass needs at least 4" of quality topsoil |
Overseeding existing lawn | 1-2 inches | Just enough to improve soil contact |
Ground cover plants | 3-4 inches | Creeping thyme, sedum, etc. |
Shrub and tree planting | Match the root ball + 2-3 inches | Amend the planting hole, not a huge area |
The "Hugelkultur Hack" for Deep Beds
If your raised beds are taller than 18 inches, here's a secret that saves money and improves your soil over time: Don't fill the whole thing with expensive garden soil.
Fill the bottom third with:
- Fallen branches and small logs
- Leaves and straw
- Grass clippings (no herbicides)
- Old wood chips or bark
Then add your quality soil for the top 12-18 inches. The organic material breaks down slowly, feeding your plants for years while improving drainage. A 24-inch bed might only need 1.5 cubic yards of soil instead of 2+ cubic yards.
Bags vs. Bulk: The Real Cost Comparison
This is where knowing your numbers pays off—literally.
The Bagged Soil Math
At a typical home improvement store:
- 1 cubic foot bags: $5-8 each
- 2 cubic foot bags: $8-12 each
- "Large" 3 cubic foot bags: $12-15 each
To get one cubic yard from bags:
- 27 one-cubic-foot bags = $135-216
- 14 two-cubic-foot bags = $112-168
- 9 three-cubic-foot bags = $108-135
The Bulk Delivery Math
From a landscape supplier:
- Topsoil: $25-45 per cubic yard
- Garden soil/planting mix: $35-55 per cubic yard
- Premium raised bed mix: $45-75 per cubic yard
- Delivery fee: $50-100 (usually flat rate regardless of quantity)
The Bottom Line
Amount Needed | Best Option | Typical Cost |
|---|---|---|
Under 0.5 yd³ | Bags | $50-80 |
0.5-1 yd³ | Toss-up—compare prices | $60-150 |
1-2 yd³ | Bulk (usually) | $100-175 delivered |
3+ yd³ | Bulk (definitely) | $150-300 delivered |
The break-even point is usually around 1-1.5 cubic yards. Below that, bags win because you avoid delivery fees. Above that, bulk is dramatically cheaper—you might pay half the price per cubic yard.
One more consideration: Bags are convenient. You can buy them on your schedule, store them until you're ready, and return unopened extras. Bulk soil arrives in a dump truck and needs to be moved immediately. Make sure you have a plan (and a wheelbarrow) before that truck backs up.
Choosing the Right Type of Soil
"Soil" at the garden center means different things depending on the bag. Here's what you're actually buying:
Topsoil
What it is: Screened native soil—the top layer of earth with rocks and debris removed.
Best for: Filling holes, leveling yards, and grading. It's affordable but usually needs compost or amendments before planting.
Not great for: Raised beds on their own. Most topsoil lacks the organic matter and nutrients plants need to thrive.
Typical cost: $25-40/cubic yard bulk, $4-6/cubic foot bagged
Garden Soil
What it is: Topsoil blended with compost, peat moss, or other organic matter.
Best for: In-ground garden beds, amending existing soil, general landscaping.
Note: Despite the name, most "garden soil" is meant for in-ground use, not containers or raised beds. It's heavier and drains slower than raised bed mixes.
Typical cost: $35-50/cubic yard bulk, $5-8/cubic foot bagged
Raised Bed Mix / Planting Mix
What it is: A lighter blend typically containing topsoil, compost, and a drainage component like perlite, pumice, or aged bark.
Best for: Raised beds, container gardens, anywhere drainage matters.
This is your best bet for raised vegetable beds. It holds moisture without getting waterlogged and provides the loose structure roots need.
Typical cost: $45-70/cubic yard bulk, $8-12/cubic foot bagged
Potting Mix
What it is: Soilless blend of peat moss, perlite, vermiculite, and sometimes compost.
Best for: Containers and pots only. It's formulated for excellent drainage in confined spaces.
Not for: Raised beds or in-ground planting. It's too expensive for large volumes and breaks down too quickly outdoors.
Typical cost: $10-15/cubic foot bagged (rarely sold in bulk)
The Pro Move: Custom Blending
Many landscape suppliers will blend custom mixes. A popular recipe for raised beds is:
- 60% quality topsoil
- 30% compost
- 10% perlite or coarse sand
Ask what's available—you might save money and get exactly what your plants need.
Smart Tips for Buying and Handling Soil
Before You Order
Add 10-15% to your calculated amount. Soil settles. It compacts when watered. You'll be topping off beds within a month if you order the exact calculated amount. For a 3 cubic yard project, order 3.3-3.5 cubic yards.
Check your access. Bulk soil arrives in a dump truck. That truck needs a place to dump—ideally close to where you need the soil. Measure your driveway gate and talk to the supplier about truck size if access is tight.
Ask questions. Where does the soil come from? What's in the blend? Has it been screened? How long has the compost been aged? Quality varies wildly between suppliers. Good suppliers welcome questions; sketchy ones dodge them.
Timing Your Delivery
Build your beds first. A pile of soil in your driveway creates urgency you don't need. Have your beds constructed and ready before the truck arrives.
Check the weather. Wet soil is heavy, harder to move, and can compact if you're shoveling it while it's muddy. Aim for a dry spell.
Schedule morning delivery. Give yourself a full day to move the soil. That pile looks smaller than it is until you're eight wheelbarrow loads in.
Moving and Spreading Soil
Wet it lightly after spreading. This helps it settle evenly and makes a better environment for planting. Don't soak it—just a gentle watering.
Don't pack it down. Loose soil is healthy soil. Walking on your beds or tamping the soil removes air pockets that roots and beneficial organisms need.
Let it rest. If possible, give new beds a week or two to settle before planting. Water them a couple times during this period. You'll see the soil level drop and can add more before your plants go in.