Garden Bed Soil Calculator

Enter the inside size of your raised bed to estimate how much soil or mix you need.

Two people planning and working together on a raised garden bed.

How to use this calculator

  1. Measure the inside length, width, and depth of the bed.
  2. Enter the bag size printed on your soil or mix bag.
  3. Many gardeners add a little extra to allow for settling.

Results are estimates for a rectangular bed. Bag sizes vary by brand, so check the label.

How the garden bed soil calculator works

The calculator multiplies your bed's length, width, and depth to find the total volume of soil or mix you need, then converts that volume into the bag size you enter and rounds up to a whole number of bags, since partial bags aren't sold.

Frequently asked questions

Why does the calculator suggest adding extra for settling?

Loose soil and bagged mixes compact once they're watered in and settle over the first few weeks, so the bed can end up noticeably lower than when it was first filled. Raised bed soil subsides over time from settling and decomposition, so gardeners need to add soil periodically to keep the bed full.

How do I convert between cubic feet and cubic yards?

There are 27 cubic feet in 1 cubic yard. To convert cubic yards to cubic feet, multiply by 27. To convert cubic feet to cubic yards, divide by 27.

Should I use 100% topsoil in a raised bed?

University of Maryland Extension suggests filling raised beds with a mixture of compost and topsoil. Blends vary, so check what your specific plants prefer.

Planning more than soil?

If you're laying out the whole bed or yard to scale, our Room Layout Calculator can help you sketch the space and furniture or bed placement on a grid.

Try the room layout calculator →