Excavation Cost Calculator

Enter the size of the hole and the soil to estimate what the digging and haul-off will cost. It uses 2026 per-yard prices, OSHA’s slope rules for deep holes and real swell factors for truckloads, and shows every step of the math.

Shape of the hole (bottom)
ft
ft
ft

Average depth below the existing ground.

Prices per cubic yard from HomeGuide, labor and equipment included.

OSHA requires a protective system, such as sloping, in excavations 5 ft or deeper.

Trucks, haul price and your own rate
yd³

Loose cubic yards one truck carries.

$/load

Optional. Ask your hauler, dump fees included.

$/yd³

Optional. Replaces the soil price range.

Estimated excavation cost

$2,133 to $3,556

Dirt to dig (in the ground)355.6 yd³ (9,600 ft³)
Digging$2,133 to $3,556 at $6 to $10 per yd³
Loose dirt after digging426.7 to 462.2 yd³ (+20 to 30% swell)
Truckloads45 at 10 yd³ per load
HaulingEnter a price per load

40 ft × 30 ft × 8 ft = 9,600 ft³ ÷ 27 = 355.6 yd³ in the ground. 355.6 × $6 to $10 = $2,133 to $3,556 to dig. Loose: 355.6 × 1.2 to 1.3 = 426.7 to 462.2 yd³ to haul.

Digging and hauling only, before permits, grading or backfill. Get written quotes. Disclaimer

Estimate$2,133 to $3,556Details

How much does excavation cost per cubic yard?

Excavation costs $2.50 to $15 per cubic yard in soil and $50 to $200 or more in rock that has to be jackhammered, according to HomeGuide’s 2026 cost guide. The price includes the operator and machine. Soft, sandy soil is cheapest; wet clay and loose rock cost the most.

Soil or conditionCost per cubic yard
Light soil$2.50 to $6
Average soil$6 to $10
Heavy or wet soil, loose rock$10 to $15
Jackhammered rock$50 to $200+
Source: HomeGuide, updated February 2026. Labor and equipment included.

Not every contractor prices by the yard. HomeGuide lists the other ways you may be quoted:

How it is chargedTypical price
Operator with excavator, per hour$100 to $300 (often a one-day minimum)
Operator only, per hour$50 to $150
Excavator rental only, per day$200 to $700
Per square foot (shallow grading)$1 to $5
Minimum project fee$500 to $800

How to estimate excavation cost

  1. Measure the bottom of the hole: length × width in feet, and the average depth in feet.
  2. Multiply them for cubic feet and divide by 27 for cubic yards. This is the bank volume, the dirt as it sits in the ground.
  3. If people will work in a hole 5 ft or deeper and it is not shored, add the extra dirt from sloped sides (next section).
  4. Multiply cubic yards by the price for your soil, and check the result against the contractor’s minimum fee.
  5. If the dirt leaves the site, add 15 to 80 percent for swell, divide by the truck size, and multiply by the price per load.

Example: a basement 40 ft × 30 ft, dug 8 ft deep in average soil, is 40 × 30 × 8 = 9,600 cubic feet, or 355.6 cubic yards. At $6 to $10 per yard the digging is about $2,133 to $3,556. Common earth swells 20 to 30 percent, so about 427 to 462 loose cubic yards come out, or 45 loads in a 10-yard truck.

Sloped sides: the extra dirt most estimates miss

OSHA requires a protective system in any excavation 5 ft or deeper unless it is entirely in stable rock (29 CFR 1926.652). Sloping the sides back is one option, and the allowed angle depends on the soil type. The top of the hole gets wider, so there is more dirt to dig and haul.

OSHA soil typeExamplesMax slope (H:V)
Stable rockSolid rockVertical
Type AClay, silty clay, sandy clay, hardpan (never if fissured or previously disturbed)3/4:1 (53°)
Type BAngular gravel, silt, silt loam, sandy loam1:1 (45°)
Type CGravel, sand, loamy sand, submerged or seeping soil1 1/2:1 (34°)
OSHA 29 CFR 1926 Subpart P, Appendices A and B. For excavations under 20 ft deep; deeper ones need a registered professional engineer.
Diagram: a 40 by 30 ft basement dug 8 ft deep holds 355.6 cubic yards with vertical sides, 494.2 with OSHA Type A 3/4:1 slopes, 546.8 with Type B 1:1 slopes and 661.3 with Type C 1 1/2:1 slopes
The same basement holds 39 to 86 percent more dirt with sloped sides.

For the 40 × 30 ft basement at 8 ft deep, a 1:1 slope makes the top 56 × 46 ft and the dig 546.8 cubic yards instead of 355.6. The calculator uses the prismoidal formula, which is exact for a pit with straight, evenly sloped sides. Whether a trench box or shoring is cheaper than the extra digging is a question for your contractor.

Excavation cost by project

Chart: excavation cost by project from HomeGuide. Trenching $500 to $1,200, driveway or patio pad $1,000 to $2,500, in-ground pool $1,500 to $5,000, home site foundation pad $1,500 to $10,000, digging around a foundation $5,000 to $15,000, new-construction basement $10,000 to $30,000
Basement digTypical cost
8 to 9 ft deep, standard soil$10,000 to $20,000
10 to 12 ft deep, standard soil$20,000 to $30,000
8 to 12 ft, difficult or rocky soil$30,000 to $50,000+
Under an existing house with a crawl space$20,000 to $45,000+
Excavation and grading only, no foundation walls or slab. Source: HomeGuide.

Why a quote can be far above the per-yard math. The $2,133 to $3,556 in the example covers digging only. A basement quote usually also covers grading, backfill, haul-off, access and the contractor’s setup, which is how HomeGuide arrives at $10,000 to $20,000. Small jobs work the other way: Homewyse’s estimate for a small job, which starts at 10 cubic yards, is $109 to $251 per cubic yard because setup and minimum labor are spread over very little dirt.

Hauling the dirt away

Dirt fluffs up once it is dug, so it fills more trucks than the hole it came from. Multiply the bank volume by the swell for your soil to get the loose volume, then divide by what one truck carries.

MaterialSwell100 yd³ dug becomes
Loam15 to 25%115 to 125 yd³
Earth20 to 30%120 to 130 yd³
Sand or gravel, dry20 to 30%120 to 130 yd³
Clay20 to 40%120 to 140 yd³
Rock40 to 80%140 to 180 yd³
Swell (bulking) factors: Engineering ToolBox, Soil and Rock Bulk Factors.

HomeGuide puts moving dirt at $1,400 to $2,300 per dump-truck load, depending on the distance, equipment and the dirt itself, so ask your hauler for a local per-load price, dump fees included, and enter it in the calculator. The cheapest dirt to haul is dirt that stays: ask whether the spoil can be used for backfill or grading on site. If you need to bring dirt in instead, see the Fill Dirt Calculator.

Other costs to budget for

  • Permit: $50 to $400, and most cities require one for earthmoving (HomeGuide).
  • Rock: hitting rock can push a basement, foundation or pool dig to $15,000 to $20,000 or more. Make sure the contract says how rock is priced.
  • Tree removal: $400 to $1,200 per tree on average (HomeGuide).
  • General contractor markup: Homewyse suggests adding 13 to 22 percent if a general contractor supervises the work.
  • Utility locate: call 811 a few days before digging. It is free.

Wondering what machine does the work? A compact excavator like the Bobcat E35 digs about 10 ft deep with its standard arm. See all equipment specs.

Frequently asked questions

How much does excavation cost per cubic yard?

HomeGuide lists $2.50 to $6 per cubic yard for light soil, $6 to $10 for average soil, $10 to $15 for heavy or wet soil, and $50 to $200 or more for rock that must be jackhammered.

How do I calculate excavation volume?

Multiply length × width × depth in feet and divide by 27 for cubic yards. A 40 × 30 ft hole 8 ft deep is 9,600 cubic feet, or 355.6 cubic yards. Sloped sides add more.

How much does it cost to dig a basement?

HomeGuide lists $10,000 to $20,000 for an 8 to 9 ft basement in standard soil, $20,000 to $30,000 at 10 to 12 ft, and $30,000 to $50,000 or more in difficult or rocky soil. That covers excavation and grading, not the foundation.

How much does pool excavation cost?

About $1,500 to $5,000 in soft soil without obstructions, rising to $15,000 to $20,000 for hard-to-reach sites, boulders, hardpan or rock that needs jackhammering or blasting (HomeGuide).

How much does an excavator cost per hour?

An operator with an excavator costs $100 to $300 per hour, often with a one-day minimum. Renting the machine alone is about $200 to $700 per day (HomeGuide).

Do the sides of an excavation have to be sloped?

OSHA requires a protective system in excavations 5 ft or deeper unless they are entirely in stable rock. Sloping is one option: 3/4:1 in Type A soil, 1:1 in Type B and 1 1/2:1 in Type C. Shoring or a trench box are the others.

How many truckloads of dirt will I have?

Multiply the dug volume by the swell (about 1.2 to 1.3 for common earth), then divide by the truck size. 355.6 cubic yards of earth becomes about 444 loose yards, or 45 loads in a 10-yard truck.

Sources

Scroll to Top