Earthwork
Trench Volume Calculator
Enter the trench length, width and depth plus the pipe outside diameter. The calculator returns excavation volume, the volume taken up by the pipe and the backfill needed.
Formula
Excavation (ft³) = length × width (in) ÷ 12 × depth. Pipe displacement = π × (OD ÷ 24)² × length, with OD in inches. Backfill = (excavation - pipe) ÷ 27. Bedding stone is part of the backfill; split it out if priced separately.
Worked example
100 ft of trench, 24 in wide and 4 ft deep, with 8 in OD pipe: excavation = 100 × 2 × 4 = 800 ft³ = 29.63 yd³. Pipe = π × (0.333)² × 100 = 34.9 ft³. Backfill = 765.1 ft³ = 28.34 yd³.
Assumptions and limits
- Vertical trench walls; sloped or benched walls increase volume.
- Backfill is compacted volume; convert with swell and shrink factors for haul.
- OSHA requires a protective system (sloping, shoring or a trench box) for trenches 5 ft or deeper unless in stable rock, and a registered professional engineer must design protective systems for excavations deeper than 20 ft.
Frequently asked questions
How wide should a pipe trench be?
Pipe manufacturers and agency specifications commonly call for the pipe OD plus about 12 to 24 in to allow compaction around the pipe.
When does a trench need shoring?
Under OSHA 29 CFR 1926.652, at 5 ft deep or more unless the excavation is entirely in stable rock. A competent person may also require protection in shallower trenches.
What is bedding?
A layer of granular material under and around the pipe that provides uniform support. Depth and material come from the pipe specification.