Reviewed and updated: August 2026
Calculate exactly how much topsoil you need for lawns, garden beds, raised planters, or fill projects. Enter your area dimensions and depth to get cubic yards, bag count, and estimated cost instantly.
Use this calculator for any topsoil project: new lawns, garden beds, raised planters, or patching bare spots. Enter your length, width, and depth in feet and inches. The calculator includes a 10% overage to account for settling and uneven application, which is standard practice for any bulk landscape material order.
The formula is: Length (ft) × Width (ft) × Depth (ft) ÷ 27 = Cubic yards. Since topsoil settles after placement, always add 10%. For a 20 × 15 ft area at 4 inches deep: 20 × 15 × (4 ÷ 12) = 100 cubic feet. Add 10%: 110 cu ft ÷ 27 = 4.07 cubic yards. At $35 per yard, that's roughly $142 in material cost before delivery.
Bags are sized differently from bulk. A standard 40 lb bag contains about 0.75 cubic feet of topsoil. A 1 cubic foot bag is also common at garden centers. For bulk orders, topsoil is priced and delivered by the cubic yard. The calculator's bag count uses 1 cubic foot bags for easy comparison shopping.
| Application | Recommended Depth | Notes |
|---|---|---|
| New lawn from seed | 4–6 inches | Minimum 4" for proper root establishment |
| New lawn from sod | 4–6 inches | Sod roots integrate at 4–6 weeks |
| Topdressing existing lawn | ¼–½ inch | More than ½" can smother existing grass |
| Vegetable garden bed | 8–12 inches | Deeper for root vegetables (carrots, parsnips) |
| Flower bed | 6–8 inches | Mix with compost for improved drainage |
| Raised planter box | Fill to within 2" of top | Use topsoil/compost blend, not 100% topsoil |
| Leveling low spots | As needed (max 2" per application) | Tamp and allow to settle before adding more |
| Tree/shrub planting | 2–3× root ball depth | Backfill with amended native soil, not pure topsoil |
Not all topsoil is the same. Here's what to ask your supplier about before ordering:
| Type | Description | Best For | Price Range |
|---|---|---|---|
| Premium screened topsoil | Dark, crumbly, debris-free | Lawns, garden beds | $35–$55/yd |
| Topsoil/compost blend | 30–50% compost mixed in | Raised beds, vegetable gardens | $45–$75/yd |
| Sandy loam topsoil | Higher sand content | Vegetable gardens, drainage-sensitive areas | $35–$50/yd |
| Unscreened topsoil | May contain rocks, roots, clay | Fill areas only, not for planting | $15–$30/yd |
| Fill dirt | Subsoil with little organic matter | Grade fill, under hardscaping | $10–$25/yd |
For small projects under 2 cubic yards, 40 lb bags from a garden center are most convenient: no delivery minimum and no truck access needed. Over 2 yards, bulk topsoil delivered by dump truck is significantly cheaper, typically $25–$55 per yard compared to the equivalent of $60–$90 per yard in bagged product. For new lawn projects covering more than 500 square feet, bulk delivery almost always makes more financial sense.
Freshly placed topsoil is loose and full of air pockets from being dug, screened, loaded, and dumped. Once it's watered and left to sit, gravity and moisture compact those pockets closed, and the surface drops. This is normal and unavoidable, not a sign of bad topsoil, but it catches a lot of first-time DIYers off guard when a lawn they graded perfectly develops a slight dip a few weeks later.
Settling typically runs 10 to 20% of the placed depth, more for loose, high-organic-matter topsoil and less for denser, sandier mixes. A 4 inch layer might settle to roughly 3.2 to 3.6 inches once fully compacted. There are two practical ways to handle this: overfill and let it settle before finishing the grade (add roughly 15% extra depth, water thoroughly, wait 1 to 2 weeks, then true up the surface), or place your final depth, water it in immediately with a light tamp or roller, and accept a small amount of continued settling over the following month. For anything you're grading to a precise finish elevation (against a patio, walkway, or drainage swale), the overfill-and-wait method gives a far more accurate final result.
Pure topsoil is a poor choice for raised beds and containers on its own. In an open ground bed, topsoil benefits from the surrounding native soil for drainage and biological activity; in the confined, elevated environment of a raised bed, straight topsoil compacts over a single season, drains poorly, and can actually perform worse than a proper blend.
A commonly used and reliable raised bed mix is roughly 50 to 60% quality topsoil, 30 to 40% compost (for nutrients and biological activity), and 10% coarse material like perlite, vermiculite, or coarse sand (for drainage and to prevent compaction). Some gardeners use the "square foot gardening" mix instead: equal parts compost, peat moss or coco coir, and vermiculite, with no mineral topsoil at all, though this tends to need more frequent fertilizing since it lacks topsoil's native mineral content.
Whichever blend you use, fill to within about 2 inches of the top of the bed. Filling completely to the rim means soil (and mulch) washes out with every heavy watering, and leaves no room to top-dress with compost each season without overflowing.
Also planning gravel or base material? Read our step-by-step gravel estimation guide. For seeding a new lawn, see our sod calculator.