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

learn to calculate soil amounts for your raised bed garden

(Illustration by Mark Schafer)

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.
calculating cubic yards for a raised bed garden
Do you have your answer?

OK, now you can look below and see if you were right.
calculating cubic yards for a raised bed garden
We actually rounded up to 1/5 (.2) from .185 to make the amount more usable, so if you got that, you’re still 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

 Open Gallerymeasure a 4 x 8 foot raised bed

(Illustration by Mark Schafer)

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

 Open Gallerymultiply length times width times height to figure cubic feet

(Illustration by Mark Schafer)

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

 Open Galleryhow a cubic foot compares to cubic yard

(Illustration by Mark Schafer)

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 a lot of a Rubik’s cube.)

Step 4

 Open Galleryhow to calculate cubic yards

(Illustration by Mark Schafer)

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

 Open Gallerya small truck bed will hold about 1.5 cubic yards of soil or compost

(Illustration by Mark Schafer)

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

 Open Galleryfiguring soil amount needed for a raised bed

(Illustration by Mark Schafer)

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

About Kelly Smith Trimble 


I grow vegetables wherever I can find enough sunlight and forage roadsides and hiking trails for plants that can be used to make natural dyes. You can find both vintage ...

More About Kelly Smith Trimble

10 Responses

  1. new year says:

    wonderfull website thanks for writing that nice content actualy you put here a lot of the work thanks. new year 2016 happy new year 2016 ghj

  2. small box trailer says:

    It has fully develop how you calculate the feet and yards and come up with a perfect figure.

  3. says:

    It has develop into a regular weight loss plan for all people in the west and
    in Asia. I hope you will learn from my mistakes,
    and avoid them. Make your appliances work for you,
    and not the other way around.

  4. Tony_Preston says:

    I'm really sorry to say this, but this is why the metric system is awesome. But we still do count in feet and yards when it comes to measuring out picket fencing in the gardens though. What a weird world.

  5. Julie Swanson says:

    Wow! Not everyday I have to rely on my fourth grade math skills! Haha. Thanks for the lesson!

  6. Guest says:

    I used to sell the raised bed kits at a " national box store" and would try to help customers buy the soil, but dividing be 27 threw so many off that I would like the customers try to figure it out. We have one assembled in the store and I would set bags of dirt in it to give them a visual.

  7. Kelly Smith Trimble says:

    Hi YankeeNuke, It's actually 32/27 but you're right that 1-1/5 is slightly off. We rounded up to .2 (1/5) from .185.

  8. YankeeNuke says:

    I believe that 1-1/5 cubic yards is wrong 27/32 is 1-5/32 cubic yards.

Leave a Reply

More Posts Like This One

Latest Pins on Pinterest

  • Tour the DIY Network

    Tour the DIY Network Blog Cabin Master Bedroom

  • Geode-Inspired Artwo

    Geode-Inspired Artwork

  • Built-In Storage Und

    Built-In Storage Under the Stairs

  • The master bedroom f

    The master bedroom features a laundry chute.

More Great Blogs

  • no items!