Home›Soil Calculator
Soil Calculator
Find out how much topsoil or garden soil you need for raised beds, gardens and lawns — in cubic yards and bags. Enter length, width and depth, and the calculator adds a waste allowance and estimates the cost.
Calculate your soil
Your results
How the soil formula works
Soil is sold by volume (cubic yards) or in bags. The volume of a rectangular bed is its length × width × depth — the only trick is keeping the units consistent, because depth is usually measured in inches while length and width are in feet.
Volume in cubic feet = length (ft) × width (ft) × depth (in) ÷ 12
Cubic yards = cubic feet ÷ 27
Combined: cubic yards = L × W × depth (in) ÷ 324 (because 12 × 27 = 324)
Bags = cubic feet ÷ bag volume. A 40 lb bag holds 0.75 cu ft, so one cubic yard (27 cu ft) is about 36 × 40 lb bags.
Weight is an estimate only — it varies with moisture. Topsoil weighs roughly 2,000–2,700 lb per cubic yard; wet soil is far heavier than dry soil.
Soil settles after watering and rain, so always add a waste allowance — 10% for a flat bed, 15% for irregular edges.
Worked example
A raised bed 4 ft × 8 ft, filled 12 inches deep:
4 × 8 × 12 ÷ 324 = 1.19 cubic yards (32 cubic feet)
With 10% waste: 1.31 cubic yards (35.2 cubic feet)
Bags: 32 ÷ 0.75 = 43 × 40 lb bags (47 bags with 10% waste)
Cost: bulk at $35/yd³ ≈ $46 (1.31 yd³ with waste); bagged at $4/bag ≈ $188 (47 bags)
For a bed this size, bulk topsoil is far cheaper than bags — and you can mix in compost on top for planting.
How much does soil cost? (US, 2026)
Prices vary by region and quality. Use these ranges as a starting point and check local prices before ordering.
| Option | Typical price |
|---|---|
| Bulk topsoil, per cubic yard | $25–$50 |
| Bulk garden soil, per cubic yard | $35–$65 |
| Bagged soil, 40 lb bag | $3–$6 |
| Bulk compost, per cubic yard | $30–$60 |
| Delivery (bulk, local) | $50–$100 per load |
Waste allowance
Add 10% for a flat, even bed. For irregular edges or a bed that will settle, use 15%. Soil compacts after watering and rain, so a bed filled exactly level will drop below the rim within weeks — a little extra now saves a second trip later.
Frequently asked questions
What is the difference between topsoil and garden soil?
Topsoil is the base layer — plain screened soil. Garden soil is topsoil blended with compost and organic matter, so it is ready to plant in. Use topsoil to fill and level, garden soil for beds you will plant straight into.
How deep should soil be for vegetables?
12 inches is the minimum for most vegetables. Shallow-rooted herbs and lettuce manage with 6 inches, but deep-rooted crops like carrots and tomatoes need 12–18 inches.
How many 40 lb bags of soil in a cubic yard?
About 36 bags. One 40 lb bag holds 0.75 cubic feet, and a cubic yard is 27 cubic feet (27 ÷ 0.75 = 36).
How much does a cubic yard of topsoil weigh?
Roughly 2,000–2,700 lb, depending on moisture — wet soil is far heavier than dry soil. Check with your supplier before ordering a truckload.
Is bulk delivery or bags cheaper for soil?
Bulk delivery is far cheaper per cubic yard for beds over about 1 cubic yard. Bags only make sense for small jobs, like topping up a single raised bed.