Topsoil calculator: cubic yards and bags for a lawn or bed
Enter the length and width of the area in feet, the depth of topsoil in inches, and an extra percentage if you want to allow for settling or uneven ground. The tool returns cubic feet, cubic yards to order and bag count. It is not a soil test, a weight estimate or a recommendation for how deep to spread.
Area and depth
Formulas for Topsoil calculator
V = L × W × (d / 12)
V with extra = V × (1 + s / 100)
Cubic yards = V with extra / 27
Bags = V with extra / bag size, rounded up
Where L = length in feet; W = width in feet; d = depth in inches; V = volume in cubic feet; s = extra for settling in percent; bag size = cubic feet of soil in one bag.
Cubic yards equal square feet times depth in inches divided by 324, which this page does in two steps.
The extra percentage is yours to choose; the page does not recommend one.
Checked examples for Topsoil calculator
A 20 × 10 ft area covered 6 in deep takes 100 ft³, or 3.704 yd³, which is 67 bags of 1.5 ft³.
A 15 × 8 ft bed filled 4 in deep with 12% extra needs 44.8 ft³, or 1.659 yd³, which is 23 bags of 2 ft³.
Limits of Topsoil calculator
The area is treated as a flat rectangle with even depth. Loose soil settles after it is spread and watered. Ask your supplier whether their yard is measured loose or settled. Length, width and depth must be above zero. Not for: soil weight or truck-load limits; soil type, nutrient or pH advice; slopes, mounds or irregular outlines (split into rectangles); compost or mulch (use the mulch calculator).
Texas AgriLife Extension (hosted by UC ANR): How Much Compost, Soil or Mulch Do I Need to Purchase?.