Gardening By the Numbers: How to Calculate Cubic Feet and Cubic Yards

What seems like simple math may not be so simple for some, but it's crucial when ordering soil, mulch or compost. Get answers without anyone knowing you asked.

Earlier this spring, we installed a new raised garden bed at our house, bringing in additional soil and compost to get a nutrient-rich garden. While I’ve learned a thing or two about gardening over the past few growing seasons, I still have trouble figuring out how much soil I need to fill a raised bed or even a container. Cubic feet. Cubic yards. It all makes my two-dimensional head spin a little bit!

Here’s what I did. I measured my new garden bed at approximately 150 square feet, considered adding about 6 inches of soil, so calculated that as 75 cubic feet. To translate to yards, I divided by 3 (as there are 3 feet in a yard) and got 25 cubic yards.

That is SO wrong.

Some of you might be laughing, wondering how this simple math could be hard for anyone. My husband certainly makes fun of me for my lack of third-dimension visualization, but I know I’m not the only one. Here, let’s try your knowledge — and no peeking ahead.

Do you have your answer?

OK, now you can look below and see if you were right.

You may have noticed that we rounded up to 1/5 (.2) from .185 to make the amount more usable, so if you got 1.185, you’re right. But if you didn’t get anywhere close on the first try, don’t feel too bad. Maybe they just said it to make me feel better, but the landscaping company around the corner from our house told me that people get it wrong all the time, often doing what I originally did and WAY overestimating the amount of soil needed in cubic yards. Thankfully, they stopped me before I bought 25 cubic yards of compost, which may well have covered our entire yard.

So that you (and I) don’t ever make that mistake again, see below for a lesson on how to calculate cubic feet and cubic yards. We’ll use a standard size for a basic raised bed garden: 4 x 8 x 1 feet.

Step 1. Start by taking the measurements of your bed or container in increments of feet: width, length and depth (aka height). If you want to prep an in-ground bed by working in 6 inches of soil or compost, you can count that as your depth measurement, but you’ll need to factor 6 inches as .5 feet. (Note: Square footage would just be the length x width, not including the depth.) 

Step 2. Now multiply width x length x depth to get cubic feet. Bagged soil and compost are often measured in cubic feet, so this measurement should help you purchase the right number of bags for your bed or container. 

Step 3. Now, moving on to cubic yards. If you have a larger garden bed, it’ll be more cost effective to buy soil and compost in cubic yards. You can see here how a cubic foot fits into a cubic yard. Essentially, a cubic yard is made of 27 (3 x 3 x 3) cubic feet. (P.S. This whole cubic yard diagram reminds me think a lot of a Rubik’s cube.)

Step 4. So to calculate the amount of cubic yards, take your cubic feet measurement (length x width x depth) and divide by 27. (See my earlier mistake here? I just divided by 3.)

Step 5. For reference, it’s been my experience that a cubic yard or so of soil will fill the bed of a small pickup truck (+/- depending on the water content and fluffiness of the soil and the size of your bed). 

Step 6. Getting the soil right goes a long way toward growing a successful garden, so it’s important to get your measurements right. Good luck! 

Next Up

Fall Gardening, Planting and Lawn Care Tips

The gardening season isn't over when the weather gets cooler.

Garden Smart with Simple Stone Labels

Take the guesswork out of gardening with clearly labeled fruits and vegetables.

Seed Starting 101

Start your seeds in soil blocks to produce robust transplants for your garden without the wasted expense of starter pots.

Making Good: Raising Men Lawn Care Service

Learn how young men and boys are giving back by providing free lawn care to the elderly, disabled and single moms.

Gardening Naked: Grand Idea or Epic Fail?

World Naked Gardening Day is coming up soon, but gardening in the buff may not be as freeing as it sounds.

How to Pick the Best Perennials for Your Yard

Whether you're in the sun or shade, check out this compilation of easy-to-grow perennials, many of which are deer resistant. 

Top 5 Gardening Mistakes

Get your garden back on track by avoiding these common blunders.

Gardening 411: Planning an Herb Garden

Get your green thumb to work and plant these favorite herbs in the garden.

10 Clever Landscaping Ideas and Gardening Trends

Check out cool new ideas seen at the 2016 GWA: The Association for Garden Communicators Conference. 

How to Make a Flower Basket Tote

Learn how to make a simple wooden crate that doubles as a fun twist on a traditional basket.

What We're Loving Now

More From the Archives

Browse through our archives to discover "why-didn't-I-think-of-that" projects, cool hacks and  genius DIY ideas.

Read Our Previous Posts

Meet the Team

About the Team

Get to know the crafty, creative writers and editors behind DIY's Made+Remade blog. 

Go Behind the Blog