Skip to content
Terrainly Open viewer

Foundation excavation calculator

How much dirt comes out for a footing, slab or basement? Enter the building size and depth. The calculator adds working space around the walls and can slope the sides.

Worked example

A 40 × 30 ft building with a basement 8 ft deep, and 2 ft of working space around every wall, so the hole is 44 × 34 ft at the bottom.

  • Vertical walls: 44 × 34 × 8 = 11,968 ft³ = 443 yd³ in the ground.
  • Loose, with topsoil swell of 25%: about 554 yd³. That is 56 loads on 10 yd³ trucks.
  • If the sides must be cut back at 0.5:1 (half a foot out for each foot of depth) the hole is 14,635 ft³ = 542 yd³. That is 99 yd³ more, from the extra at the top.

Cubic yards to dig, with 2 ft working space, vertical walls

Building4 ft deep8 ft deep9 ft deep
24 × 24 ft116232261
30 × 40 ft222443499
40 × 50 ft352704792
50 × 60 ft5121,0241,152

What to include

  • Working space. Crews need room outside the wall to build forms, waterproof and backfill. Two to three feet is common. Use 0 if you are digging a slab pad.
  • Depth. Measure from the ground where the digging starts to the bottom of the dig, including any gravel under the slab or footings.
  • Sloped sides. Walls of a deep hole usually cannot stand straight up. Many places require them to be sloped back or supported. The rules depend on the soil and where you are, so check yours. Enter the slope as horizontal : 1.
  • Topsoil. If you strip it first and keep it separate, count it as its own small job.

Be careful with

  • Sloping lots. If one side of the building is higher than the other, the depth is different at each corner. A single depth is only an average.
  • Footings and trenches below the main floor level, which add to the volume.
  • Water. A hole below the water table needs pumping and may need more room.

Questions

How many yards of dirt for a 24 × 24 ft basement?

With 2 ft of working space and an 8 ft dig, about 232 yd³ in the ground.

Do I count the dirt I will put back?

Excavation is what comes out. Backfill is a separate number. Some of the dirt you dig is used again around the walls, which saves trucking. How much depends on the soil.

Why does the volume go up with a slope?

Because the top of the hole gets wider. At 0.5:1 an 8 ft deep hole is 4 ft bigger on every side at the top.

Is this good enough for a bid?

It is good enough to plan and to check a quote. Bids need site conditions: rock, water, access, haul distance and local rules.

Other calculators

Not a clean shape?

Draw the job on the real terrain of your site. Free lidar for Canada and the US, volumes by cut and fill, and a PDF report.

Get terrain for my site →

Estimates for planning only. Soil, trucks and rules differ from place to place. Not engineering advice.