
Leveling your yard can help with drainage and prevent damage to your home. Learn the cost to level a yard and what factors can affect the price.
Let’s dig deep to find the answer
Calculating how much dirt you need starts with measuring your garden bed's length and width in feet, then multiplying by the desired depth.
Your garden bed's depth determines the cubic yards you need, with deeper beds requiring more dirt to fill properly and support healthy plant growth.
Multiply your bed's square footage by the soil depth in feet, then divide by 27 to convert cubic feet into the cubic yards you'll order.
Hiring a local dirt hauling professional keeps bulk dirt delivery simple and handles the heavy lifting, so you can focus on planting instead of moving soil.
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.
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 Feet | Square Footage | Yards of Dirt Needed (3” Depth) | Yards of Dirt Needed (6” Depth) |
|---|---|---|---|
| 2x15 | 30 | 0.28 | 0.56 |
| 4x8 | 32 | 0.3 | 0.59 |
| 4x10 | 40 | 0.37 | 0.74 |
| 6x12 | 72 | 0.67 | 1.33 |
| 8x12 | 96 | 0.89 | 1.78 |

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.
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.
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.
Finished Basements Plus was wonderful from beginning to end! First, they came out quickly for an estimate. I had 4 estimates and theirs was by far the best. (2 of the estimates were more than $20K higher than for the exact same work). Beyond their fair pricing, the work was excellent. They...
Amazing job. Efficient and quick without compromising quality. Basement feels brand new. Would use them again in a heartbeat.
This company went above and beyond with their work, chimney sweeps are usually pretty messy, but the clean up was spot on.!! Josh explained every thing that he was doing, and the things that he was checking to make sure the chimney was safe for me and my family. He was very professional,...
Flawless finish and exceptional service. Custom Paint Jobs LLC is the only choice for me.
Window Depot did an amazing job on my deck. I wasnt sure what I wanted to do, but their composite decking was affordable and will last a long time. I am excited to have family over, and I am no longer embarrassed by my backyard. Jeff and the ground crew were polite, respectful, and caring for...
Wonderful company to work with. Very easy to get in touch with and communicate with. The cleaners do an excellent job and pay close attention to detail. Fair pricing, always dependable which I truly appreciate. They show up when they say they will, and my home is immaculate when they finish....
Great job...edging and pre clean up went well with a great job with seal coat. Friendly, efficient and professional.
Good workers and they do a good job.
Fantastic! Top Line was early for the appointment and very knowledgeable and took time to explain everything they had found during the home inspection. The report included clearly defined issues and what they recommended to remedy the same. The report also included many pictures to help...
Mary cleaning service does an amazing job cleaning my home. They go over and beyond the cleaning services that I have had in the past. They are very punctual and thorough with cleaning my home, I’m extremely happy with the service they provide and I highly recommend them.
From average costs to expert advice, get all the answers you need to get your job done.

Leveling your yard can help with drainage and prevent damage to your home. Learn the cost to level a yard and what factors can affect the price.

Get clear, up-to-date fill dirt cost info. Learn average prices, cost factors, and tips to save on your next fill dirt project.

You’ll need to estimate demolition waste to rent dumpsters or trucks for hauling it away. Learn how to calculate demolition debris with this guide.

This calculator will help you estimate how much sand you’ll need to complete your hardscape project.

Easily estimate how much concrete you need with our free concrete calculator. Convert dimensions to cubic yards or bags to avoid costly (and messy!) mistakes.

This calculator helps you estimate how much topsoil you need, so you can purchase materials and budget for your project, whether it’s for your lawn or garden.