Excavation Calculator

Calculate cubic yards of excavation, cost, and haul-away truck loads for any digging project. Adjust for soil type and swell factor.

Last updated 2026-08-21

What Is a Excavation Calculator?

An excavation calculator figures out how much dirt you will dig out of a hole in cubic yards, which is how excavators and haulers price their work. You enter the length, width, and depth of the excavation. It is the first number you need to get a quote and arrange haul away.

How It Works

Volume = Length × Width × Depth. Cubic yards = Volume ÷ 27.

Example

A 20 ft × 10 ft × 3 ft excavation is 600 cu ft = 22.2 cubic yards.

How to Calculate

  1. Measure the length, width, and depth of the hole in feet. A 20 ft by 10 ft by 3 ft excavation is 600 cubic feet.
  2. The tool converts cubic feet to cubic yards by dividing by 27, giving 22.2 cubic yards.
  3. Give this yardage to your excavator for a price quote and to your hauler to size the trucks.
  4. Account for soil swell. Dug soil loosens and expands about 10 to 30%, so hauled volume can exceed the in place volume.
  5. For deep or unstable soil, factor in sloped or benched walls, which add volume beyond the simple box shape.

Common Soil Swell Factors

Soil TypeSwell Factor
Sandy soil10 to 15%
Loam / topsoil15 to 20%
Clay20 to 30%
Rock (blasted)30 to 50%
Gravel10 to 12%

Sources

Frequently Asked Questions

Why is excavation measured in cubic yards?

Excavators and hauling are priced by the cubic yard, so it is the number to give your contractor.

Should I add a swell or compaction factor?

Dug soil swells about 10–30% when loosened. Ask your hauler whether their price accounts for that.

Do I need a bench or slope?

For deep or unstable soil, OSHA requires sloped or benched walls — that adds volume beyond the box shape.

Mason ReidFounder and Lead Estimator at MeasureThen

Mason Reid founded MeasureThen after two decades of hands-on work in construction and estimating. Across residential and light commercial projects, he sized concrete pours, framed walls, hung drywall, and priced out roofing, fencing, and deck work — learning the exact math that every job depends on. At MeasureThen he writes the formulas, checks every calculator against real-world assumptions, and makes sure each one is simple enough for a homeowner to trust and a contractor to use. When he is not measuring twice, he is helping projects stay on budget.

Every MeasureThen calculator uses simple, transparent formulas and standard industry assumptions drawn from common construction practice. We show the math behind each result and include worked examples so you can follow along and double-check the numbers. Results are estimates: materials, labor, and pricing vary by region and market, so always confirm important figures with a licensed professional and your local building codes.