Retaining Wall Stability Calculator

Find the factor of safety against overturning and sliding for a cantilever retaining wall from its height, base width, backfill properties, and self-weight.

🧱 Retaining Wall Stability Calculator
Wall height (H)4 m
m
110
Base width (B)2.5 m
m
16
Backfill unit weight (γ)18 kN/m³
kN/m³
1422
Soil friction angle (φ)30°
°
1545
Base friction coefficient (μ)0.50
0.20.8
Wall and base self-weight (W)180 kN/m
kN/m
201000
FoS against overturning
FoS against sliding
Active pressure coefficient (Ka)
Active thrust (Pa)
Step-by-step working

🧱 What is Retaining Wall Stability?

Retaining wall stability is the check that confirms a cantilever retaining wall will not overturn about its toe or slide along its base under the horizontal thrust of the soil it holds back. Every retaining wall carries a backfill of soil on one side, and that soil pushes outward against the wall with a force known as active earth pressure, calculated here using Rankine's classical theory. Two separate failure modes have to be checked against that thrust: overturning, where the wall rotates forward about its toe, and sliding, where the whole wall slides forward along its foundation.

Geotechnical and structural engineers run this check at the very start of retaining wall design, right after a preliminary height and base width are chosen from experience or a rule of thumb, and again every time the section is revised. A civil engineer sizing a highway cut-and-fill wall checks both factors of safety before finalizing the footing width. A residential contractor building a garden retaining wall over 1.2 m tall (the typical height where engineering review becomes mandatory in most jurisdictions) uses the same two checks to confirm the wall will not tip or slide during the first heavy rain that saturates the backfill.

A common misconception is that a taller, heavier-looking wall is automatically stable. In reality, the active thrust Pa grows with the square of the wall height (Pa is proportional to H squared), while the resisting moment only grows linearly with how much extra base width or self-weight is added, so taller walls need disproportionately wider bases, not just thicker stems, to keep both factors of safety above their minimums.

This calculator takes the wall height, base width, backfill unit weight, soil friction angle, base friction coefficient, and total wall self-weight, and returns the Rankine active pressure coefficient, the active thrust, and the factors of safety against both overturning and sliding, each with a clear pass or fail verdict against the standard 2.0 and 1.5 thresholds.

📐 Formula

FoSoverturn  =  Mr / Mo     FoSslide  =  (μ × W) / Pa
Ka = (1 − sinφ) / (1 + sinφ), Rankine active earth pressure coefficient
Pa = 0.5 × γ × H² × Ka, active thrust per unit length (kN/m), acting at H/3 above the base
Mo = Pa × H/3, overturning moment about the toe (kN·m/m)
Mr = W × B/2, resisting moment about the toe (kN·m/m), assuming the self-weight W acts at the base midpoint (a simplification)
μ = coefficient of friction between the base and the founding soil
Example: H = 4 m, B = 2.5 m, γ = 18 kN/m³, φ = 30°, μ = 0.5, W = 180 kN/m → FoSoverturn ≈ 3.52 (Pass), FoSslide ≈ 1.88 (Pass).

📖 How to Use This Calculator

Steps

1
Enter the wall geometry. Type the wall height H and base width B, both in meters.
2
Enter the backfill and friction properties. Type the backfill unit weight, soil friction angle, and base friction coefficient.
3
Enter the wall self-weight. Type the total self-weight per unit length W of the stem and base together.
4
Read the factors of safety. See the factor of safety against overturning and sliding, both with a pass or fail verdict against the 2.0 and 1.5 thresholds.

💡 Example Calculations

Example 1 — Small Garden Wall, Both Checks Pass

H = 4 m, B = 2.5 m, γ = 18 kN/m³, φ = 30°, μ = 0.5, W = 180 kN/m

1
Ka = (1 − sin30°) / (1 + sin30°) = 0.333
2
Pa = 0.5 × 18 × 4² × 0.333 = 48.00 kN/m, Mo = 48.00 × 4/3 = 64.00 kN·m/m
3
Mr = 180 × 2.5/2 = 225.00 kN·m/m
FoSoverturn = 225.00 / 64.00 = 3.52 (Pass), FoSslide = (0.5 × 180) / 48.00 = 1.88 (Pass)
Try this example →

Example 2 — Taller Highway Wall, Both Checks Pass

H = 6 m, B = 3.5 m, γ = 18 kN/m³, φ = 30°, μ = 0.55, W = 320 kN/m

1
Ka = 0.333 (same 30° friction angle), Pa = 0.5 × 18 × 6² × 0.333 = 108.00 kN/m
2
Mo = 108.00 × 6/3 = 216.00 kN·m/m, Mr = 320 × 3.5/2 = 560.00 kN·m/m
3
FoSslide = (0.55 × 320) / 108.00 = 1.63 (Pass)
FoSoverturn = 560.00 / 216.00 = 2.59 (Pass), FoSslide = 1.63 (Pass)
Try this example →

Example 3 — Undersized Wall, Both Checks Fail

H = 5 m, B = 2 m, γ = 19 kN/m³, φ = 28°, μ = 0.45, W = 150 kN/m

1
Ka = (1 − sin28°) / (1 + sin28°) = 0.361, Pa = 0.5 × 19 × 5² × 0.361 = 85.75 kN/m
2
Mo = 85.75 × 5/3 = 142.91 kN·m/m, Mr = 150 × 2/2 = 150.00 kN·m/m
3
FoSoverturn = 150.00 / 142.91 = 1.05, well under the 2.0 minimum
FoSoverturn = 1.05 (Fail), FoSslide = (0.45 × 150) / 85.75 = 0.79 (Fail), this base is too narrow and too light for this wall height
Try this example →

❓ Frequently Asked Questions

What factor of safety against overturning is required for a retaining wall?+
A factor of safety of at least 2.0 against overturning is the widely used minimum in geotechnical design, meaning the resisting moment must be at least twice the overturning moment caused by the active earth pressure. This calculator flags any result below 2.0 as a fail.
What factor of safety against sliding is required for a retaining wall?+
A factor of safety of at least 1.5 against sliding is the standard minimum, meaning the base friction resistance must be at least 1.5 times the horizontal active thrust trying to push the wall forward. This calculator flags any result below 1.5 as a fail.
How do you calculate the active earth pressure on a retaining wall?+
Using Rankine's theory, the active pressure coefficient is Ka = (1 - sin(phi)) / (1 + sin(phi)), where phi is the backfill's angle of internal friction. The total active thrust per unit length of wall is Pa = 0.5 x gamma x H^2 x Ka, acting at a height of H/3 above the base.
Why does the active pressure resultant act at H/3 above the base?+
Rankine active pressure increases linearly with depth, forming a triangular pressure distribution against the wall. The resultant of a triangular distribution acts through its centroid, which for a triangle sits one-third of the height up from its wide (base) end, so Pa acts at H/3 above the footing.
What is the difference between overturning and sliding failure?+
Overturning failure is a rotational failure about the toe (the front edge of the base), where the overturning moment from the active thrust exceeds the resisting moment from the wall's self-weight. Sliding failure is a translational failure where the horizontal active thrust exceeds the frictional resistance available at the base, causing the whole wall to slide forward.
How does soil friction angle affect wall stability?+
A higher friction angle phi produces a lower Rankine coefficient Ka, which directly reduces the active thrust Pa for the same wall height and backfill unit weight. Denser, well-compacted granular backfill with a higher phi therefore pushes less hard on a retaining wall than loose or cohesive soil with a lower phi.
What is the coefficient of base friction mu used for?+
Mu represents the friction coefficient between the wall's concrete base and the soil beneath it, typically in the range of 0.4 to 0.55 for concrete on granular soil. It directly scales the sliding resistance: sliding resistance = mu x W, where W is the total vertical load (wall and base self-weight) carried down to the foundation soil.
Does increasing the base width always improve stability?+
Yes, for both checks, as long as the added base width adds proportional self-weight. A wider base increases the resisting moment arm (B/2) for the overturning check and increases the total weight W available for friction in the sliding check, though a wider footing also costs more concrete and excavation.
What does W represent in this calculator and how do I estimate it?+
W is the total self-weight per unit length of the wall stem plus its base slab, in kilonewtons per meter. Estimate it by multiplying each concrete section's cross-sectional area by the unit weight of reinforced concrete (about 24 kN/m3) and summing the stem and base contributions.
What happens if a retaining wall fails both checks?+
A wall failing both the overturning and sliding checks needs a wider base, a deeper key or shear key at the base to add passive resistance, or a heavier section to increase W, engineers typically increase base width first since it improves both factors of safety simultaneously.
Is this calculator valid for a sloped backfill surface?+
No. This calculator assumes Rankine's simplest case: a smooth, vertical wall back and a level, horizontal backfill surface. A sloped backfill surface changes the active pressure coefficient formula and increases both the pressure magnitude and the overturning moment arm, and is not modeled by this simplified tool.

What factor of safety against overturning is required for a retaining wall?

A factor of safety of at least 2.0 against overturning is the widely used minimum in geotechnical design, meaning the resisting moment must be at least twice the overturning moment caused by the active earth pressure. This calculator flags any result below 2.0 as a fail.

What factor of safety against sliding is required for a retaining wall?

A factor of safety of at least 1.5 against sliding is the standard minimum, meaning the base friction resistance must be at least 1.5 times the horizontal active thrust trying to push the wall forward. This calculator flags any result below 1.5 as a fail.

How do you calculate the active earth pressure on a retaining wall?

Using Rankine's theory, the active pressure coefficient is Ka = (1 - sin(phi)) / (1 + sin(phi)), where phi is the backfill's angle of internal friction. The total active thrust per unit length of wall is Pa = 0.5 x gamma x H^2 x Ka, acting at a height of H/3 above the base.

Why does the active pressure resultant act at H/3 above the base?

Rankine active pressure increases linearly with depth, forming a triangular pressure distribution against the wall. The resultant of a triangular distribution acts through its centroid, which for a triangle sits one-third of the height up from its wide (base) end, so Pa acts at H/3 above the footing.

What is the difference between overturning and sliding failure?

Overturning failure is a rotational failure about the toe (the front edge of the base), where the overturning moment from the active thrust exceeds the resisting moment from the wall's self-weight. Sliding failure is a translational failure where the horizontal active thrust exceeds the frictional resistance available at the base, causing the whole wall to slide forward.

How does soil friction angle affect wall stability?

A higher friction angle phi produces a lower Rankine coefficient Ka, which directly reduces the active thrust Pa for the same wall height and backfill unit weight. Denser, well-compacted granular backfill with a higher phi therefore pushes less hard on a retaining wall than loose or cohesive soil with a lower phi.

What is the coefficient of base friction mu used for?

Mu represents the friction coefficient between the wall's concrete base and the soil beneath it, typically in the range of 0.4 to 0.55 for concrete on granular soil. It directly scales the sliding resistance: sliding resistance = mu x W, where W is the total vertical load (wall and base self-weight) carried down to the foundation soil.

Does increasing the base width always improve stability?

Yes, for both checks, as long as the added base width adds proportional self-weight. A wider base increases the resisting moment arm (B/2) for the overturning check and increases the total weight W available for friction in the sliding check, though a wider footing also costs more concrete and excavation.

What does W represent in this calculator and how do I estimate it?

W is the total self-weight per unit length of the wall stem plus its base slab, in kilonewtons per meter. Estimate it by multiplying each concrete section's cross-sectional area by the unit weight of reinforced concrete (about 24 kN/m3) and summing the stem and base contributions.

What happens if a retaining wall fails both checks?

A wall failing both the overturning and sliding checks needs a wider base, a deeper key or shear key at the base to add passive resistance, or a heavier section to increase W, engineers typically increase base width first since it improves both factors of safety simultaneously.

Is this calculator valid for a sloped backfill surface?

No. This calculator assumes Rankine's simplest case: a smooth, vertical wall back and a level, horizontal backfill surface. A sloped backfill surface changes the active pressure coefficient formula and increases both the pressure magnitude and the overturning moment arm, and is not modeled by this simplified tool.