Excavation Cost Calculator
An excavation estimate is dig volume in cubic yards times the dig rate, plus soil hauling, imported backfill and permits. A 30 x 18 x 3 foot dig is 60 cubic yards, and at $5 to dig, $8 to haul and a $150 permit it totals $930, or $15.50 per yard.
All calculations run in your browser. Nothing you type is uploaded anywhere.
Turn a dig into cubic yards, then price digging, hauling spoil off site, imported backfill and permits to see the total and the cost per yard.
Key takeaways
- Volume in cubic yards = length x width x depth in feet, divided by 27
- Example A: 30 x 18 x 3 = 1,620 cubic feet, which is 60 cubic yards, and the job totals $930 with dig, haul and permit
- Example B: 54 x 40 x 10 = 21,600 cubic feet, or 800 cubic yards, and the job totals $13,400 at $16.75 per yard
- OSHA requires a protective system in trenches 5 feet deep or deeper, with daily inspections by a competent person
- Hauling spoil off site often outprices the dig itself, so state the export share every bid assumes
On this page
What an Excavation Quote Includes
An excavation quote is a price for moving dirt, and it breaks into four separate jobs that often come from the same crew on the same days: digging the hole, carrying the spoil off site, bringing engineered material back in, and satisfying the permit office. Contractors price the work either by the machine hour or by the cubic yard. Hourly billing rewards slow work, so most competitive bids convert the job into yards first. The calculator above follows the same order: volume, then dig rate, then hauling, then backfill, then permit.
The dig itself is the visible part, but it is rarely the expensive part once the dirt leaves the property. Spoil that stays on site to be spread later costs almost nothing extra. Spoil that leaves on trucks costs a load out charge plus a disposal or reuse fee per yard. Every yard you also replace with imported fill pays twice: once to haul the native soil out and once to bring fill in. A bid that looks cheap against another may only be assuming that all the dirt stays in the yard.
Finally, permits and inspections are flat local fees, and some cities require a separate grading or right of way permit when trucks cross a sidewalk. Ask which of the four jobs each line on a quote covers before you compare totals.
The Volume Formula: Cubic Feet to Cubic Yards
Dirt is bought and sold by the cubic yard, so the first calculation converts your hole into those units. Volume in cubic feet = length x width x depth, each measured in feet. Then cubic yards = cubic feet / 27, because one yard is three feet and one cubic yard is 3 x 3 x 3 = 27 cubic feet.
Example A on this page is a pool excavation 30 x 18 x 3 = 1,620 cubic feet, and 1,620 / 27 = 60 cubic yards. Example B is a basement footprint 54 x 40 x 10 = 21,600 cubic feet, and 21,600 / 27 = 800 cubic yards. Both numbers are the quantities every other line in the estimate multiplies.
Two adjustments belong in the number you type in. First, banks of a deep hole are cut on a slope so they do not collapse, which widens the top of the dig; planning a 10 to 20 percent volume adder for slopes is common on holes deeper than about 4 feet. Second, over excavation, the practice of digging a few extra inches below grade and filling with stone, adds depth that never shows in the finished drawing. Measure the dig the crew will make, not the hole the building will occupy, and the rest of the estimate stays honest.
Turning Volume into Cost: Dig, Haul, Backfill, Permit
The calculator adds four lines to the cubic yard total.
1. Dig cost = cubic yards x dig rate. This covers the machine, the operator and the crew time on site.
2. Hauling = cubic yards exported x haul rate. This covers trucking and the off site disposal or reuse fee for every yard that leaves.
3. Backfill = cubic yards imported x backfill rate, where imported yards = volume x backfill percent. Engineered fill or stone you bring back in is priced at its delivered rate.
4. Permit fees, a flat local amount.
Written out: total = (cy x dig rate) + (cy x haul rate) + (cy x backfill percent / 100 x backfill rate) + permit. The table shows each line priced for Example A, the 60 cubic yard pool dig.
| Line | Formula | Example A value |
|---|---|---|
| Digging | 60 cy x $5 per cy | $300 |
| Hauling off site | 60 cy x $8 per cy | $480 |
| Backfill | 60 cy x 0 percent x $5 per cy | $0 |
| Permit | flat fee | $150 |
| Total | sum of the lines | $930 ($15.50 per cy) |
Notice that hauling alone outprices the dig at these rates. That ratio is normal when the spoil leaves the property, and it is the line worth challenging first: if half the dirt can be graded on site instead of trucked away, the haul line drops almost in half.
Planning Rates and Machine Hours
Market cost data collected from contractors across US cities put general excavation at $2.50 to $15.00 per cubic yard, with typical whole jobs landing between $1,100 and $5,600 (HomeGuide contractor cost data, 2025). The low end fits open, easy digging that stays on site; the high end fits tight access, hard soil and full off site removal.
Labor sits underneath those rates. The national median wage for construction equipment operators was $28.66 per hour, or $59,600 per year, in May 2025 (Bureau of Labor Statistics, Occupational Outlook Handbook, May 2025 data). An excavator bills for more than the operator's wage, though: ownership cost, fuel, mobilization and a spotter on the ground all ride along, which is why the same crew that costs $30 per hour in wages bills out at a multiple of that per machine hour.
| Project | What moves the rate | Planning approach |
|---|---|---|
| Inground pool or septic pit | Shallow, often keeps some spoil on site | Low end of the $2.50 to $15.00 per cy range |
| Basement or foundation dig | Deep banks need sloping, full export | Middle of the range, add slope volume |
| Utility trench | Narrow but deep, shoring may apply | Price by trench length times section area |
| Site grading | Long moves, reuse of material on site | Often quoted by machine hour instead |
When a bid quotes by the hour instead of the yard, ask for the assumed production rate in yards per hour and multiply it out yourself. A 60 cubic yard pool dig at 20 yards per hour is a three hour dig, so an eight hour minimum charge is telling you that mobilization, not digging, is what you are buying.
Trench Safety Rules That Add Cost
Depth changes more than volume. Federal trench rules kick in at 5 feet, and the equipment they require is rented or built by the crew, so it shows up in the rate.
Under OSHA's excavation standard, 29 CFR 1926.652 (OSHA, current text 2026), every employee in an excavation must be protected from cave ins by a protective system, except in stable rock or where the dig is less than 5 feet deep and a competent person finds no indication of a possible cave in. Where the trench reaches 20 feet or deeper, the protective system must be designed by a registered professional engineer. OSHA's trenching and excavation fact sheet (OSHA, publication current 2026) adds that a competent person must inspect trenches daily, at the start of each shift and after rainstorms, before workers enter.
| Depth band | What the rule requires | Cost effect |
|---|---|---|
| Under 5 feet | Competent person may waive a protective system after examining the ground | Little to none |
| 5 feet to 20 feet | Protective system required: sloping, shoring or shielding | Rental or build cost in the rate |
| 20 feet and deeper | Protective system designed by a registered professional engineer | Engineering fee plus system cost |
| All depths with entry | Daily competent person inspections before each shift | Crew time, small but constant |
Plan around the rules rather than against them. Sloping a 10 foot basement bank instead of shoring it costs yardage; shoring costs rental days. Either way the depth band tells you which line the money lands in, and a quote that ignores the 5 foot threshold on a deep trench is a quote you should not sign.
Two Worked Examples
Example A is the pool dig: 30 x 18 x 3 = 1,620 cubic feet, and 1,620 / 27 = 60 cubic yards. Digging at $5 per cy is 60 x 5 = $300. All 60 yards leave the site at $8 per cy, so hauling is 60 x 8 = $480. No backfill is imported, and the permit runs $150. The total is 300 + 480 + 150 = $930, which is 930 / 60 = $15.50 per cubic yard all in.
Example B is the basement: 54 x 40 x 10 = 21,600 cubic feet, and 21,600 / 27 = 800 cubic yards. Digging at $6 per cy is 800 x 6 = $4,800. Hauling all 800 yards at $9 per cy is 800 x 9 = $7,200. Twenty percent of the volume comes back as imported fill: 800 x 0.20 = 160 cy, and 160 x 5 = $800. The permit is $600. The total is 4,800 + 7,200 + 800 + 600 = $13,400, or 13,400 / 800 = $16.75 per cubic yard.
| Line item | Example A (pool dig) | Example B (basement) |
|---|---|---|
| Volume | 60 cy | 800 cy |
| Dig cost | $300 | $4,800 |
| Hauling off site | $480 | $7,200 |
| Backfill imported | $0 | $800 (160 cy) |
| Permit | $150 | $600 |
| Total | $930 | $13,400 |
| Cost per cubic yard | $15.50 | $16.75 |
The two jobs differ by more than 13 times in volume but less than 10 percent in cost per yard. That is the pattern to expect: once rates are set, size mostly moves the total, not the unit cost. What moves the unit cost is export share, access and depth rules.
Where Excavation Estimates Go Wrong
Four things break yard based estimates. The first is assumed export: two bids can differ by thousands while both say the correct price per yard, because one assumed the spoil stays and the other assumed 100 percent removal. Always state the export percentage you priced.
The second is ground conditions. Rock, high water and fill dirt from old construction each add time or disposal cost that a flat rate never carried. The third is access: a machine that cannot reach the hole works by the hour with a smaller machine or by hand, and the per yard rate can double. The fourth is forgotten soft costs: the permit itself, the utility locate before anyone digs, sump pumping on wet sites and restoring the lawn the trucks crossed.
A disciplined habit is to price the job twice, once at the optimistic rates and once with the haul rate up 50 percent and a slope adder on volume. On Example B that second pass looks like 800 x 1.15 = 920 yards, and hauling 920 x 9 = $8,280 instead of $7,200. The spread between the two totals is your contingency range, and it is a far better budget conversation than a single number that pretends the ground is already known.
Frequently asked questions
How do I calculate excavation volume in cubic yards?
Multiply length x width x depth in feet to get cubic feet, then divide by 27. Example A: 30 x 18 x 3 = 1,620 cubic feet, and 1,620 / 27 = 60 cubic yards.
How much does excavation cost per cubic yard in 2025?
Contractor cost data collected across US cities puts general excavation at $2.50 to $15.00 per cubic yard, with typical jobs between $1,100 and $5,600 total (HomeGuide, 2025). Access, soil and export share decide where you land.
How much does it cost to dig a basement?
Work it like Example B: 54 x 40 x 10 feet is 21,600 cubic feet, or 800 cubic yards. At $6 to dig, $9 to haul, 20 percent imported backfill and a $600 permit, the total is $13,400, or $16.75 per yard.
Why is dirt hauling more expensive than digging?
Each exported yard pays for trucking plus an off site fee, while the dig shares one machine across many yards. In Example A, hauling is 60 x 8 = $480 against 60 x 5 = $300 of digging.
How many machine hours does an excavation take?
Divide volume by production rate. A 60 cubic yard pool dig at 20 yards per hour is about 3 hours of digging, so a full day charge usually reflects mobilization and cleanup rather than digging time.
Do I need a permit for excavation?
Almost always, and many cities add a grading or right of way permit when trucks cross public walkways. Permits are flat fees; Example A carries $150 and Example B carries $600.
What depth triggers OSHA trench protection?
Five feet. Below that, a competent person may waive a protective system after examining the ground. At 20 feet or deeper, the system must be designed by a registered professional engineer (OSHA, 29 CFR 1926.652).
How often must trenches be inspected?
Before every shift and after rainstorms or other hazard changing events. OSHA requires a competent person to inspect before workers enter, every day the dig stays open.
Should I add extra volume for sloped banks?
Yes for deep holes. Sloping widens the top of the dig, and planning 10 to 20 percent extra volume is a common allowance on holes deeper than about 4 feet.
What is backfill and why does it cost extra?
Backfill is material imported to replace soil that left. You pay twice per replaced yard: once to haul native soil out and once for delivered fill. In Example B, 160 yards at $5 is $800.
Does excavation cost include grading and land clearing?
Often not. Contractors frequently price clearing, leveling and grading separately, sometimes by the machine hour, so ask which lines a quote covers before comparing totals.
How can I lower my excavation cost?
Keep usable spoil on site for grading instead of trucking it away, confirm access for a full size machine, and schedule around wet weather. On Example B, halving the export would cut the haul line from $7,200 to $3,600.
How accurate is a per cubic yard excavation estimate?
Treat it as a planning range until you know soil, access and export share. Reprice Example B with 15 percent more volume: 920 cubic yards is 920 x 6 = $5,520 to dig, 920 x 9 = $8,280 to haul and 184 x 5 = $920 of backfill, so the total moves from $13,400 to $15,320.
Is excavation charged by the hour or by the yard?
Both exist. Yard based pricing rewards fast work, so ask any hourly bidder for the assumed yards per hour and convert it yourself before comparing bids.
Spotted a wrong number or a broken result?
More Home Improvement tools
- ADU Cost Calculator
- Acreage Calculator
- Aggregate Cost Calculator
- Air Conditioner Room Size & BTU Calculator
- Aluminum Fence Cost Calculator
- Asphalt Calculator
- Awning Cost Calculator
- Bathtub vs Shower Footprint Calculator
- Bleach Dilution Calculator
- Block Mortar Calculator
- Board Footage Calculator
- Board and Batten Layout Calculator
- Board and Batten Siding Calculator
- Board on Board Fence Calculator
- Borax Ant Killer Calculator
- Brick Calculator
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.