Excavation Calculator

Excavation
Soil & hauling
Excavation
Bank volume (in the ground)—
Loose volume to haul—
Weight—
Truckloads—
Haul-off cost—
Opening at the top—
Bank volume in m³—

Estimate only. Swell and density vary with moisture and the actual soil; your hauler or a soils report has the final number. Trench safety is the job of the competent person on site.

A hole 30 × 24 ft and 4 ft deep holds 106.7 cubic yards of soil in the ground. Dug out, topsoil swells about 25%, so you haul 133.3 loose cubic yards: 14 loads in a 10-yard truck, weighing about 126 tons. Enter your pit or trench below. Sloped sides per OSHA are built in.

How much does soil swell and weigh?

Bank density and swell by soil type, from The Engineering ToolBox bulk-factor table. Tons are US short tons; defaults are single values inside each published range.
SoilSwell (range)Loose yd³ from 10 bank yd³Tons per bank yd³
Topsoil / common earth25% (20–30%)12.51.18
Sand25% (20–30%)12.51.35
Gravel25% (20–30%)12.51.52
Clay30% (20–40%)13.01.60
Rock (broken)60% (40–80%)16.02.19

How to calculate excavation volume

Excavation is measured three ways, and mixing them up is the most common estimating mistake:

  • Bank volume: the soil as it sits in the ground. This is the size of the hole.
  • Loose volume: the same soil after digging. It takes up more room because air gets in. Trucks and dumpsters are filled by loose volume.
  • Compacted volume: soil placed and compacted as fill. It usually ends up smaller than the bank volume.

For a hole with vertical sides, bank volume is length × width × depth. A pit 30 × 24 ft and 4 ft deep is 2,880 ft³. Divide by 27 for cubic yards: 106.7 yd³.

Loose volume is bank volume × (1 + swell). At 25% swell, 106.7 × 1.25 = 133.3 yd³. That is the number to give your hauler.

Excavation with sloped sides

Sloped walls make the top of the hole bigger than the bottom, so a simple box understates the dirt. The calculator uses the prismoidal formula, which is exact for a pit with the same slope on all four sides:

V = D ÷ 6 × (Abottom + 4 × Amiddle + Atop)

Each side moves out by slope × depth. With a 1:1 slope, a 30 × 24 ft bottom that is 6 ft deep opens to 42 × 36 ft at the top, and the volume jumps from 160 yd³ (vertical) to 242.7 yd³. For a trench, only the long sides are sloped, so the section is a trapezoid: V = length × depth × (bottom width + slope × depth).

OSHA slopes and the 5-foot rule

OSHA's excavation standard sets the steepest slope you may cut without a protective system. Table B-1 in Appendix B lists the maximum allowable slopes for excavations under 20 ft deep:

Maximum allowable slopes, OSHA 29 CFR 1926 Subpart P, Appendix B, Table B-1 (excavations under 20 ft).
Soil or rock typeSlope (H:V)Angle
Stable rockVertical90°
Type A¾ : 153°
Type B1 : 145°
Type C1½ : 134°
  • Under 5 ft: no protective system is required when a competent person finds no sign of a possible cave-in (1926.652(a)(1)).
  • 5 ft or deeper: slope, bench, shore, or use a trench box, unless the cut is in stable rock.
  • Over 20 ft: the sloping or benching must be designed by a registered professional engineer.

Soil type is classified on site, not from a drop-down. Granular soils such as sand and gravel are usually Type C, and any soil that has been dug before cannot be Type A. When in doubt, use the flatter slope. The check under the results flags a vertical cut at 5 ft or more.

Swell factors by soil type

The swell figures in the calculator come from The Engineering ToolBox bulk-factor table, which gives ranges rather than single numbers. The defaults sit inside each range:

  • Topsoil and common earth: 25% (range 20–30%).
  • Sand and gravel: 25% (range 20–30%). Clean dry gravel often swells less.
  • Clay: 30% (range 20–40%). Wet, sticky clay bulks more than dry clay.
  • Broken rock: 60% (range 40–80%). Blasted or ripped rock leaves big voids.

If your hauler or soils report gives a different factor, type it into the swell field. It overrides the default until you pick another soil type.

How much does the dirt weigh?

Weight doesn't change when soil loosens, so the calculator multiplies the bank volume by the bank density. A bank cubic yard of common earth at 1.4 t/m³ weighs about 1.18 short tons, so the 106.7 yd³ pit comes to about 126 tons. Per loose yard it is lighter, about 0.94 tons, because the same soil is spread over 1.25 yd³.

Weight matters because many trucks hit their legal weight limit before they are full. Sand, gravel, clay, and especially rock can max out a truck by weight before the bed is level. Ask the hauler which limit applies and set the truck capacity accordingly.

Truckloads and haul-off cost

Truckloads are the loose volume divided by the truck's loose capacity, rounded up. A 10-yard dump truck needs 14 trips for 133.3 loose yd³. The cost is trips × price per load, so the $300 sample price gives $4,200. Dumpsters work the same way: a 20-yard container holds 20 loose yards, but many have a weight cap that soil reaches long before the box is full.

If you plan to backfill some of the soil, subtract that from the haul-off. Remember it will compact below its bank volume once you tamp it, so keep a little extra on site.

What the calculator does not cover

  • Irregular holes: split them into rectangles and add the results, or use an average depth for a sloping site.
  • Benching: a stepped bench removes slightly less soil than the full slope it replaces. The slope result is a safe upper bound.
  • Groundwater and spoil piles: wet soil weighs more, and OSHA requires spoil to be kept at least 2 ft back from the edge.
  • Utilities: call 811 before you dig, at least a few days ahead.

About the numbers: slopes are from OSHA 29 CFR 1926 Subpart P Appendix B Table B-1, and the protective-system depth from 1926.652(a)(1). Densities and swell are from The Engineering ToolBox bulk-factor table; the defaults are single values inside its published ranges, chosen by us. The examples were checked with this calculator.

Frequently asked questions

How do I calculate excavation volume?

Multiply length × width × depth for a hole with vertical sides, then divide cubic feet by 27 for cubic yards. A pit 30 × 24 ft and 4 ft deep is 2,880 ft³, or 106.7 yd³ of bank (in-place) soil. For sloped sides, use the prismoidal formula, which the calculator does for you.

What is the swell factor of soil?

Swell is how much soil grows when it is dug and loosened. Common earth swells about 20–30%, clay 20–40%, and broken rock 40–80% (Engineering ToolBox). At 25%, 100 bank yards become 125 loose yards in the truck.

How many truckloads of dirt is my excavation?

Divide the loose volume by the truck capacity and round up. The 106.7 bank yd³ pit swells to 133.3 loose yd³, which is 14 loads in a 10-yard dump truck. Check the weight too: heavy soil can hit the truck's weight limit first.

How much does a cubic yard of dirt weigh?

A bank cubic yard of common earth weighs about 1.2 tons (1.4 t/m³). Loose, the same yard weighs less, about 0.94 tons, because swell spreads it over more volume. Sand runs about 1.35 tons per bank yard, gravel 1.5, clay 1.6, and rock 2.2.

When does a trench need shoring or sloping?

Under OSHA, at 5 ft deep or more, unless it is in stable rock. Shallower trenches still need protection if a competent person sees signs of a possible cave-in. Over 20 ft, a registered professional engineer must design the protection.

How much bigger is a sloped excavation?

A lot. A 30 × 24 ft pit 6 ft deep holds 160 yd³ with vertical sides. With a 1:1 slope (OSHA Type B), the top opens to 42 × 36 ft and the volume is 242.7 yd³, about 52% more to dig and haul.

What is the difference between bank, loose, and compacted yards?

Bank yards are soil in the ground, loose yards are soil in the truck after it swells, and compacted yards are soil placed and tamped as fill. Excavators price by bank yards, haulers by loose yards, and fill specs by compacted yards.

Sources