OSHA Trench Sloping Calculator: Soil Classification and Maximum Allowable Slope (29 CFR 1926 Subpart P)
Single simple-slope check for trenches and excavations under 29 CFR 1926 Subpart P. Select the soil type, or classify it from the unconfined compressive strength and site conditions (Appendix A), and the calculation core returns the Table B-1 maximum allowable slope, the slope angle and the top-width increase per side in feet. Depths over 20 ft and surcharge loads are reported as not judged, because OSHA requires a registered professional engineer or a competent person for them.
Standards and references (context for this calculation; the basis the calculator applies is the one stated below):
Design basis as reported by the calculation core: 29 CFR Part 1926 Subpart P (OSHA): §1926.652, Appendix A Soil Classification, Appendix B Table B-1 (e-CFR current text, up to date as of 2026-11-12)
Recalculates in your browser as you edit inputs; Free sample Word report and DXF for this calculator; With a license: formal Word and DXF export, plus online project reports from the Project List.
Check Summary Preview (Software Format; Auto-Populated)
Calculation basis: 29 CFR Part 1926 Subpart P (OSHA): §1926.652, Appendix A Soil Classification, Appendix B Table B-1 (e-CFR current text, up to date as of 2026-11-12)
| Check item | Trial value | Status |
|---|---|---|
| Planned slope not steeper than the maximum allowable slope (Appendix B (c)(3)(i)) | 1:1 H:V ≥ 1:1 | OK |
Summary of the online check (software format). Soil classification and site conditions are determined by the competent person, and excavations deeper than 20 ft are designed by a registered professional engineer. Public domain federal regulation (29 CFR Part 1926 Subpart P) pursuant to 17 U.S.C. Sec. 105.
Desktop edition: calculation reports and cross-module quantity reconciliation
1. Calculation reports: with a license, the desktop edition writes Word (.docx) and Excel (.xlsx) calculation reports and DXF drawings without the trial watermark, listing the inputs, the equations used and the results; in trial mode the step-by-step detail is hidden. For this calculator alone, licensed users can also sign in on the calculator above and formally export a single-tool Word report (with a verification code) and DXF drawing. The Pro plan (all modules) is US$990 per year; see Pricing for monthly, perpetual and team plans.
2. Cross-module reconciliation: desktop project runs carry the design peak flow into downstream channel, culvert and bridge hydraulics; terrain cut/fill into the earthwork balance, cost and carbon tables; structural concrete, formwork and rebar take-off into the cost and carbon tables; slope and excavation safety-factor thresholds into construction monitoring trigger levels.
3. Agency plan reviewers and university faculty can request a complimentary review or teaching license (link below).
Regulatory Basis and Thresholds (29 CFR 1926 Subpart P)
Table B-1 maximum allowable slopes for excavations less than 20 feet deep are vertical (90°) for stable rock, 3/4:1 (53°) for Type A, 1:1 (45°) for Type B and 1½:1 (34°) for Type C soil (29 CFR 1926 Subpart P, Appendix B).
- A short-term maximum allowable slope of 1/2H:1V (63°) is allowed in Type A soil in excavations 12 feet or less deep; short term means 24 hours or less (Appendix B, Table B-1 Note 2 and (b)).
- Sloping or benching for excavations greater than 20 feet deep shall be designed by a registered professional engineer (Table B-1 Note 3).
- Type A is cohesive soil with an unconfined compressive strength of 1.5 tsf or greater; Type C has 0.5 tsf or less, or is granular, submerged or freely seeping soil, or has layers dipping into the excavation at 4H:1V or steeper; no soil is Type A if it is fissured, subject to vibration or previously disturbed (Appendix A (b)).
- Without soil classification, slopes shall be no steeper than 1½H:1V (34°) (§1926.652(b)(1)(i)).
- With signs of distress, the slope is cut back at least 1/2H:1V flatter than the maximum allowable slope (Appendix B (c)(3)(ii)); with surcharge loads, a competent person determines the reduction (Appendix B (c)(3)(iii)).
- Excavations less than 5 feet deep with no indication of a potential cave-in, as examined by a competent person, and excavations made entirely in stable rock need no protective system (§1926.652(a)(1)).
Governing Equations (US Customary Notation) & Basis Reported by the Calculation Core
The equations and limits the calculation core applies are listed below for independent checking.
Worked Example: 10 ft Deep Trench in Type B Soil with a Planned 1:1 Slope
The worked example below was computed by the calculation core when this page was built; entering the same inputs above reproduces it. Verification cases, tolerances and actual differences for the calculation core are listed on the Benchmarks page.
A 10 ft deep trench in Type B soil is cut back on each side at a planned slope of 1H:1V, with no signs of distress and no surcharge loads. The calculation core returns the maximum allowable slope, the slope angle and the top-width increase per side, and checks the planned slope against Table B-1.
Every number in this example was produced by the calculation core (WebAssembly) when this page was built. The calculation core computes this tool directly in feet and tons per square foot, the units in which 29 CFR 1926 Subpart P states its limits; no unit conversion is applied to the inputs or results. Basis reported by the core: 29 CFR Part 1926 Subpart P (OSHA): §1926.652, Appendix A Soil Classification, Appendix B Table B-1 (e-CFR current text, up to date as of 2026-11-12)
1. Input Parameters
| Design Parameter | US Customary Value | Unit |
|---|---|---|
| Soil Classification | Type B | — |
| Excavation Depth | 10 | ft |
| Trench Bottom Width | (blank) | ft |
| Planned Slope H:V | 1 | — |
| Short-Term Excavation | No | — |
| Signs of Distress | No | — |
| Surcharge Loads Present | No | — |
| No Indication of Cave-In | No | — |
2. Computed Results (calculation core output)
| Output | Result |
|---|---|
| Maximum allowable slope H:V | 1.00 |
| Required slope H:V | 1.00 |
| Slope angle from horizontal | 45.0 ° |
| Top-width increase per side | 10.00 ft |
Verification Checks (calculation core output)
| Verification Item | Computed Result | Governing Limit / Criterion | Status | Basis |
|---|---|---|---|---|
| Planned slope not steeper than the maximum allowable slope (Appendix B (c)(3)(i)) | 1:1 | H:V ≥ 1:1 | PASS | 29 CFR Part 1926 Subpart P (§1926.652; Appendix A; Appendix B): Appendix B (c)(2), (c)(3) |
3. Calculation Steps (calculation core output)
[HyGeoWorks online preview - not for PE sealing or submittal] Excavation depth H = 10.00 ft Soil classification: Type B (User-specified) Maximum allowable slope (Appendix B Table B-1): 1:1 (45°) Top-width increase per side = H:V × H = 1.00 × 10.00 = 10.00 ft; slope angle = atan(1/1.00) = 45.0°
Assumptions and Limits Stated by the Calculation Core
- Conclusion: Slope per Appendix B, Table B-1: the planned slope of 1:1 is not steeper than the required 1:1, with a top-width increase of 10.00 ft per side (29 CFR Part 1926 Subpart P (§1926.652; Appendix A; Appendix B))
- Appendix A (c): soil and rock deposits are classified by a competent person from at least one visual and at least one manual analysis; layered systems take the weakest layer (each layer may be classified individually where a more stable layer lies under a less stable one); reclassify when conditions change
- This tool handles the single simple slope of Table B-1 only; benching and vertically sided lower portions follow Figure B-1, support and shield systems follow Appendices C and D or the manufacturer's tabulated data, and adjacent structures follow §1926.651(i), all outside its scope
Table B-1 Maximum Allowable Slopes by Soil Type (computed by the calculation core at 10 ft depth)
Table B-1 of 29 CFR 1926 Subpart P Appendix B gives the maximum allowable slope for each soil or rock type in excavations 20 ft or less deep. Each row below was computed by the calculation core in feet when this page was built, with no unit conversion; the angles are exact arctangents, while Table B-1 prints them rounded.
| Soil or Rock Type | Maximum Allowable Slope H:V | Slope Angle from Horizontal | Top-Width Increase per Side (10 ft deep) |
|---|---|---|---|
| Stable rock | 0.00 | 90.0 ° | 0.00 ft |
| Type A | 0.75 | 53.1 ° | 7.50 ft |
| Type A, short-term (24 hours or less), 12 ft or less deep | 0.50 | 63.4 ° | 5.00 ft |
| Type B (worked example) | 1.00 | 45.0 ° | 10.00 ft |
| Type C | 1.50 | 33.7 ° | 15.00 ft |
When not to use this calculator (limits of applicability)
This calculator checks a single simple slope against Table B-1 of 29 CFR 1926 Subpart P Appendix B; in the situations below, use the method in the right column instead.
| Situation | Use instead |
|---|---|
| Excavation depth greater than 20 ft | Design by a registered professional engineer (Table B-1 Note 3) |
| Groundwater seepage, or layers dipping into the excavation face | Reclassify under Appendix A (Type C); the classify mode of this calculator applies it |
| Foundations of adjacent structures | §1926.651(i) |
| Support systems or trench shields | Appendix C or D tables, or the manufacturer's tabulated data |
| Excavations outside the United States | The local regulations of that country |
Frequently Asked Questions (Basis, Scope & Limits)
Common questions about this calculator and its basis are answered below. Final submittals require review and seal by a licensed Professional Engineer.
What is the “5-4-3-2-1” trench rule, and which parts does this calculator check?
“5-4-3-2-1” is a jobsite training mnemonic, not a term in the OSHA standard, and published versions assign the numbers differently. The version that maps onto 29 CFR 1926 is: 5 — each employee in an excavation must be protected from cave-ins by a protective system unless the excavation is entirely in stable rock, or is less than 5 feet deep and a competent person finds no indication of a potential cave-in (§1926.652(a)(1)); a trench exactly 5 feet deep therefore needs protection. 4 — trench excavations 4 feet or more deep need a stairway, ladder, ramp or other safe means of egress located so that employees travel no more than 25 feet laterally (§1926.651(c)(2)); where a hazardous atmosphere could reasonably be expected, excavations greater than 4 feet deep are also tested before employees enter (§1926.651(g)(1)(i)). 3 — portable ladder side rails extend at least 3 feet above the upper landing surface, or the ladder is secured at its top and a grabrail is provided (§1926.1053(b)(1)). 2 — excavated or other materials and equipment are kept at least 2 feet from the edge, or retaining devices are used (§1926.651(j)(2)). 1 — a competent person inspects the excavation, the adjacent areas and the protective systems daily, before work starts, as needed during the shift and after every rainstorm (§1926.651(k)(1)); the standard sets when inspections happen, not a head count. This calculator checks only item 5: the stable-rock and under-5-foot exceptions (the latter when you confirm that the competent person found no indication of a cave-in) and, otherwise, the Appendix A soil type and the Table B-1 maximum allowable simple slope for excavations 20 feet or less deep. Egress, ladders, the 2-foot setback and inspections are site requirements that it does not check.
Does the calculator compute the slope reduction for surcharge loads?
No. Appendix B (c)(3)(iii) requires the maximum allowable slope to be reduced when surcharge loads from stored material or equipment, operating equipment or traffic are present, but OSHA gives no formula: a competent person determines the reduction. When Surcharge Loads Present is checked, the slope check is reported as not judged. Surcharge from adjacent structures is evaluated under §1926.651(i).
What happens for excavations deeper than 20 feet?
Table B-1 Note 3 requires sloping or benching for excavations greater than 20 feet deep to be designed by a registered professional engineer. The calculation core reports the slope check as not judged and outputs no slope values above 20 ft. At exactly 20 ft Table B-1 still applies, as Figure B-1 covers excavations 20 feet or less deep.
How does the soil classification mode work?
With Soil Classification set to classify, the core applies Appendix A (b): Type A needs cohesive soil with qu of 1.5 tsf or greater that is not fissured, not subject to vibration and not previously disturbed; qu of 0.5 tsf or less, granular soil, submerged or freely seeping soil, or layers dipping into the excavation at 4H:1V or steeper make it Type C. Cohesive soil without a qu value cannot be classified, so the core uses the 1½H:1V slope of §1926.652(b)(1)(i).
Does the calculator cover benching, shoring or trench shields?
No. It checks a single simple slope from Table B-1. Benching and vertically sided lower portions follow Figure B-1, support and shield systems follow Appendices C and D or the manufacturer's tabulated data, and adjacent structures follow §1926.651(i). A competent person classifies the soil from at least one visual and one manual analysis (Appendix A (c)).
From the Online Preview to the HydroStudio Desktop Edition: Reports Without the Trial Watermark
The free online preview is not for PE sealing or submittal and has no Word report, DXF drawing or verification code. Licensed users can sign in on the calculator and formally export a single-tool Word report (with a verification code) and DXF drawing. Several calculators can be combined in the Project List and exported online as a multi-chapter project report, and projects with terrain or GIS files can run in the heavy cloud computation. For interactive 2D models and large simulations, the HydroStudio desktop edition (Windows 10/11, 64-bit) opens the exported .toml project and, with a license, writes report.docx, a report.xlsx with live formulas and DXF drawings without the trial watermark. Sealing and submittal remain the responsibility of the licensed engineer.
Compare all plans, including 90-day passes and perpetual licenses