Excavation Cost Calculator

An excavation cost calculator adds yd³ dug (L × W × depth ÷ 27) × haul-off price to area × machine rate. A 30 × 20 ft dig 18 in deep is 33.33 yd³, ~$2,033.

You need—
Estimated cost—
Shop Excavation Cost at Home Depot →
LengthWidth
Area = length x width. Coverage tells you how much excavation cost that area needs.

How much does excavation cost?

An excavation cost calculator prices a dig in two parts: removing the soil and running the machine. Cubic yards = length × width × (depth in inches ÷ 12) ÷ 27. Total cost = cubic yards × haul-off price per yard + footprint area × machine labor per square foot. A 30 × 20 ft dig 18 inches deep removes 33.33 cubic yards and costs about $2,033 at $25 per yard and $2 per square foot.

Use it for garage and shed pads, patio sub-bases, pond and pool holes, and basement dig-outs. It is a budget check, not a bid. Soil type, access, and what lies underground change real prices a lot.

How the estimate works

  1. Footprint = length × width, in square feet.
  2. Cubic yards = footprint × (depth ÷ 12) ÷ 27. This is the hole’s in-place (bank) volume.
  3. Haul-off cost = cubic yards × price per yard.
  4. Machine cost = footprint × labor rate.
  5. Total = haul-off + machine.

Worked examples

Garage pad prep: 30 × 20 ft, 18 in deep, $25/yd³, $2/sq ft

  • Footprint: 600 sq ft
  • Volume: 600 × 1.5 ÷ 27 = 33.33 yd³
  • Haul-off: 33.33 × $25 = $833.33
  • Machine: 600 × $2 = $1,200.00
  • Total: $2,033.33

In-ground pool hole: 32 × 16 ft, 60 in average depth, same rates

  • Footprint: 512 sq ft
  • Volume: 512 × 5 ÷ 27 = 94.81 yd³
  • Haul-off: $2,370.37. Machine: $1,024.00.
  • Total: $3,394.37

The pool hole moves almost three times the soil of the garage pad, but machine labor is lower because it is charged by footprint. For deep digs, raise the labor rate. A basement or pool takes far more machine hours per square foot than a shallow pad.

Cost by dig size (defaults: $25/yd³, $2/sq ft)

Dig Depth Cubic yards (bank) Loose yards at +25% Total
15 × 10 ft 18 in 8.33 about 10.4 $508.33
24 × 24 ft 12 in 21.33 about 26.7 $1,685.33
100 ft trench, 2 ft wide 36 in 22.22 about 27.8 $955.56
30 × 20 ft 18 in 33.33 about 41.7 $2,033.33
60 × 40 ft 18 in 133.33 about 166.7 $8,133.33
40 × 30 ft basement 8 ft 355.56 about 444.4 $11,288.89

Loose yards are shown at a 25% swell for planning only. The calculator itself uses bank volume.

Swell: why you need more trucks than the hole suggests

Soil Typical swell when dug
Sand and gravel about 10–15%
Common earth / loam about 20–30%
Clay about 30–40%
Blasted rock 50% or more

These are rough ranges from earthwork practice. Ask your hauler how they charge: by bank yard, by loose yard, or by truckload.

How to measure the dig

  • Measure the footprint at the bottom of the hole and add working room. Foundations usually need extra width for forms and drainage.
  • For sloped sides, average the top and bottom widths.
  • Use the full depth to the bottom of the cut, including the gravel base layer if it goes in the same hole.
  • Long narrow cuts are easier with the trench volume calculator.

Common mistakes

  • Booking trucks for bank volume. Use loose volume for truck or dumpster space.
  • Hauling soil you will need back. Keep good fill for backfill around walls; size it with the backfill calculator.
  • Skipping the locate. Hitting a gas or power line is dangerous and expensive. Call 811 every time.
  • Forgetting grading. Spreading and shaping the leftover soil is a separate step; see the land grading cost calculator.

For foundation projects, pair this with the concrete foundation cost calculator. Deep excavations near footings or over about 5 ft need shoring or sloping under safety rules, so hire a licensed excavation contractor for anything beyond a shallow dig.

Embed this calculator on your site

Free to use. Paste this into your page's HTML. Please keep the link under the calculator.

Frequently asked questions

Do I need to call 811 before excavating?

Yes. In the US, call 811 or use your state's online request a few business days before you dig, at any depth. Utility owners mark buried gas, electric, water, and communication lines for free. Private lines, such as a feed to a detached garage, may not be marked, so ask about a private locator too.

What does the price field represent for excavation?

It is the cost per cubic yard to haul soil away and dump it, measured as in-place (bank) volume. At the default $25 per yard, 33.33 yd³ costs $833.33. If the soil stays on site to be spread or reused, lower it or set it to zero.

What does the labor rate cover?

Machine time and operator, charged per square foot of footprint. The default $2 per sq ft suits shallow digs. The rate does not rise with depth on its own, so for a basement or pool dig, raise it to match the extra hours a deep cut takes.

Why does the dirt pile look bigger than the hole?

Soil swells when dug, because the packed grains loosen and trap air. Common earth often bulks by roughly 20 to 30%, and clay can bulk more. A 33.33 yd³ hole can fill around 40 to 43 yd³ of truck space, which matters when you book trucks or a dumpster.

What's excluded from this estimate?

Backfill material, compaction, shoring, dewatering, rock breaking, erosion control, permits, and long-distance haul surcharges are not included. Hitting rock or groundwater can change a dig's cost far more than any rate in this calculator.

Estimates only. Verify quantities with your supplier before purchasing.