Everyday math calculator
Topsoil calculator
Find how many cubic yards or bags of topsoil you need and compare the cost.
How to calculate topsoil
Cubic feet = length (ft) × width (ft) × depth (in) ÷ 12. Cubic yards = cubic feet ÷ 27. Bags = cubic feet ÷ bag size, rounded up.
Worked example
A 20 x 10 ft bed, 3 inches deep, needs 50 cubic feet. That is 1.85 cubic yards or 67 bags of 0.75 cubic feet.
Assumptions and limits
Assumes a rectangular area with even depth. Soil settles after watering, so suppliers may suggest ordering extra. Delivery and tax are not included.
How much topsoil you need
| Area | Depth | Cubic feet | Cubic yards | 0.75 cu ft bags |
|---|---|---|---|---|
| 4 × 8 ft | 6 in | 16 | 0.59 | 22 |
| 10 × 10 ft | 2 in | 16.67 | 0.62 | 23 |
| 20 × 10 ft | 3 in | 50 | 1.85 | 67 |
| 25 × 40 ft | 4 in | 333.33 | 12.35 | 445 |
| 50 × 20 ft | 6 in | 500 | 18.52 | 667 |
Common mistakes to avoid
- Entering depth in feet. The calculator expects inches.
- Not allowing for settling. Order a little extra for new beds.
- Comparing bag and bulk prices without converting to the same unit, usually cubic yards.
Privacy
Values are processed in your browser and are not sent to Earnwell Atlas. Your host may still record standard visit logs.
Frequently asked questions
How much topsoil do I need?
Multiply length in feet × width in feet × depth in inches, then divide by 12 for cubic feet. Divide by 27 for cubic yards. A 20 × 10 foot bed 3 inches deep needs 50 cubic feet, or about 1.85 cubic yards.
How many bags of topsoil make a cubic yard?
A cubic yard is 27 cubic feet, so it takes 36 bags of 0.75 cubic feet or 27 bags of 1 cubic foot.
Is it cheaper to buy topsoil in bulk or in bags?
For larger areas, bulk delivery by the cubic yard is often cheaper per yard than bags. Enter both prices to compare.
How deep should topsoil be for a new lawn?
Many guides suggest about 4 to 6 inches for new lawns. Check advice for your soil and grass type.
Built and maintained by Faris Dinware, founder of Earnwell Atlas. Last updated 29 November 2026. How we build and check these tools.