Skip to content

Free tool

Trench excavation calculator

Spoil, bedding, and backfill from trench dimensions. Enter length and width in feet and depth in inches. Dig a 100 ft water line 2 ft wide (enter 2 for width) and you'll be surprised what comes out of the ground.

Trench volume in cubic yards = length x width x depth, all in feet, divided by 27. Dug soil swells, so this page adds a swell percent you can change and counts truckloads from the loose yards.

29.63
cubic yards
37.04
loose cubic yards at 25% swell
40
tons (approx.)
3
truckloads at 16 yd³

Pro habit: Figure hauling about 37 yd³ of spoil; bank soil swells 20 to 30 percent once it's out of the ground, so the pile is bigger than the hole.

Quoting 29.63 cubic yards and 3 loads?

Put the number on an estimate with your price, schedule the crew on the job, and send it for approval from the same screen.

Save it to a jobSee it first, no signup7-day free trial, no card.
How this is figured
  • Cubic yards = length (ft) x width (ft) x depth (in) / 12 / 27
  • Loose cubic yards = cubic yards x (1 + swell % / 100)
  • Tons = cubic yards x weight per yard (lb) / 2,000
  • Truckloads = loose cubic yards / truck size (yd³), rounded up

Weight and swell start at the defaults shown above. Change them to match your material and soil.

Track yards hauled against the job budget with TrackOver →

For bedding, set the depth to just the bedding layer (4 to 6 inches is typical under pipe). Backfill volume is the trench minus the pipe and bedding, and the spoil never quite fits back once it's fluffed. Weights are common industry approximations; confirm with your supplier before ordering.

Worth knowing before you order

The number above assumes a few things about how this material behaves in the ground.

More free calculators:

Doing this for a living?

TrackOver runs field contracting companies: jobs, crews, stamped site photos, machine hours, and billing in one place. Made for heavy-trade contractors with multi-day jobs, 811 tickets and equipment.

Bid this trench in TrackOver
Put the footage and yards on an estimate your customer can approve on their phone, and keep the 811 ticket on the job. 7-day free trial, no card needed.
Try TrackOver freeSee it first, no signup

When to use it

Use it before you dig a line to know how much spoil comes out and how many trucks it takes to haul it off.

How to measure on site

  1. Length is the run along the centerline in feet, measured on the ground or off the plan.
  2. Width is the width of the cut in feet, not the pipe. Measure the bucket you will dig with.
  3. Depth is the finished bottom of the trench in inches, so it includes the bedding under the pipe.
  4. Locate and mark everything first. Call 811 before you measure a line you plan to dig.
Worked example: a 100 ft trench, 2 ft wide and 48 inches deep
  • 100 x 2 ft x 48 in = 29.63 cubic yards (length x width x depth in feet, divided by 27).
  • With 25% swell that is 37.04 loose yards to haul.
  • That much excavated spoil (bank soil) weighs about 40 tons at 2,700 lb per yard (the tool's default), measured in the ground before it swells.
  • In a 16 yard truck that is 3 loads.

Common questions

How do I calculate trench excavation volume?

Multiply length by width by depth in feet, then divide by 27 to get cubic yards of bank soil. Enter depth in inches here and the calculator converts it for you.

What is a swell factor and what should I enter?

Swell is how much bigger soil gets once it is dug out of the ground. The page starts at 25 percent as a default only. Your soil, moisture and compaction change it, so use your own number if you have one, or set it to 0 to see bank yards.

How many truckloads is that, and how do I figure dirt haul-off?

Loose yards = bank yards x (1 + swell percent / 100). Truckloads = loose yards divided by what your truck carries, rounded up. Enter your own truck size, and an optional weight limit if you are weight-limited before you are full.

How do I handle a trench that changes depth?

Split it into sections of about the same depth, run each one through the tool, and add the yards. Do not average a deep run with a shallow one.

Does this figure the pipe and the bedding?

The spoil number is the whole trench. For bedding, set the depth to just the bedding layer and run it again. Backfill is the trench less the pipe and the bedding.

Why does the spoil not fit back in the trench?

It swells when it comes out of the ground. The swell box is how much bigger the pile is than the hole. Set it to your own number if you know it.

How many yards of dirt come out of a 100 foot trench, 2 feet wide and 4 feet deep?

100 x 2 x 4 ft = 800 cubic feet, divided by 27 is 29.63 bank yards. With 25 percent swell that is 37.04 loose yards to haul. Set the swell box to 0 to see only the 29.63 yards in the ground.

How many truckloads is a 100 foot trench, 2 feet wide and 4 feet deep?

Truckloads are counted from the loose yards, 37.04 at 25 percent swell, divided by what the truck carries and rounded up. That is 3 loads in a 16 yard truck and 4 loads in a 10 yard truck. Enter your own truck size.

How much stone bedding does a 100 foot trench, 2 feet wide, need at 6 inches?

Set the depth to the 6 inch bedding layer: 100 x 2 ft x 6 in = 3.7 cubic yards. At the page's 2,800 lb per yard for 3/4 inch clean stone that is about 5.2 tons. Your supplier's weight wins, so swap it in if you have it.

Keeping this on paper?

TrackOver keeps the job, the photos, the hours and the invoice in one place, on the office screen and every crew phone.

Try TrackOver free

7-day free trial, no card needed. See it in 2 minutes

Start your trial with your trade set up:

Want the details first? See how TrackOver runs the job for Excavation, Septic, Sewer & Water and Utilities.