Dirt Yards Calculator: How Many Yards of Dirt Do I Need?

Let’s dig deep to find the answer

Granddaughter helping grandpa in the garden
Photo: Ippei Naoi / Moment / Getty Images
Granddaughter helping grandpa in the garden
Photo: Ippei Naoi / Moment / Getty Images
Highlights
  • Convert the cubic footage of your garden bed into cubic yards.

  • The deeper your garden bed, the more yards of dirt you’ll need to fill it.

  • Order bulk dirt delivery to save on costs.

Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

There’s nothing quite like a summer garden blooming with flowers, plants, and produce. But without the proper soil, your garden might wither instead of bloom. So, when you’re planning a new garden bed, calculating how many yards of dirt you need is a must. This guide will walk you through the process so you can ensure you order just the right amount.

How Many Yards of Dirt Is Needed for the Project?

The best types of growing soil, dirt, mulch, compost, and topsoil are all measured in cubic yards. The amount you need will depend on the size of your garden bed and the desired soil depth. Here are some examples:

Bed Size in FeetSquare FootageYards of Dirt Needed (3” Depth)Yards of Dirt Needed (6” Depth)
2x15300.280.56
4x8320.30.59
4x10400.370.74
6x12720.671.33
8x12960.891.78

How to Calculate How Many Yards of Dirt You Need

Stack of bags with garden dirt
Photo: skhoward / iStock / Getty Images Plus / Getty Images

The formula to calculate the amount of dirt you need for your garden involves measuring the area’s cubic footage and converting it to cubic yards. Here’s how to do that.

Cubic Yards of Dirt Needed = Area Cubic Footage / 27

If you’re ordering dirt in bulk, you can just order what you need. If you’re buying bags of dirt, check how many yards each bag contains to determine how many bags you’ll need.

How to Measure for Dirt

Measuring for dirt might seem complex because you need to convert feet to yards, but the process is actually quite simple. Follow these steps to determine how much dirt you need for your garden project:

  • Multiply the length and width of your garden bed in feet to get the total square footage.

  • Divide the desired depth of your dirt layer in inches by 12 for the soil depth in feet. 

  • Multiply the square footage by the soil depth in feet to get the total cubic footage.

  • Divide the cubic footage by 27 to get the total cubic yards.

For example, a 4-foot-by-10-foot garden bed measures 40 square feet. 

  • If you want a 3-inch-deep layer of dirt, that’s 0.25 feet. 

  • Multiply the total square footage by the soil depth for a total cubic footage of 10. 

  • Finally, divide the cubic footage by 27 for a total of 0.37 cubic yards of dirt required for the space. 

From there, you can calculate your total fill dirt costs to prevent expensive future surprises.

Who to Hire for Dirt Delivery and Installation

If you only need a few bags of dirt, you can head to your local garden center and load the bags in your car or truck. However, it’s more cost-effective for larger projects to have dirt delivered in bulk by a local dirt-hauling company. Many of these contractors will also install the dirt in your yard (or even build up the soil and regrade your house foundation), saving you from the back-breaking manual labor. However, you can also have the dirt delivered and move it to the required areas yourself.

Frequently Asked Questions

How much 4 yards of dirt will cover depends on how deep you want the soil to be. In general, a yard of dirt will cover 324 square feet for a 1-inch depth or 100 square feet for a 3-inch depth. Therefore, you can expect 4 yards to cover between 400 and 1,296 square feet if you keep your soil depth between 1 and 3 inches.

Yes, a cubic yard of dirt will fit in most standard-size pickup trucks. However, consider the truck’s payload as well as the truck bed dimensions before loading it up with dirt. Soil can be quite heavy, and if the total weight of a yard of dirt exceeds your truck’s payload capacity, you risk damaging the chassis and suspension.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to mulch and topsoil services
From average costs to expert advice, get all the answers you need to get your job done.
Seedling in soil of garden
Apr 15, 2025
Apr 15, 2025
Before starting your landscaping project, learn how much fill dirt, topsoil, and sand will cost. Find out prices based on materials, labor, and more.
House with mulched flowerbeds and mature plants
Apr 28, 2025
Apr 28, 2025
If you plan to mulch your yard soon, you may be wondering how much mulch installation costs. Use this guide to help you figure out your project budget.
A beautiful house in the woods
Feb 7, 2025
Feb 7, 2025
Forestry mulching is a great way to clear large areas of brush and other vegetation. Learn how much forestry mulching costs and what affects the price.
Forestry mulcher grinding up underbrush
Feb 19, 2025
Feb 19, 2025
Forestry mulching is one of the most effective ways to clear acres of land. While it’s relatively cheap, it may not be the best solution for everyone.
Man paving stones
May 30, 2025
May 30, 2025
This calculator will help you estimate how much sand you’ll need to complete your hardscape project.
front of red brick house with bushes and mulch
Apr 28, 2025
Apr 28, 2025
Tired of your traditional, woody mulch and ready to try something new? We got you! Get 11 mulch alternatives to choose from here.