Ordering dirt without doing the math first is how homeowners end up with a driveway pile that is either three yards short or two yards too many. A dirt calculator solves that problem by turning your measurements into a number a supplier can actually work with.
This guide walks you through exactly how the calculation works not just how to press a button. You will get the formula a full worked example common ordering mistakes & answers to the questions people ask most before they place an order.
By the end you will know how much dirt your project needs in cubic yards how that converts to tons & truckloads & when you should reach for a more specific calculator instead like one built for topsoil or fill dirt.
Key Takeaways
The Formula Is Simple but the Units Matter
Length times width times depth all in feet divided by 27 gives you cubic yards. The single most common error is forgetting to convert inches to feet before multiplying.
Material Type Changes the Calculation
Fill dirt topsoil & general dirt have different densities & different jobs so a project involving planting should lean on a topsoil specific tool for a more accurate figure.
Always Order a Buffer
Compaction spillage & measurement error typically eat up 5 to 10 percent of your calculated volume so rounding up protects you from a costly second delivery.
What is a Dirt Calculator Does & Why It Matters?
A dirt calculator takes three simple measurements & turns them into a volume figure you can hand straight to a supplier. It removes the guesswork that leads to wasted money or a second delivery trip.
The Core Job of the Tool
Enter the length width & depth of the area you are filling & the calculator converts those numbers into cubic yards & cubic feet. Most tools also estimate weight in tons so you know what a delivery truck is actually carrying.
Why Getting the Number Right Matters?
Suppliers sell dirt by the yard & most will not split a partial load without charging extra. Underestimate & you pay for a rushed second trip. Overestimate & you are stuck disposing of leftover material or paying for volume you never needed.
Dirt vs Topsoil vs Fill Dirt: Which One You Actually Need?

The word dirt gets used loosely but suppliers separate it into distinct products with different jobs. Picking the wrong one can mean a driveway base that will not compact or a garden bed that will not grow anything.
Fill Dirt
Fill dirt is the cheapest & most basic material usually a mix of subsoil clay & rock fragments. It is meant for filling holes raising grade or building a compacted base under a patio or shed not for growing plants.
Topsoil
Topsoil is the nutrient rich layer taken from the top few inches of the ground often screened to remove rocks & debris. It is the right choice for lawns flower beds & any spot where you actually want things to grow.
Plain or General Dirt
General dirt sits between the two & usually refers to a blended unscreened soil used for grading or leveling where appearance & fertility do not matter much. If your project involves growing anything a dedicated topsoil calculator will give you a more accurate figure than this general tool.
The Dirt Calculator Formula Explained

Every dirt calculator no matter how it looks on screen runs on one simple volume formula. Understanding it means you can double check any result by hand in under a minute.
The Formula
Volume in cubic yards equals length times width times depth all measured in feet divided by 27. The division by 27 converts cubic feet into cubic yards since one cubic yard contains exactly 27 cubic feet.
Variable Explanations
Length & width are the footprint of your area in feet measured along the ground. Depth is how thick you want the dirt layer & it needs converting from inches to feet before you multiply which means dividing your inch measurement by 12.
Required Inputs
You need three numbers before you start: the length of the area the width of the area & the depth you plan to fill it to. Round up slightly on irregular shapes rather than down since running short mid project costs more than a few extra dollars of material.
Step by Step: How to Calculate Cubic Yards of Dirt?
Working through the math by hand takes less time than most people expect & it helps you sanity check whatever number the calculator gives you.
Step One: Measure Your Area
Measure length & width in feet using a tape measure or a measuring wheel for larger spaces. For irregular shapes break the area into smaller rectangles & calculate each one separately.
Step Two: Convert Depth to Feet
Decide how deep you want the dirt typically 2 to 4 inches for topdressing a lawn or up to 12 inches or more for filling a low spot. Divide that inch measurement by 12 to get depth in feet.
Step Three: Multiply & Divide
Multiply length by width by depth to get cubic feet then divide by 27 to get cubic yards. This is the exact calculation the tool above runs the instant you hit calculate.
Worked Example: Filling a Backyard Low Spot
Numbers make more sense with a real project attached to them so here is a full calculation from start to finish.
The Project
Say you have a low spot in your backyard measuring 15 feet long & 10 feet wide & you want to fill it 6 inches deep. First convert 6 inches to feet which gives you 0.5 feet.
The Calculation
Multiply 15 by 10 by 0.5 to get 75 cubic feet. Divide 75 by 27 & you land on roughly 2.78 cubic yards which most suppliers will round up to 3 yards for delivery.
A Second Example: Raised Bed
If you are filling a raised garden bed instead the same formula applies but the depth is usually much greater often 12 to 18 inches. A 4 foot by 8 foot bed filled 12 inches deep needs about 32 cubic feet or roughly 1.2 cubic yards though a dedicated raised bed soil calculator accounts for soil settling that plain dirt calculations do not.
Converting Cubic Yards to Tons & Truckloads
Volume tells you how much space the dirt fills but weight tells you what your truck trailer or driveway access needs to handle. The two numbers are related but not identical.
Why Weight Matters Too?
A cubic yard of dirt typically weighs between 2,000 & 2,700 pounds depending on moisture content & compaction which works out to roughly 1 to 1.35 tons per yard. Wet dirt weighs noticeably more than dry dirt so treat any weight figure as an estimate rather than an exact number.
Estimating Truckloads
Standard pickup trucks generally haul half a yard to one yard safely while larger dump trucks can carry anywhere from 10 to 16 yards in a single trip. If your project needs more than a truck bed can carry your supplier will schedule multiple loads or send a larger vehicle.
Common Mistakes When Estimating Dirt?
Even simple math goes wrong when the inputs are off & a few mistakes show up again & again in dirt ordering.
Forgetting to Convert Inches to Feet
The most frequent error is plugging depth into the formula in inches instead of feet which inflates the result by a factor of 12. Always double check that every measurement is in the same unit before multiplying.
Not Accounting for Compaction
Loose dirt settles once it is spread & walked on sometimes losing 10 to 20 percent of its volume. Ordering exactly the calculated amount with no buffer often means running short before the job is finished.
Ignoring Irregular Shapes
Treating an L shaped or curved area as one simple rectangle usually overestimates or underestimates significantly. Breaking the space into smaller rectangular sections & adding the results together gives a far more accurate total.
Practical Tips for Ordering Dirt
A good number from the calculator is only half the job. How you use that number when placing an order matters just as much.
Add a Buffer
Most contractors add 5 to 10 percent extra to their calculated volume to cover settling spillage & minor measurement error. It costs less than a second delivery fee if you come up short.
Confirm the Material Type With Your Supplier
Ask specifically whether you are being quoted fill dirt topsoil or a blended product since pricing & quality vary widely between them. A supplier's definition of dirt is not always the same as yours.
Check Delivery Access Before Ordering Large Volumes
Dump trucks need clear solid access to your property & a driver may refuse delivery if a driveway cannot support the weight. Confirm access & any weight limits before scheduling a large order.
When to Use a Specialized Calculator Instead?
This calculator is built for general dirt & fill estimates but several projects benefit from a tool tuned to that specific material's density & typical use case.
If your project is a lawn or flower bed the topsoil calculator accounts for topsoil's lighter screened composition. For compaction & leveling jobs the fill dirt calculator is built around fill dirt's denser makeup.
Filling a garden bed calls for the raised bed soil calculator which factors in typical soil & compost blends rather than plain fill. If you are working with a specific material the loam calculator potting mix calculator or garden soil calculator will give a more precise figure than this general tool.
Finishing the Job: Dirt Topsoil & Mulch Together
Most landscaping projects do not end at the dirt layer. Once fill or topsoil is graded & settled a finishing layer of mulch is often added on top to lock in moisture & give beds a clean finished look.
If your project includes that final step the mulch calculator helps you figure out exactly how many bags or yards of mulch to order once your soil layer is in place.
Conclusion
Getting a dirt order right comes down to three honest measurements & one simple formula not guesswork or rounding up blindly. Once you know your length width & depth the calculator above turns that into a number you can hand straight to a supplier with confidence.
If your project involves planting rather than just filling jump over to the topsoil raised bed or fill dirt calculator for a figure tuned to that specific material. & once the soil is down & settled come back & use the mulch calculator to finish the bed the right way.
FAQs
How Much Does a Dirt Calculator Save Me Compared to Guessing?
It removes the two most expensive outcomes ordering too little & paying for a rushed second delivery or ordering too much & wasting money on unused material.
Is Fill Dirt the Same Thing as Topsoil?
No fill dirt is a basic compaction material for holes & grading while topsoil is the nutrient rich layer used for planting & growing.
How Many Cubic Yards Are in a Ton of Dirt?
It varies with moisture but a rough estimate is 0.75 to 1 cubic yard per ton since a cubic yard of dirt typically weighs 2,000 to 2,700 pounds.
Do I Need to Add Extra Dirt for Compaction?
Yes most professionals add 5 to 10 percent extra volume since loose dirt settles once it is spread & walked on.
Can I Use This Dirt Calculator for Gravel or Mulch Instead?
The volume formula works for any bulk material but density & weight per yard differ so use a material specific calculator for the most accurate tonnage figure.



