Excavation Calculator

Find out how much soil you need to dig out — the cubic yards in the ground, the loose volume to haul away after soil swell, the number of truckloads, and an estimate of the disposal cost.

How to measure volume — length, width, and depth Length Width Depth
Measure length, width, and depth (thickness).

How to calculate excavation volume

Excavation is measured by volume, in cubic yards. For a rectangular dig:

Cubic yards = length × width × depth (all in feet) ÷ 27

That gives the bank volume — the size of the hole, with the soil still packed in the ground. It's the number you start from for both the dig and what you'll haul away.

Soil swell: why you haul away more than you dig

Dig soil out and it loosens and expands, so the pile you truck away is bigger than the hole you made. That increase is called swell (or bulking), and it depends on the material:

MaterialTypical swell
Sand & gravel10–18%
Common earth / loam20–30%
Clay30–40%
Blasted rock50–60%

So 27 cubic yards in the ground can become 33 or more loose cubic yards on the truck. This calculator applies your swell percentage to estimate the loose haul-away volume and the truckloads.

Truckloads & disposal

  • Truck capacity. A standard tandem dump truck holds about 10–16 cubic yards. Bigger trucks mean fewer trips but can't reach every site.
  • Soil is heavy. In-ground soil runs roughly 1.3–1.5 tons per cubic yard, so trucks often hit their weight limit before they're full — confirm with your hauler.
  • Disposal adds up. Dump fees and haul distance drive the cost. Clean fill is sometimes free to drop off; mixed or contaminated soil costs more.

Before you dig

  • Call 811 first. Have utilities located before any digging — it's free and required in most areas. Hitting a gas or power line is dangerous and expensive.
  • Add working room. Footings and foundations need extra width beyond the structure for forms and access, so dig a bit larger than the finished size.
  • Mind the walls. Deep excavations need sloped or benched sides to keep them from collapsing — never enter an unprotected trench.

Frequently asked questions

How many cubic yards is a 20 × 12 ft hole, 3 ft deep?
That's 720 cubic feet, or about 26.7 cubic yards in the ground. With 25% swell it becomes roughly 33 loose cubic yards to haul away — about 3 dump-truck loads.
What is soil swell?
The expansion of soil once it's dug out and loosened. Common earth swells about 25%, clay and rock more, which is why the haul-away volume is larger than the excavation itself.
How many truckloads will I have?
Divide the loose volume by your truck's capacity (often 10–16 cubic yards) and round up. The calculator does this once you enter a truck size.
How much does dirt removal cost?
It's usually charged per loose cubic yard or per truckload and varies a lot with dump fees and distance. Enter your local haul-off rate to estimate the total.