Soil Calculator: Figure Out Exactly How Much Soil to Buy

Calculate exactly how many cubic yards of soil you need for raised beds, gardens, and landscaping projects. Get instant results in cubic yards, cubic feet, and cubic meters.

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

  1. Enter your length in feet (the longer side of your bed or area)
  2. Enter your width in feet (the shorter side)
  3. Enter your depth in inches (how deep you want the soil—see the depth guide below if you're unsure)
  4. 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.

Frequently Asked Questions

How many cubic yards of soil do I need for a 4×8 raised bed?

For a 4-foot by 8-foot raised bed, you need about 1.19 cubic yards at 12 inches deep, or 1.78 cubic yards at 18 inches deep. That's 32 to 48 cubic feet—so if you're buying bags, you're looking at 32-48 standard one-cubic-foot bags. For a single bed, bags might work, but if you're building multiple beds, bulk delivery saves significant money.

How many bags of soil make one cubic yard?

One cubic yard equals 27 cubic feet, so:

  • 27 one-cubic-foot bags (the standard small bag)
  • 14 two-cubic-foot bags (larger bags at big box stores)
  • 9 three-cubic-foot bags (the large "value" bags)

Always check the bag label—volumes vary by brand. Some "large" bags are 2.5 cubic feet, not 3.

How deep should soil be for tomatoes and vegetables?

12 inches minimum, 18 inches is better. Tomatoes are deep-rooted plants that develop extensive root systems when given room. In shallow beds (under 10 inches), you'll deal with smaller plants, lower yields, and constant watering during hot weather. The extra soil depth costs more upfront but pays off in healthier plants and less daily maintenance.

How much does a cubic yard of soil cost?

Expect to pay:

  • Basic 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: $50-100 flat fee (regardless of how many yards)

Buying the equivalent in bags costs roughly $110-200 per cubic yard—sometimes more. Bulk wins on price for any project over 1-1.5 cubic yards.

How much does a cubic yard of soil weigh?

Between 1,800 and 2,500 pounds, depending on moisture and composition. Wet soil is heavier. Compost-rich mixes tend to be lighter than dense topsoil.

Here's the practical impact: a typical pickup truck can handle about half a cubic yard safely (around 1,000-1,200 pounds). Overload it and you risk suspension damage—or worse. For more than half a yard, get it delivered.

Can I use this calculator for mulch, gravel, or compost?

Absolutely. The volume calculation is identical for any bulk material—you're just figuring out how much space you need to fill. Enter your dimensions and depth, and the cubic yard result applies to mulch, gravel, sand, compost, or any other landscape material.

Just note that coverage varies by material. A cubic yard of fluffy mulch covers more area than a cubic yard of dense gravel at the same stated depth.

What's the difference between topsoil and garden soil?

Topsoil is screened native dirt—affordable and good for filling, grading, and building up low areas. It's not ideal for planting without amendments.

Garden soil is topsoil enriched with compost, peat moss, or other organic matter. It's ready to plant in and provides nutrients your plants need.

For raised beds, skip plain topsoil. The extra cost for garden soil or a raised bed mix pays off in plant health and reduced fertilizer needs.

How do I calculate soil for an L-shaped or irregular bed?

Break it into rectangles. An L-shaped bed is just two rectangles—calculate each separately and add them together.

For curved beds, sketch a rectangle that roughly covers the area. You'll be close enough for ordering purposes. Since you should order 10-15% extra anyway, minor calculation errors get absorbed in that buffer.

Should I buy extra soil?

Yes—always order 10-15% more than calculated. Soil compacts and settles after watering. Within a few weeks, beds that looked perfectly full will have dropped an inch or two. Having extra on hand lets you top them off without a second delivery trip.

For a 3 cubic yard project, order 3.3-3.5 yards. The small extra cost is worth avoiding the hassle of being short.

How do I fill a very deep raised bed without spending a fortune?

For beds deeper than 18 inches, use the layering method:

  1. Bottom layer (lowest 1/3): Free or cheap organic material—logs, branches, straw, leaves, wood chips
  2. Middle layer: Partially finished compost, grass clippings, shredded cardboard
  3. Top 12-18 inches: Quality raised bed mix or garden soil

This "hugelkultur" approach cuts soil costs by 30-40% and creates a bed that improves over time as the bottom layers decompose. A 24-inch bed might only need soil for the top 14-16 inches.