# Trench Sloping & Excavation Width Calculator

> Top width and spoil volume for a sloped excavation, at the maximum allowable slope for a soil type a competent person has classified.

Page: https://craftquantities.com/calculators/heavy-civil/trench-safety-slope-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.2.0, sources checked 2026-10-31, 5 published test vectors.

Excavation top width: 19.5 ft for Excavation depth 8 ft, Bottom width 3.5 ft and Trench length 33 ft, the page's opening figures; on the metric page, 2.4 m, 1 m and 10 m give 5.8 m. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Excavation depth | `depth` | 2.4 m | 8 ft | mm, cm, m, in, ft, yd; range 0.01–6.096 m |
| Bottom width | `bottomWidth` | 1 m | 3.5 ft | mm, cm, m, in, ft, yd; range 0.01–30 m |
| Trench length | `trenchLength` | 10 m | 33 ft | mm, cm, m, in, ft, yd; range 0.01–500 m |
| Soil type — as classified by a competent person | `soilType` | Type B — 1:1, 45° | Type B — 1:1, 45° | `rock`, `typeA`, `typeB`, `typeC` |

- **Excavation depth**: Depth from existing ground to the trench bottom.
- **Bottom width**: Width needed at the base for the work.
- **Trench length**: Run of trench at this profile, for the total excavation volume.
- **Soil type — as classified by a competent person**: This calculator does not classify soil. A competent person must.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Excavation top width** | 5.8 m |
| Setback each side | 2.4 m |
| Slope angle from horizontal | 45 ° |
| Spoil volume per unit length of trench | 8.16 m³/m |
| Extra volume caused by sloping | 5.76 m³/m |
| Top width in feet | 19.03 ft |
| Total bank excavation volume | 81.6 m³ |

### US customary

| Result | Value |
|---|---|
| **Excavation top width** | 19.5 ft |
| Setback each side | 8 ft |
| Slope angle from horizontal | 45 ° |
| Spoil volume per unit length of trench | 3.41 yd³/ft |
| Extra volume caused by sloping | 2.37 yd³/ft |
| Top width in feet | 19.5 ft |
| Total bank excavation volume | 112.44 yd³ |

- Confidence: medium.

## How it is worked out

Geometry at the tabulated maximum allowable slope for the soil type you selected. It is not a classification, and it is not a protective-system design.

The working the page shows, in order: Setback each side; Slope angle from horizontal; Spoil volume per unit length of trench; Extra volume caused by sloping; Top width in feet; Total bank excavation volume; then excavation top width.

The method, derived in full:

- [Temporary Works: Slings, Wind, Battering and Haul Cycles](https://craftquantities.com/methodology/temporary-works-and-site-safety/): Why a shallow sling angle doubles the tension in every leg, why a sheeted scaffold carries an order more wind than an open one, and why adding trucks to a short haul achieves nothing.

What this calculation does not cover:

- Soil classification must be made on site by a competent person using the tests in OSHA Appendix A. This calculator applies the slope for a classification you supply; it cannot make one.
- Excavations deeper than 20 feet (6.096 m) require a protective system designed by a registered professional engineer. The depth input is capped for that reason.
- Layered soils are classified by the weakest layer present, and previously disturbed ground is Type C regardless of appearance.
- Spoil must be kept at least 2 ft (0.6 m) from the edge, and that setback is not included in the top width here. Surcharge from spoil, plant or adjacent structures changes the problem entirely.

A professional must decide:

- Soil classification must be made on site by a competent person using the tests in OSHA Appendix A. This calculator applies the slope for a classification you supply; it cannot make one.
- Excavations deeper than 20 feet (6.096 m) require a protective system designed by a registered professional engineer. The depth input is capped for that reason.

## Sources

As the calculator cites them (sources checked 2026-10-31):

- OSHA 29 CFR 1926 Subpart P, Appendix B — maximum allowable slopes for excavations less than 20 feet deep: Stable Rock vertical; Type A 3/4:1 (53°); Type B 1:1 (45°); Type C 1½:1 (34°)
- 29 CFR 1926.652 — excavations deeper than 20 feet require a protective system designed by a registered professional engineer
- Soil classification under Appendix A must be performed by a competent person using at least one visual and one manual test

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**Why will this not tell me my soil type?**

Because classification is the safety-critical judgement, and it cannot be made from a web form. OSHA requires a competent person on site to perform at least one visual and one manual test — thumb penetration, pocket penetrometer, plasticity — and to reassess as conditions change. A dropdown that guessed would be dressing up the dangerous half of the problem as the easy half. Where nobody has classified it, the correct assumption is Type C.

**What automatically makes soil Type C?**

Previously disturbed ground — anything backfilled before. Submerged soil, or soil with water freely seeping in. Soil in a layered system sloping into the excavation at four horizontal to one vertical or steeper. And soil subject to vibration from traffic or plant. Any of these overrides what the material appears to be.

**Why is the depth capped at 20 feet?**

Because the OSHA slope tables stop there. Beyond 6.096 m the protective system must be designed by a registered professional engineer for the specific conditions — there is no table that extends, and extending one by extrapolation is exactly the kind of false confidence that gets people killed in trenches.

**Does sloping cost more than shoring?**

On a deep cut it usually does: sloping's extra spoil grows with the square of the depth, and at 4 m (13 ft) in Type C soil the excavation is 13 m (43 ft) wide at the top. Depth and the room you have decide it. The breakdown shows the extra spoil volume that sloping creates over a vertical cut, and at that width a trench box or shoring usually becomes both cheaper and more practical, quite apart from whether the room exists at all.

## Related calculators

- [Excavation Sloping/Benching Setback Calculator](https://craftquantities.com/calculators/materials-quantities/excavation-sloping-setback-calculator/)
- [Trench Excavation & Backfill Volume Calculator](https://craftquantities.com/calculators/materials-quantities/trench-excavation-backfill-calculator/)
- [Excavation Shoring Lateral Active Soil Pressure Calculator (Rankine)](https://craftquantities.com/calculators/heavy-civil/shoring-active-pressure-calculator/)
- [Truck Haul Cycle Time Calculator](https://craftquantities.com/calculators/heavy-civil/haul-cycle-time-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/trench-safety-slope-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/trench-safety-slope-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `trench-safety-slope-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/trench-safety-slope-calculator.json

---
Source: https://craftquantities.com/calculators/heavy-civil/trench-safety-slope-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
