Trench volume is the cross-section area times the length, divided by 27. With sloped sides the section is a trapezoid: depth × (bottom width + slope × depth). An 8 ft deep trench with a 3 ft bottom in Type B soil (1:1 slopes) is 8 × (3 + 8) = 88 SF, or 3.26 CY per foot of trench.
Length, depth and bottom width, then the soil type for the side slopes. Add the pipe size to see how much bedding and backfill goes around it.
What sets the size of the trench
Bottom width. The pipe detail or the spec usually sets it: the pipe's outside diameter plus a clearance each side for bedding and compaction. It's never narrower than the bucket, or than the trench box if you're using one.
Depth. From the profile sheet: existing or finished ground down to the pipe invert, plus the bedding below the pipe. Depth changes along the run, so work manhole to manhole (or in shorter pieces where the ground changes) rather than one average for the whole line.
Side slopes. How far the walls lay back, written as horizontal to vertical. A 1:1 slope moves out one foot for every foot down. Slopes make a big difference: in Type C soil, an 8 ft trench with a 3 ft bottom is 27 ft wide at the top.
OSHA maximum allowable slopes
For excavations less than 20 ft deep, OSHA's Appendix B to Subpart P (29 CFR 1926) sets the steepest slope allowed for each soil type:
| Soil type | Max slope (H:V) | Angle |
|---|---|---|
| Stable rock | Vertical | 90° |
| Type A | ¾ : 1 | 53° |
| Type B | 1 : 1 | 45° |
| Type C | 1½ : 1 | 34° |
Appendix B also allows ½ : 1 in Type A for a short-term excavation 12 ft deep or less. A competent person classifies the soil on site, and the classification can change with water, vibration or fissures.
A few lines in the rules change the bid as well as the safety plan:
- 5 ft or deeper: a protective system (sloping, benching, shoring or a shield) is required unless the trench is in stable rock. Under 5 ft, a competent person decides.
- 20 ft or deeper: the sloping or protective system has to be designed by a registered professional engineer.
- 4 ft or deeper: a ladder, stair or ramp within 25 ft of travel.
Sloped or boxed
If the crew runs a trench box, the walls are vertical and the bottom width is the box width, so the trench is far smaller. That saves excavation and backfill but adds the box, its moves and a slower pace. Price the one you'll actually use, and say which in your bid notes.
The formula
top width = bottom + 2 × slope × depth
section = depth × (bottom + slope × depth)
CY = section × length ÷ 27
pipe CY = π × (OD in inches ÷ 24)² × length ÷ 27
Worked example
Made-up numbers. 300 LF of 8" PVC sewer (8.4" OD), average 8 ft deep, 3 ft bottom.
Type B, sloped 1:1
section 8 × (3 + 1 × 8) = 88 SF
volume 88 × 300 ÷ 27 = 977.8 CY
top width 3 + 2 × 1 × 8 = 19 ft
In a 4 ft trench box, vertical walls
volume 8 × 4 × 300 ÷ 27 = 355.6 CY
Pipe displaces π × (8.4 ÷ 24)² × 300 ÷ 27 = 4.3 CY
Backfill (sloped) 977.8 − 4.3 = 973.5 CY
Same pipe, nearly three times the dirt. That's why the slope assumption belongs in the estimate, not just the safety plan.
Bedding usually goes in as imported material to a set depth over the pipe, so figure it as its own line: the bedding zone width × depth × length, less the pipe. What's left above it is backfill, native or imported per the spec.
Common mistakes
- One average depth on a long run. With sloped walls, volume grows faster than depth. A deep end and a shallow end don't average out.
- Leaving out the bedding below the pipe. The trench goes below the invert.
- Hauling bank yards. Spoil swells in the truck. See shrink and swell.
- Sloping where you can't. Right-of-way, utilities and buildings often force a box. Look at the plan view, not just the profile.
Questions
Do I have to slope every trench?
No. Trenches 5 ft or deeper need a protective system: sloping, benching, shoring or a shield. Sloping is one choice. Under 5 ft, a competent person decides whether protection is needed.
What is a competent person?
The person on site who can identify existing and predictable hazards and has the authority to correct them. For trenches, they classify the soil, inspect the excavation and decide the protective system.
How do I figure bedding and backfill?
Bedding is usually its own line: the bedding zone's width × depth × length, less the volume of the pipe inside it. Backfill is the trench volume less the pipe and the bedding.
Does the slope start at the bottom of the trench?
The maximum slopes in Appendix B apply to the whole face of the excavation, measured as horizontal run per foot of depth. Benching and combined systems have their own rules in the same appendix.
Estimates for planning and bidding. Check against your plans, specs and engineer.