Raised Bed Soil Calculator

Enter your bed's length, width, and height to get the total soil volume, a suggested topsoil / compost / aerator mix, and bag counts rounded up to what you can buy.

Volume (ft³)

35.2

Volume (yd³)

1.31

1.5 ft³ bags

24

  • Screened Topsoil

    Provides mineral base and structure.

    21.2 ft³
  • Finished Organic Compost

    Adds beneficial biology, slow-release nutrients and organic matter.

    10.6 ft³
  • Perlite or Pumice (Aerator)

    Improves drainage and prevents soil crusting.

    3.6 ft³
Enter your local prices to see an estimated cost.

How we calculate this

Volume = length (ft) × width (ft) × height (in ÷ 12), converted to cubic yards by dividing by 27. We add your waste margin (10% by default) on top, then split the total into a topsoil / compost / aerator mix by percentage. Bag counts are rounded up — you can always have a little extra soil, never too little.

Estimates only. Check local codes and product labels. Read our full disclaimer.

Popular Standard Sizes & Material Takeoffs

Instant material lists, bag counts, and buying guides pre-calculated for standard project dimensions:

Soil for common raised bed sizes

Includes a 10% margin for settling. Bags are 2 cu ft, rounded up.
Bed sizeDepthSoil (cu ft)Cubic yards2 cu ft bags
2×4 ft12 in8.80.335
3×6 ft12 in19.80.7410
4×4 ft12 in17.60.669
4×8 ft6 in17.60.669
4×8 ft12 in35.21.3118
4×8 ft18 in52.81.9627
4×12 ft12 in52.81.9627

FAQ

How many bags of soil do I need for a 4×8 raised bed?

A 4×8 ft bed filled 12 in deep holds 32 cu ft. With a 10% margin for settling that's about 35.2 cu ft, or 18 bags of 2 cu ft (24 bags of 1.5 cu ft).

What soil mix should I fill a raised bed with?

The calculator defaults to 60% topsoil, 30% compost and 10% aerator (perlite, vermiculite or pumice), a common all-purpose blend for vegetables. Plain topsoil alone packs down in a contained bed; the compost adds nutrients and the aerator keeps it draining.

Should I buy bagged or bulk soil?

Bulk soil is sold by the cubic yard (27 cu ft) and usually costs less per cubic foot, but most suppliers have a delivery minimum. For less than about 1 cubic yard, bags are often simpler. Enter both prices in the shopping list to compare.

How much does one cubic yard of soil fill?

One cubic yard is 27 cu ft: enough for a 4×8 ft bed about 10 in deep, or a 4×4 ft bed about 20 in deep.

Embed this calculator

Run a gardening blog or a landscaping business? Add this calculator to your own site for free. Paste the code below into any page; it stays up to date automatically.

Related guides

Plants to grow

Related: Raised bed guides · Raised Bed Lumber Calculator