Trench Calculator

Calculate the volume of a trench excavation.

Last updated 2026-08-21

What Is a Trench Calculator?

A trench calculator works out the volume of soil removed for a narrow, long excavation like a utility or drainage trench. You enter the trench length, width, and depth. The result in cubic yards tells you how much to haul and how much backfill to order.

How It Works

Volume = Trench Length × Width × Depth. Cubic yards = Volume ÷ 27.

Example

A 50 ft × 2 ft × 4 ft trench is 400 cu ft = 14.8 cubic yards.

How to Calculate

  1. Measure the trench length, width, and depth in feet. A 50 ft long, 2 ft wide, 4 ft deep trench is 400 cubic feet.
  2. Divide by 27 to convert to cubic yards, giving 14.8 cubic yards.
  3. Set the width to the pipe or utility width plus working room, often 12 to 24 inches.
  4. If the trench is sloped or shored, use the average width because the top is wider than the bottom.
  5. Note that this total includes the space for pipe, bedding, and backfill, not just the backfill itself.

Typical Trench Widths by Use

Trench UseTypical Width (in)Typical Depth (ft)
Residential water line12 to 183 to 5
Sewer / septic line18 to 244 to 6
Electrical conduit12 to 162 to 4
Drainage / French drain12 to 181 to 3
Storm culvert24 to 363 to 6

Sources

Frequently Asked Questions

What trench width should I use?

Trench width is usually the pipe or utility width plus working room — often 12–24 in.

Should I account for sloping?

Shored or sloped trenches have wider tops, so use the average width in that case.

Is this the same as pipe bed volume?

No — the trench holds pipe, bedding, and backfill. This tool gives the total excavated volume.

Mason ReidFounder and Lead Estimator at MeasureThen

Mason Reid founded MeasureThen after two decades of hands-on work in construction and estimating. Across residential and light commercial projects, he sized concrete pours, framed walls, hung drywall, and priced out roofing, fencing, and deck work — learning the exact math that every job depends on. At MeasureThen he writes the formulas, checks every calculator against real-world assumptions, and makes sure each one is simple enough for a homeowner to trust and a contractor to use. When he is not measuring twice, he is helping projects stay on budget.

Every MeasureThen calculator uses simple, transparent formulas and standard industry assumptions drawn from common construction practice. We show the math behind each result and include worked examples so you can follow along and double-check the numbers. Results are estimates: materials, labor, and pricing vary by region and market, so always confirm important figures with a licensed professional and your local building codes.