Retaining Wall Stability Calculator
Soil and surcharge produce moments at different heights; both factors of safety must pass.
Also known as retaining wall design · gravity wall check · wall stability
With the default inputs: Wall height H 3 m · Backfill friction angle φ 30° · Backfill unit weight γ 18 kN/m³ etc.Sliding factor of safety 1.75
Use your own dimensions ↓Inputs
Result
| Active coefficient Ka | 0.333 |
| Soil pressure | 27.0kN/m |
| Surcharge pressure | 10.0kN/m |
| Total horizontal force | 37.0kN/m |
| Overturning moment | 42.0kNm/m |
| Restoring moment | 116.6kNm/m |
| Overturning FS (≥1.6 required) | 2.78 |
| Sliding FS (≥1.3 required) | 1.75 |
| Eccentricity e | 0.324m |
| Eccentricity limit 0.25B (GB 50007) | 0.450m |
| No-tension limit B/6 | 0.300m |
| Max base pressure | 150kPa |
| Min base pressure | -6kPa |
| Verdict | Pass, but the base is in tension - widen it |
How this is worked out
The two factors cover different failures: overturning is the wall rotating about its toe, sliding is the whole wall being pushed along its base. The two thresholds are not the same number: GB 50007-2011 clause 6.7.5 requires (Gn+Ean)mu/(Eat-Gt) >= 1.3 against sliding, (Gx0+Eaz·xf)/(Eax·zf) >= 1.6 against overturning, and a resultant eccentricity <= 0.25b. The easiest mistake here is the moment arms — soil pressure is triangular with its resultant at H/3, surcharge is rectangular at H/2. Combining them into one force at H/3 under-predicts the overturning moment. Once the eccentricity exceeds B/6 the base goes into tension and qmin comes out negative; in reality the heel lifts off and the pressure redistributes so qmax is higher than the formula. Clause 6.7.5 allows up to 0.25b, but a negative qmin still means widen the base or shift the stem back. qmax must also stay below the allowable bearing pressure fa, which this tool does not take as an input - check it against the site investigation. One thing this tool does not cover: water behind the wall. Without drainage the hydrostatic push can double the horizontal force, so always detail a filter layer and weep holes at 2-3 m centres, 50-100 mm diameter, staggered in two rows.
Next up: Pile Capacity Calculator · Bearing Capacity Calculator
Reverse: known result, work out one input
Enter a target result; the other inputs stay fixed and this one is worked out.
Formula
| Active coefficient | Ka = (1 − sinφ)/(1 + sinφ) |
| Soil pressure | Ps = 0.5·Ka·γ·H² |
| Surcharge | Pq = Ka·q·H |
| Overturning moment | Mo = Ps·H/3 + Pq·H/2 |
| Restoring moment | Mr = W·B/2 |
| Sliding FS | FSs = W·μ / Pa |
| Overturning FS | FSo = Mr / Mo |
| Base pressure | q = W/B·(1 ± 6e/B) |
Basis
The codes below are listed for comparison. This calculator returns GB 50007-2011 values only.
- Implemented: GB 50007-2011 (China) - the values this calculator returns
- GB 50007-2011, §6.7.5, Eq. (6.7.5-1) — sliding: (Gn + Ean)·μ / (Eat − Gt) ≥ 1.3
- GB 50007-2011, §6.7.5, Eq. (6.7.5-6) — overturning: (G·x0 + Eaz·xf) / (Eax·zf) ≥ 1.6
- GB 50007-2011, §6.7.5-4 — resultant eccentricity not greater than 0.25b
- GB 50007-2011, Table 6.7.5-1 — wall friction angle δ as a fraction of φk
- GB 50007-2011, Table 6.7.5-2 — base friction coefficient μ by soil type
FAQ
How wide does a retaining wall need to be?
Is drainage behind the wall really necessary?
What to calculate next
These jobs are done back to back on site — follow the steps to work through the whole sequence.
Retaining: pressure to supportStep 2 of 4
- 1Earth Pressure Calculator
- 2Retaining Wall Stability Calculator
- 3Soldier Pile Calculator
- 4Ground Anchor Calculator
Cite this page
Use this format in reports, method statements or coursework. The link is permanent.
Building Calculator. Retaining Wall Stability Calculator. 2026-10-25. https://jianzhujisuan.com/en/retaining-wall