Calculate exactly how much dirt, topsoil, or fill dirt you need in cubic yards, cubic feet, and tons — plus bags needed and estimated cost — based on your area’s size, shape, and depth.
Bed shape
Results
Area
0 sq ft
Volume
0 cu ft
Cubic yards
0 yd³
Estimated weight
0 tons
Weight is an estimate — actual density varies by moisture content and compaction. 1 cubic yard of average topsoil weighs roughly 1 to 1.3 tons.
Convert volume to bags
1 cubic yard = 27 cubic feet, so bag count depends on the bag size you buy.
Results
Total volume
0 cu ft
Bags needed
0 bags
Estimate total cost
Results
Material cost
$0
Total estimated cost
$0
Prices vary by supplier and region — use your local vendor's quote for a precise total.

This dirt calculator helps you figure out exactly how much dirt, topsoil, fill dirt, or garden soil you need for any project, from a small flower bed to a full backyard grading job. Instead of guessing or over-ordering, enter the size and depth of your area and the calculator instantly converts that into cubic yards, cubic feet, estimated weight in tons, the number of bags required, and a rough cost estimate.
It works as a combined yards of dirt calculator, cubic yard of dirt calculator, and dirt weight calculator in one tool, so you don’t need to jump between three different pages or run the math by hand. Whether you’re filling a raised bed, leveling a yard, backfilling a foundation, or topping off a lawn, this tool covers the calculation from start to finish.
It’s part of the full set of landscaping tools available on our mulch calculator that estimates total cost homepage, so if your project also needs mulch or topsoil, you can size those up in the same place.
The calculator follows the same formula contractors and landscapers use to estimate dirt, fill, and topsoil orders. Here’s the process, step by step:
Under the hood, the math is straightforward:
This is the exact same formula used behind a mulch calculator or topsoil calculator, just applied to dirt and fill materials with their own density values.
Once you enter your measurements, the calculator returns four key numbers:
Cubic yards is the unit almost every bulk supplier prices by, so this section walks through exactly how the yards-of-dirt calculator arrives at that number.
Example: say you’re filling a 10 ft × 10 ft garden bed at a 3-inch depth.
So for that bed, you’d order roughly 1 cubic yard of dirt from your supplier, rounding up slightly to avoid coming up short.
The same yards-of-dirt calculator logic applies no matter the size of the project—a driveway, a 10-yard grading job, or a small planter all use the identical area × depth ÷ 27 formula. Only the numbers you plug in change. If your area isn’t a simple rectangle, use the circle or triangle option in the tool above, and the calculator will still return your total in cubic yards automatically.
This tool works as a dirt removal calculator just as well as a fill calculator — the formula doesn’t change, only the direction the dirt is moving.
If you’re a contractor or DIYer sizing up a dirt estimator for new construction — a shed pad, garage pad, driveway base, or house pad — here’s how to use the tool above for that:
This gives you a fast dirt pad calculator figure without waiting on a formal excavation quote.
Black dirt” is a regional name (common in the Midwest and Northeast) for dark, nutrient-rich topsoil used for lawns, gardens, and general grading. There are no separate settings for it—just use the Topsoil material option in the calculator above. Black dirt and topsoil share a similar density, roughly 1 to 1.3 tons per cubic yard, so your volume, weight, and cost estimates will come out accurate either way.
| Depth | Cubic yards needed |
|---|---|
| 1 inch | 0.31 yd³ |
| 2 inches | 0.62 yd³ |
| 3 inches | 0.93 yd³ |
| 4 inches | 1.23 yd³ |
| 6 inches | 1.85 yd³ |
| 12 inches (1 ft) | 3.7 yd³ |
One cubic yard of dirt equals 27 cubic feet. That’s the volume of a cube measuring 3 feet on each side, and it’s the standard unit most bulk suppliers use for pricing and delivery.
A cubic yard is 3 feet long, 3 feet wide, and 3 feet deep. In practical terms, one cubic yard of loose topsoil covers about 100 square feet at a 3-inch depth, or roughly 300 square feet at a 1-inch depth.
It depends on the material and moisture content, but as a general rule, 1 cubic yard of topsoil weighs roughly 1 to 1.3 tons. Fill dirt and compacted soil run slightly heavier, while sand and gravel are denser still. This calculator adjusts the weight estimate automatically based on the material you select.
Multiply the length by the width of your area to get square footage, then multiply by your desired depth (converted to feet) to get cubic feet. Divide by 27 to convert to cubic yards. This calculator does that conversion for you automatically once you enter your dimensions.
It depends on the bag size. A standard 0.75 cubic foot bag means you’ll need about 36 bags to equal 1 cubic yard. Larger 2 or 3 cubic foot bags need far fewer bags for the same volume. Use the bags tab in this calculator to get an exact count for the bag size you’re buying.
Topsoil is nutrient-rich soil meant for planting, lawns, and gardens. Fill dirt is typically subsoil with little organic matter, used for grading, leveling, and backfilling where plant growth isn’t the goal. Fill dirt is usually cheaper and denser than topsoil.
Bulk (by the cubic yard) is almost always cheaper per unit for anything over about 1–2 cubic yards, but it typically requires delivery and space to dump the pile. Bagged dirt costs more per cubic yard but is easier to transport and store for small projects.
Prices vary by region, material, and supplier, but bulk topsoil and fill dirt commonly range from $15 to $50 per cubic yard before delivery. Use the cost tab in this calculator with your local supplier’s price to get an accurate total.
Break the area into simpler shapes—rectangles, circles, or triangles—calculate each one separately, then add the volumes together. This calculator supports all three shapes individually so you can total them up for irregular spaces.
Dirt is measured by volume, not weight, when you’re placing an order—almost always in cubic yards for bulk/truckload delivery or cubic feet for small or bagged amounts. Suppliers calculate volume as length × width × depth, then divide cubic feet by 27 to get cubic yards. Weight in tons is a secondary number, used mainly for delivery truck limits and driveway load capacity.
Measure your pad’s full footprint (length × width), then multiply by your required compacted fill depth—typically 6 to 12 inches for sheds and small structures, more for engineered pads. Use the rectangle option above with “Fill dirt / compacted soil” selected to get an accurate cubic yard and tonnage figure.
Yes. The same area × depth ÷ 27 formula applies whether you’re filling a space or calculating how much dirt to remove and haul away. Enter the dimensions of the hole, trench, or area you’re excavating, and remember to add 15–25% for soil swell once it’s dug up.
Not really—”black dirt” and “topsoil” refer to essentially the same material in most regions: dark, organic-rich soil used for lawns and gardens. Use the topsoil setting in the calculator above for accurate black dirt estimates.
They’re two ways of asking the same question. A “coverage calculator” usually starts from area and depth to find volume (how much dirt to order), while an “amount calculator” starts from a target volume and works backward. This tool handles both directions — enter your area and depth to get volume, or use the bags/cost tabs to work from a known cubic yard amount.
Whatever your project size, this dirt calculator is built to give you an accurate, no-hassle estimate before you order.

A mulch calculator estimates the amount of mulch needed for landscaping projects quickly and accurately.
Street 7171 W Irving Park Rd, Chicago, Illinois, 60634, United States
Email: info@mulchcalculatoronline.com
Disclaimer
The results provided by this mulch calculator are for estimation purposes only. Calculations are based on the measurements and depth you enter and are intended as a general guide to help you plan your project. Actual material needs may vary depending on settling, waste, irregular bed shapes, and the specific mulch product you purchase. We recommend adding 10–15% to your estimated total to account for variations. Always consult your local supplier for product-specific coverage rates before placing a final order. We are not responsible for over-purchasing, under-purchasing, or any costs incurred based on estimates generated by this tool.
© All Rights Reserved.