Calculate sloping angles, shoring requirements, and OSHA compliance for safe trench excavation.
Enter your trench dimensions (depth, width, length), select your soil classification and protection method, then click Calculate. The tool outputs required slope ratios, minimum setback distances, estimated lateral earth pressure, shoring member requirements, and OSHA 29 CFR 1926 Subpart P compliance status.
Use the Advanced tab to factor in soil unit weight, surcharge loads from equipment or spoil piles, strut spacing, and groundwater — all of which affect your shoring design significantly.
Trench collapses are among the most deadly construction hazards. OSHA statistics show that cave-ins kill approximately 35–50 workers every year in the United States, and a single collapse can bury a person under 3,000 lbs of soil in seconds — faster than any rescue can respond.
An 8-foot deep trench in sandy, wet soil (Type C) with no shoring and a loaded dump truck parked 4 feet away represents an extreme hazard. Proper sloping for Type C soil requires a 1.5H:1V ratio — meaning each side must step back 12 feet, giving a total top opening of 28 feet for a 4-foot wide trench. That's often impractical on urban job sites, which is why shields and timber shoring are common alternatives.
For utility contractors, municipalities, and site supervisors, this calculator helps plan excavations properly before breaking ground — saving both lives and costly OSHA fines that start at $15,625 per willful violation.
Slope Method: OSHA Appendix B defines horizontal:vertical ratios by soil type: Type A = ¾H:1V, Type B = 1H:1V, Type C = 1½H:1V. The required setback per side = Depth × H/V ratio. Top opening = Bottom Width + (2 × Setback).
Lateral Earth Pressure (Rankine): σh = Ka × γ × z + Ka × q, where Ka = (1 – sin φ)/(1 + sin φ), γ = soil unit weight, z = depth, q = surcharge. Friction angle φ defaults by soil type (35°, 28°, 20° for A/B/C).
Shoring Load: Total lateral force per linear foot = ½ × σh_max × depth. Strut load = force × wale spacing. This drives timber section selection per OSHA Table C-2.3.
OSHA defines a competent person as someone who can identify hazardous or dangerous conditions and has the authority to take corrective action. For trenching, this means knowledge of soil classification, protective system requirements, and the ability to perform on-site soil tests. This calculator is a planning aid — it does not replace the judgment of a qualified competent person on site.
Shoring (timber or hydraulic) actively supports the trench walls and prevents movement. A trench shield (box) does not prevent wall movement — it protects workers if a cave-in occurs by containing the collapse. Shields are typically used for short-duration work and are slid along as work progresses, while shoring is preferred for longer trenches where wall stability is critical.
Often not practically. In Type C soil, sloping an 8-foot deep trench requires 12 feet of setback on each side — a total ground disturbance of 28 feet for a 4-foot pipe trench. In tight urban right-of-ways, a hydraulic slide rail or trench box is usually the only viable option. Always check local regulations as they may be stricter than federal OSHA minimums.
This tool applies the formulas and ratios from OSHA 29 CFR 1926 Subpart P and its appendices. However, it is an educational and planning tool only, not a certified engineering document. For permit-required or complex excavations, consult a licensed geotechnical engineer and your local authority having jurisdiction (AHJ).