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

7 Responses

  1. traders says:

    After this lecture several things you need informations about are much more obvious, so I wanted to thank you for these information. Many, many thanks!

  2. Julie Swanson says:

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

  3. 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.

  4. 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.

  5. 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

  • How to Make a Rustic

    How to Make a Rustic Desk Like the One at Blog

  • Love Blog Cabin's st

    Love Blog Cabin's stump coffee table? Here's how

  • Mega Dens Goes to Bl

    Mega Dens Goes to Blog Cabin

  • Grundy in Floaties

    Grundy in Floaties

More Great Blogs