CalcGallery

Excavation Calculator

Work out the dirt in a pit, round hole or trench, how much it swells once dug, and how many truckloads it takes to haul.

Built by AbhiLast reviewed November 6, 2026

Units
Width at the bottomDepth

Your measurements

Zero is a straight side. 1 means the side leans out 1 ft for each 1 ft of depth. A competent person decides what is safe for your soil.

How much the soil grows when loosened. Ask your excavator or use your soil report.

How much the bank volume drops when compacted as fill.

Optional. What one load holds. Wet soil can reach the weight limit first.

Result

Bank volume, in the ground: 66.67 yd³

Nothing is added. Swell already covers the growth of the soil once it is out of the ground.

Loose volume to haul
66.67 yd³ (1,800 ft³)Estimate
Compacted volume as fill
66.67 yd³ (1,800 ft³)Estimate
Report a problem with this calculator
Your entries are kept on this device only.

Results are estimates for planning only. Actual needs vary with site conditions, products and workmanship. Always confirm quantities with your supplier and follow local building codes and manufacturer instructions. Read the full disclaimer

How to use the Excavation Calculator

  1. Pick a rectangular pit, a round hole or a trench, and enter its size at the bottom.
  2. Enter the depth, and a side slope if the sides lean outward.
  3. Enter the swell and shrink for your soil, from your excavator or soil report.
  4. Add a truck capacity to see how many loads it takes to haul the soil away.

How the volume is worked out

Sizes are taken at the bottom of the dig, and the sides lean outward from there:

Rectangle  V = depth ÷ 6 × (bottom area + 4 × middle area + top area)Circle     V = π × depth ÷ 3 × (r² + r × R + R²)Trench     V = length × depth × (width + slope × depth)

A pit with leaning sides is not a simple box, so it uses the prismoidal rule, which is exact for this shape. With a slope of zero all three reduce to area times depth.

Why three volumes

You pay to haul loose soil and you fill with compacted soil, and neither equals the hole. A dig that leaves 80 cubic yards in trucks may only fill 60 once it is compacted back, so never order fill or trucks from the bank figure alone.

Before you dig

Call your local utility locating service first. Check whether your dig needs a permit, and treat any trench as a hazard: local rules set when sides must be sloped or shored.

With your numbers

  1. Loose = bank × (1 + 25%) = 83.33 yd³
  2. Compacted = bank × (1 − 10%) = 60 yd³
  3. Loads = loose ÷ 10 yd³ per truck, rounded up to 9
  4. Bank volume for this shape and depth = 66.67 yd³

Quick reference

Nothing is added. Swell already covers the growth of the soil once it is out of the ground.

Common jobs, worked out with the options this calculator starts on for United States.
JobBank volume, in the ground
30 × 20 ft basement, 3 ft deep66.67 yd³
24 × 24 ft garage pad, 1 ft deep21.33 yd³
50 ft trench, 2 ft wide, 4 ft deep14.81 yd³
10 ft round pond, 2 ft deep, 1:1 sides8.46 yd³
10 × 10 ft pit, 2 ft deep, 1:1 sides10.77 yd³
9 × 6 m pit, 1 m deep54 m³
20 m trench, 0.6 m wide, 1.2 m deep14.4 m³

Common questions about the Excavation Calculator

What is the difference between bank, loose and compacted volume?
Bank volume is the soil as it sits in the ground. Loose is the same soil after digging, which takes up more room in a truck. Compacted is what it fills once rolled or tamped back down.
How many truckloads is a 30 by 20 ft dig, 3 ft deep?
That is 66.67 cubic yards in the ground. With 25% swell it hauls as 83.33 cubic yards, which is 9 loads in a 10 cubic yard truck.
Why does this ask me for swell instead of giving one?
Swell changes with the soil and how wet it is. Clay, sand and rock differ widely, so the number should come from someone who has seen your site.
Does this tell me how steep my trench sides can be?
No. Safe side slopes and shoring depend on soil and depth and are set by local rules. Trench collapse is a serious hazard, so get that decision from a competent person.

Report a problem with this calculator