Mulch & soil calculator
Bed size and depth in, bags and cubic yards out. Works for mulch, garden soil, compost and pea gravel.
How the math works
Length × width gives the area in square feet. Multiply by the depth in inches and divide by 12 to get cubic feet. Divide cubic feet by 27 for cubic yards. For a circle, the area is 3.14 × the radius squared.
Bags come in a few standard sizes: mulch is usually sold in 2 cubic foot bags, some brands in 3, and bagged garden soil often in 1.5 or 0.75 cubic feet. Check the bag before you count.
Questions people ask
How many bags of mulch do I need?
Multiply the bed length by its width in feet, then by the depth in inches divided by 12. That gives cubic feet. Divide by 2 for the usual 2 cubic foot bag and round up. A 10 by 4 foot bed at 3 inches needs 10 cubic feet, so 5 bags.
How many cubic yards is that?
Divide the cubic feet by 27. Landscape yards and bulk suppliers sell by the cubic yard, which is usually cheaper than bags once you need more than about one yard.
How deep should mulch be?
Around 2 to 3 inches for most shrub and flower beds. Keep it a few inches away from stems and tree trunks so the bark stays dry.
How much soil do I need for a raised bed?
Use the bed’s inside length and width and the depth you plan to fill. A 4 by 8 foot bed filled 10 inches deep holds about 26.7 cubic feet, roughly one cubic yard. Soil settles, so add about 10 percent.