Home / Science / Engineering / Civil and structural engineering / Retaining wall stabilityTool #653

Retaining wall stability calculator: sliding, overturning and bearing with Rankine or Coulomb earth pressure

Check a cantilever or gravity retaining wall for sliding, overturning and bearing: Rankine or Coulomb active pressure, sloping backfill, surcharge, water and uplift, optional passive resistance, eccentricity and toe and heel pressures, with a drawing of the wall, the earth pressure and the bearing pressure.

Keep it one tap away for everyday use.

Bookmark Retaining wall stability?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Wall
  2. Backfill
  3. Forces
  4. Checks
Nothing is uploadedWorks offline once open

Wall (per metre run)

The back of the stem is vertical; a thicker bottom slopes the front face. For a gravity wall set the toe, heel and base to 0 and give the top and bottom widths. Unit weights here are example values.

Backfill, water and base

Cohesionless (sandy, gravelly) backfill. Water stands at the same level behind the wall and drains away in front; uplift then falls from the heel to zero at the toe. Passive resistance needs soil that will not be dug away, so it is off by default. The targets, φ, μ and bearing pressure come from your soil report and your code: the starting numbers are only examples.

Stability

For study and planning, not a substitute for professional judgement: check your local code and a qualified engineer. This checks stability only, not the strength of the stem and base or overall slope stability.

Download

What it does

A retaining wall holds back soil. Before sizing the concrete and steel, an engineer checks that the wall as a whole is stable: that the soil pushing on it cannot slide it forward, tip it over, or press its base into the ground harder than the ground can take. This calculator does those three checks for one metre run of a cantilever or gravity wall:

  • Earth pressure on the back by Rankine (allowing a sloping backfill) or Coulomb (allowing friction between wall and soil), calculated on a vertical plane through the end of the heel. The soil above the heel then moves with the wall and adds to its weight.
  • A uniform surcharge (traffic, a stockpile, a building) on the backfill, and water behind the wall, with the soil below the water at its submerged weight plus full water pressure, and uplift under the base if you tick it.
  • Sliding: friction on the base, μ × the downward force, plus passive resistance in front if you choose to count it, divided by the horizontal push.
  • Overturning: the moments that hold the wall down about the toe, divided by the moments that tip it.
  • Bearing: where the resultant meets the base (the eccentricity e), and the soil pressure under the toe and heel. Within the middle third (e ≤ B/6) the whole base presses on the soil; outside it, only part does, and the toe pressure rises fast.

For study and planning, not a substitute for professional judgement. Check your local code and a qualified engineer. This tool does not design the stem or base for bending, and does not check the overall stability of the slope.

How to use it

  1. Type the wall geometry: total height from the underside of the base, stem thickness at top and bottom, base thickness, toe and heel lengths. For a gravity wall, set the base, toe and heel to 0 and give the top and bottom widths. The example menu fills in two made-up walls.
  2. Type the backfill: unit weight, saturated unit weight, friction angle φ and slope β. Choose Rankine or Coulomb; for Coulomb give the wall friction δ.
  3. Add any surcharge and the water height above the underside of the base.
  4. Type the base friction coefficient μ, the soil depth in front of the wall, the allowable bearing pressure and your target factors, all from your soil report and code.

Worked example

The made-up cantilever wall the page opens with is 4 m high with a 0.3 m stem (0.4 m at the bottom), a 0.5 m base, a 0.8 m toe and a 1.8 m heel (B = 3 m), in concrete at 24 kN/m³. The backfill is level, 18 kN/m³, φ = 32°, with a 10 kPa surcharge, dry.

  • Rankine Ka = (1 − sin 32°) / (1 + sin 32°) = 0.3073. Earth thrust ½ × 0.3073 × 18 × 4² = 44.25 kN at 1.33 m; surcharge thrust 0.3073 × 10 × 4 = 12.29 kN at 2 m; 56.54 kN in all.
  • The wall and the soil over the heel weigh 178.8 kN, so sliding gives 0.5 × 178.8 ÷ 56.54 = 1.58.
  • Resisting moment 322.2 kN·m, overturning moment 83.57 kN·m: overturning factor 3.86.
  • With the 18 kN surcharge on the heel, R = 196.8 kN acts 1.405 m from the toe, so e = 0.095 m, inside B/6 = 0.5 m. Toe pressure 78.1 kPa, heel 53.1 kPa.

FAQ

Rankine or Coulomb? Rankine ignores friction on the wall and is the usual choice for a cantilever wall checked on the plane through the heel. Coulomb allows wall friction δ, which lowers the push and tilts it downward; it suits gravity walls where the soil bears on the wall itself.

Why is the surcharge on the heel only used for bearing? It pushes the wall down and helps against sliding and overturning, but it may not always be there, so it is safer to leave it out of those checks while keeping it in the bearing pressure.

What about clay backfill? This tool is for free-draining, cohesionless backfill. Clay backfills swell and creep and need other methods.

Where the numbers come from

  • Rankine active and passive earth pressure (including sloping backfill), Coulomb active pressure with wall friction, and the sliding, overturning and bearing (middle-third) checks: standard soil mechanics and foundation engineering, for example Craig's Soil Mechanics, and Das, B. M., Principles of Foundation Engineering (formulas and methods only).
  • No design-code tables or factors are used. Soil properties, base friction, allowable bearing pressure and target factors of safety are user inputs; the starting values and both example walls are made up.
  • Checked against an independent Python calculation written for the tests: Coulomb coefficients by trial-wedge maximisation (scipy.optimize), pressures integrated with scipy.integrate.quad, and weights and lever arms from polygon areas and centroids.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Darcy flow calculator #128 Groundwater flow from Darcy's law: flux, discharge, seepage velocity and travel time. Find the hydraulic gradient and flow direction from three or more wells, convert K to intrinsic permeability, and estimate K from a sieve curve (d10, Cu, Cc and Hazen). 2D truss and frame solver #648 Type or paste the nodes, members, supports and loads of a plane truss or frame and solve it by the direct stiffness method: truss member forces in tension or compression, frame axial forces, shears and moments, support reactions, node displacements and a drawing of the deflected shape, with CSV downloads. Concrete mix calculator #649 Work out cement, water, sand and stone per cubic metre and per batch by the absolute volume method, from your own w/c ratio, water, air, coarse aggregate fraction, specific gravities and stockpile moisture. Corrects the batch for wet or dry aggregate and gives the target mean strength f'c + k·s. Load combination helper #651 Type your load cases (dead, live, snow, wind, earthquake and more) with their forces or moments, and your own load combinations with factors. The tool works out every combination, tries both directions of wind and earthquake, and shows the largest and smallest value of each effect and where it comes from. Column buckling calculator #652 Work out the buckling load of a straight column from its section (I or H, rectangle, solid circle or round tube), length, end conditions and material: section properties, slenderness KL/r, Euler's critical load for slender columns and the Johnson parabola for intermediate ones, with a column curve and an optional load check. Road gradient and curve helper #654 Work out the smallest safe radius for a speed from your superelevation and side friction, the elements and chainages of a circular curve with a setting-out table, the stopping sight distance, and the length of a crest or sag vertical curve from sight distance or K, with its levels, high or low point and a profile plot.