How to Use the Trench Calculator
Enter your trench dimensions β length, width, and depth β select your bedding material, and click Calculate. The trench calculator instantly returns:
- Excavation volume in cubic yards (or cubic metres in metric mode)
- Bedding material needed (gravel, sand, or concrete cradle)
- Backfill volume β how much soil goes back in after pipe installation
- Loose spoil volume β accounting for a 25 % swell factor when soil is loosened
- Dump truck loads β based on a standard 14-cubic-yard soil truck
- Cost breakdown β excavation labor, bedding material, and off-site spoil hauling
Switch between Imperial (ft / cu yd) and Metric (m / mΒ³) with one click. All results update instantly.
Trench Volume Formula
The formula for trench excavation volume is:
Volume (cu yd) = Length (ft) Γ Width (ft) Γ Depth (ft) Γ· 27
For metric projects:
Volume (mΒ³) = Length (m) Γ Width (m) Γ Depth (m)
Example: A 50 ft long Γ 2 ft wide Γ 4 ft deep utility trench:
- Volume = 50 Γ 2 Γ 4 Γ· 27 = 14.81 cu yd
- With 25 % swell factor, loose spoil = 18.5 cu yd (2 truck loads)
Trench Excavation Cost Guide (2024 US Averages)
Trench excavation cost ranges widely depending on soil type, trench depth, and your local market.
| Trench Type | Typical Cost per Linear Foot |
|---|---|
| Shallow utility trench (2β3 ft deep) | $8 β $15 / lf |
| Standard water / sewer line (4β6 ft deep) | $15 β $35 / lf |
| Deep foundation trench (6β10 ft deep) | $35 β $80 / lf |
| Rock excavation (requires blasting/saw) | $60 β $150 / lf |
Factors that increase cost:
- Rocky or clay soil requiring additional equipment
- Shoring requirements (OSHA mandates shoring for trenches > 5 ft deep)
- Urban locations with traffic management or permits
- Off-site spoil disposal fees (typically $10β$18 per ton at a landfill)
Trench Bedding Materials Explained
Bedding material is placed at the bottom of the trench to provide a stable, level, and properly graded surface for the pipe or conduit. The right choice protects the pipe from point loading and settlement.
Crushed Gravel / Pea Gravel
The most common choice for gravity sewer, storm drain, and water service lines. It provides excellent drainage and conforms to irregular pipe surfaces. Typical bedding depth: 4β6 inches (100β150 mm). Cost: $25β$45 per cu yd delivered and placed.
Sand
Used where uniform support is critical, such as delicate plastic pipe or conduit. It compacts easily and is often required by municipal specifications. Cost: $20β$38 per cu yd.
Concrete Cradle
For high-load applications β large-diameter sewer mains under roads, or where ground conditions are poor β a concrete encasement is poured around the pipe. This is the most expensive option. Cost: $140β$220 per cu yd.
No Bedding
Only appropriate for solid-wall conduit in stable, rocky soil that is already at the correct grade. Not recommended for plastic pipe or drainage systems.
Backfill vs Spoil: What's the Difference?
After the pipe or conduit is laid, the trench must be backfilled in controlled lifts and compacted. Not all excavated soil goes back in:
- Backfill volume = Trench volume β bedding volume. This is the amount of native soil (or imported fill) needed to fill the trench back up to grade.
- Spoil = The excess or unsuitable soil that must be hauled away. Even if you're reusing native soil as backfill, the swell factor (soil expands ~25% when loosened) means you'll have more loose material than can fit back in the trench.
Tip: For projects under 20 cy of spoil, a standard roll-off dumpster is often cheaper than hiring a dump truck. For larger volumes, a 14-cy dump truck at $250β$350 per load is more economical.
OSHA Safety Requirements for Trenches
Trench excavation is one of the most hazardous construction activities. OSHA 29 CFR 1926 Subpart P sets clear requirements:
- Trenches 5 feet or deeper require a protective system: sloping/benching, trench shield (box), or shoring.
- Trenches 20 feet or deeper require a design by a registered professional engineer.
- A competent person must inspect the trench daily and after any rain event.
- Water accumulation in a trench is a serious hazard β dewatering is required before workers enter.
- Access/egress must be within 25 feet of all workers.
Always obtain the required excavation permits before breaking ground. Most US municipalities require a permit for any trench deeper than 2 feet near underground utilities.
Common Trench Projects and Typical Dimensions
| Project | Typical Width | Typical Depth |
|---|---|---|
| Residential water service (3/4β³ pipe) | 12β18 in | 36β48 in (frost line) |
| Sewer lateral (4β³ pipe) | 18β24 in | 36β72 in |
| Electrical conduit (underground) | 12β18 in | 24 in min. (NEC 300.5) |
| Natural gas service line | 12β18 in | 18β24 in |
| French drain / drainage channel | 12β24 in | 18β36 in |
| Irrigation mainline | 6β12 in | 12β18 in |
| Strip footing (residential foundation) | 16β24 in | 24β48 in |
Frequently Asked Questions
How many cubic yards is a typical residential trench? A standard 50-foot-long, 18-inch-wide, 4-foot-deep utility trench is approximately 11 cu yd of excavation. Including swell, you'd haul about 14 cu yd of loose spoil.
What is the swell factor for trench excavation? Standard soil swells approximately 20β30% when excavated (loose). A 25% swell factor is widely used: 10 cu yd of in-situ soil becomes 12.5 cu yd of loose spoil. Clay can swell up to 35β40%.
How long does it take to dig a trench? A mini excavator can dig approximately 50β100 linear feet per hour in average soil at 4 ft depth. A standard excavator can dig 100β300 lf/hr. Hand digging: 5β10 lf/hr per worker.
Do I need a permit to dig a trench? Always call 811 (US) or your local utility mark-out service before digging. Most municipalities require a permit for trenches deeper than 18β24 inches near public right-of-way, utility easements, or structures.
Can I reuse excavated soil as backfill? Yes, if the native soil is not expansive clay, organic, or heavily contaminated. Granular soil (sand, gravel, sandy loam) is ideal for backfill. Clay-heavy soil may require importing granular fill to prevent poor compaction and pipe movement.