Retaining Wall Calculator

Factor of safety against overturning4.77
Factor of safety against sliding1.49
Maximum bearing pressure68.16 kPa
Resultant eccentricity0.078 m
Active force Pa27.00 kN/m
How this was calculated
  1. Rankine earth pressure gives the active coefficient Ka as tan squared of 45 degrees minus half the friction angle. The active force is one half Ka times unit weight times height squared, plus Ka times the surcharge times the height, acting one third of the way up the wall.
  2. With a friction angle of 30 degrees, Ka is 0.3333 and the active force is 27.00 kN/m, giving an overturning moment of 27.00 kN m/m. The wall, base slab and soil over the heel weigh 110.40 kN/m and resist with 128.76 kN m/m.
  3. The factor of safety against overturning is 4.77 and against sliding is 1.49 - both should be at least 1.5. The bearing pressure peaks at 68.16 kPa against an allowable of 200 kPa, with the resultant 0.078 m off centre.

The retaining wall calculator checks a cantilever wall for overturning, sliding and bearing pressure using Rankine earth pressure. Enter the wall height, soil friction angle, unit weight, surcharge and base friction, and it returns the active force, the factor of safety against overturning, the factor of safety against sliding, and the maximum bearing pressure under the base. For example, a 3 m wall in sand with no surcharge gives an active force of 27.00 kN/m, a factor of safety against overturning of 4.77, a factor of safety against sliding of 1.49, and a maximum bearing pressure of 68.16 kPa. A 4 m wall in sand with a 10 kPa surcharge gives 58.99 kN/m, 3.88, 1.38 and 105.64 kPa; a 2 m wall at 28 degrees with no surcharge gives 12.28 kN/m, 5.40, 1.49 and 44.90 kPa.

The method is the standard approach for this calculation. Rankine theory gives the active coefficient Ka as tan squared of 45 degrees minus half the friction angle; the active force is one half Ka times unit weight times height squared, plus Ka times the surcharge times the height, acting one third of the way up the wall. Both factors of safety should be at least 1.5, sliding uses a base friction angle of two thirds of the soil friction angle, and the concrete is taken at 24 kN/m3 with a 0.5 m thick base slab. This page shows the formula, the step-by-step workings, the worked examples above and the sources behind them, so you can follow every number rather than trust a black box.

Worked examples

3 m wall, sand, no surcharge

A 3 m wall in sand with no surcharge has a factor of safety against overturning of 4.77 and 1.49 against sliding, with a maximum bearing pressure of 68.16 kPa and an active force of 27.00 kN/m. (3 m · 0.3 m · 2 m · 0.5 m · 30 degrees · 18 kN/m3 · 0 kPa · 200 kPa)

Factor of safety against overturning4.77
Factor of safety against sliding1.49
Maximum bearing pressure68.16 kPa
Resultant eccentricity0.078 m
Active force Pa27.00 kN/m

4 m wall, sand, 10 kPa surcharge

A 4 m wall in sand with a 10 kPa surcharge has a factor of safety against overturning of 3.88 and 1.38 against sliding, with a maximum bearing pressure of 105.64 kPa and an active force of 58.99 kN/m. (4 m · 0.35 m · 2.8 m · 0.6 m · 32 degrees · 19 kN/m3 · 10 kPa · 250 kPa)

Factor of safety against overturning3.88
Factor of safety against sliding1.38
Maximum bearing pressure105.64 kPa
Resultant eccentricity0.198 m
Active force Pa58.99 kN/m

2 m wall, 28 degrees, no surcharge

A 2 m wall at 28 degrees with no surcharge has a factor of safety against overturning of 5.40 and 1.49 against sliding, with a maximum bearing pressure of 44.90 kPa and an active force of 12.28 kN/m. (2 m · 0.25 m · 1.4 m · 0.4 m · 28 degrees · 17 kN/m3 · 0 kPa · 150 kPa)

Factor of safety against overturning5.40
Factor of safety against sliding1.49
Maximum bearing pressure44.90 kPa
Resultant eccentricity0.037 m
Active force Pa12.28 kN/m

The Rankine active force

The Rankine active force is the push that the retained soil exerts on the back of the wall, and a retaining wall calculator builds its stability checks around it. Rankine earth pressure gives the active coefficient Ka as tan squared of 45 degrees minus half the friction angle. A sand with a higher friction angle produces a smaller Ka, so the wall feels less horizontal thrust; a lower friction angle raises Ka and the force grows. Once Ka is known, the force from the soil itself is one half Ka times unit weight times height squared, and any uniform surcharge adds Ka times the surcharge times the height.

Both parts of the force act one third of the way up the wall, which is where the overturning moment is taken. That single lever arm is why the surcharge term matters so much: it raises the size of the force without changing where the resultant sits, so the moment about the base increases in step with the force. The factor of safety against overturning compares the resisting moment from the wall and base slab with this driving moment, and the factor of safety against sliding compares the resisting friction at the base with the horizontal force. Both factors of safety should be at least 1.5.

The worked cases show how the numbers move. A 3 m wall in sand with no surcharge has an active force of 27.00 kN/m, a factor of safety against overturning of 4.77 and 1.49 against sliding, with a maximum bearing pressure of 68.16 kPa. Adding a 10 kPa surcharge to a 4 m wall in sand gives an active force of 58.99 kN/m, an overturning factor of 3.88 and 1.38 against sliding, with a maximum bearing pressure of 105.64 kPa. A 2 m wall at 28 degrees with no surcharge has an active force of 12.28 kN/m, an overturning factor of 5.40 and 1.49 against sliding, with a maximum bearing pressure of 44.90 kPa.

The input assumptions behind these checks are fixed in the model: sliding uses a base friction angle of two thirds of the soil friction angle, and the concrete is taken at 24 kN/m3 with a 0.5 m thick base slab. Because the sliding factor of safety depends on that base friction angle, a wall that passes overturning can still fall short on sliding, as the 4 m case at 1.38 shows. Run the retaining wall calculator with your own height, friction angle and surcharge to see the active force and both factors of safety for your wall.

Both factors of safety should be at least 1.5, and sliding uses a base friction angle of two thirds of the soil friction angle.

Overturning

Overturning is the check that asks whether the wall will tip forward about its toe under the push of the retained soil. The driving effect is the horizontal active force, which acts one third of the way up the wall, so its lever arm about the toe is one third of the wall height. The resisting effect is the moment of everything that sits on or behind the base: the weight of the wall stem, the weight of the base slab, and the soil resting on the heel. Because the base slab extends behind the stem, the soil over the heel adds both weight and a lever arm, and that combination is usually what keeps the factor of safety comfortably above 1.5. A retaining wall calculator sets up these two moments and divides the resisting moment by the overturning moment to get the factor of safety against overturning.

The active force itself comes from Rankine earth pressure. The active coefficient Ka is tan squared of 45 degrees minus half the friction angle. The force is one half Ka times the unit weight times the height squared, plus Ka times the surcharge times the height. With no surcharge the second term drops out, which is why the short walls in the examples carry much smaller forces than the taller ones.

The three worked examples show how height and surcharge move the overturning check. A 3 m wall in sand with no surcharge gives a factor of safety against overturning of 4.77, with an active force of 27.00 kN/m. Raising the wall to 4 m and adding a 10 kPa surcharge pushes the active force to 58.99 kN/m and drops the overturning factor of safety to 3.88, even though the taller wall also has more weight and heel soil working for it. A 2 m wall at 28 degrees with no surcharge comes out at 5.40, with an active force of 12.28 kN/m. In every case the resisting moment from the wall, base and soil over the heel still outweighs the overturning moment by a wide margin, so overturning is not the governing check for these configurations.

The same three examples also report sliding and bearing, and those numbers tell you where the real margins are. Sliding factors of safety are 1.49, 1.38 and 1.49 for the 3 m, 4 m and 2 m walls, and maximum bearing pressures are 68.16 kPa, 105.64 kPa and 44.90 kPa. Sliding is computed with a base friction angle of two thirds of the soil friction angle, and the concrete is taken at 24 kN/m3 with a 0.5 m thick base slab. Both factors of safety should be at least 1.5, so the 4 m wall at 1.38 against sliding is the one that would need attention, not its overturning margin of 3.88.

Overturning factor of safety is the resisting moment from the wall, base and soil over the heel divided by the overturning moment from the active force acting one third of the way up the wall. It should be at least 1.5.

Sliding

Sliding is the mode where the whole wall simply pushes forward along the base. The driving force is the horizontal thrust from the retained soil, and the resisting force is friction between the base slab and the soil beneath it. A retaining wall calculator compares the two as a factor of safety: the resisting friction force divided by the driving active force. The higher that number, the more margin the wall has before it slides.

The friction resistance depends on the base friction angle, and the standard assumption is to take that as two thirds of the soil friction angle. That reduction accounts for the disturbed, less-than-intact soil directly under the base slab. The weight pressing down on the base — the wall stem plus the 0.5 m thick base slab, with concrete taken at 24 kN/m3, plus any soil sitting on the heel — multiplied by the tangent of that reduced angle gives the friction resistance. The active force it must overcome comes from Rankine earth pressure: Ka equals tan squared of 45 degrees minus half the friction angle, and the active force is one half Ka times unit weight times height squared, plus Ka times the surcharge times the height, acting one third of the way up the wall.

The worked examples show how tight this check usually is. A 3 m wall in sand with no surcharge produces an active force of 27.00 kN/m and a factor of safety against sliding of 1.49. A 2 m wall at 28 degrees with no surcharge produces an active force of 12.28 kN/m and also lands at 1.49. Adding a 10 kPa surcharge to a 4 m wall in sand raises the active force to 58.99 kN/m and drops the sliding factor to 1.38. In all three cases overturning is comfortable — 4.77, 5.40 and 3.88 respectively — so sliding, not overturning, governs the design.

The target for both factors of safety is at least 1.5, and 1.49 and 1.38 both fall short. The gap is small, but it is real, and a wall that fails the sliding check needs a change to the geometry rather than a thicker stem. The usual fixes are to widen the base slab so more weight and more friction-bearing area sit behind the toe, or to add a shear key — a downward projection under the base that engages passive soil in front of it and adds direct resistance to forward movement. Running the revised dimensions back through the retaining wall calculator confirms whether the new configuration clears 1.5.

Note that the sliding factor is sensitive to the surcharge: the same soil and concrete assumptions gave 1.49 without a surcharge and 1.38 with 10 kPa on the 4 m wall. Any change to backfill height, surcharge or base width should be rechecked rather than assumed.

Both factors of safety should be at least 1.5. Sliding uses a base friction angle of two thirds of the soil friction angle, so the examples land at 1.49 and 1.38 — below target, meaning the wall needs a wider base or a key.

Bearing pressure

Bearing pressure is the final check in a retaining wall calculation, and it asks a simple question: does the ground under the base slab carry the load without overstressing the soil? The vertical load is the weight of the wall and the soil resting on the base, and the horizontal earth pressure pushes sideways on that load. Together they create a resultant force that meets the base at some point. If that point sits close to the center of the base, the pressure is spread fairly evenly. If it moves toward the toe, the pressure piles up at the front edge and the heel may lift. The distance between the base center and the point where the resultant meets the base is the eccentricity, and it is what drives the peak pressure.

The order of operations matters. In a retaining wall calculator, the active force comes first from Rankine earth pressure: the active coefficient Ka is tan squared of 45 degrees minus half the friction angle, and the active force is one half Ka times unit weight times height squared, plus Ka times the surcharge times the height, acting one third of the way up the wall. That force and its lever arm give the overturning moment. The vertical loads and their lever arms give the restoring moment. The net moment divided by the total vertical load locates the resultant, and the eccentricity follows from how far that point sits from the center of the base. From there, the maximum and minimum bearing pressures follow the usual eccentric-load distribution across the base.

The worked examples show what the numbers look like. For a 3 m wall in sand with no surcharge, the active force is 27.00 kN/m, the factor of safety against overturning is 4.77, the factor of safety against sliding is 1.49, and the maximum bearing pressure is 68.16 kPa. For a 4 m wall in sand with a 10 kPa surcharge, the active force rises to 58.99 kN/m, overturning falls to 3.88, sliding falls to 1.38, and the maximum bearing pressure climbs to 105.64 kPa. For a 2 m wall at 28 degrees with no surcharge, the active force is 12.28 kN/m, overturning is 5.40, sliding is 1.49, and the maximum bearing pressure is 44.90 kPa.

The comparison that matters is the peak pressure against the allowable. In the first example, the calculated maximum bearing pressure of 68.16 kPa sits well below an allowable bearing capacity of 200 kPa, so the soil is not the governing problem for that wall. Both factors of safety should be at least 1.5, and the sliding check uses a base friction angle of two thirds of the soil friction angle. The concrete is taken at 24 kN/m3 with a 0.5 m thick base slab, which is where much of the vertical load and restoring moment come from. A wall can pass on bearing and still fall short on sliding, so read all three results together rather than treating the pressure check as the whole story.

First example: peak bearing pressure of 68.16 kPa against an allowable of 200 kPa — the soil has ample capacity, while the sliding factor of safety of 1.49 falls just under the 1.5 target.

FAQs

How do you calculate the active force on a retaining wall?

The active force combines two parts. The soil's own push is one half times Ka times the soil unit weight times the wall height squared. Added to that is the surcharge contribution: Ka times the surcharge times the wall height. Together these give the total active force per unit length of wall used in the calculator.

What is the factor of safety against overturning for a 3 m wall?

In the worked example for a 3 m wall, the factor of safety against overturning came out to 4.77. The same example gave a factor of safety of 1.49 against sliding. Both numbers come from the same geometry and soil properties, so they show how overturning and sliding can pass or fail independently.

What factor of safety should a retaining wall have?

A retaining wall should have a factor of safety of at least 1.5 against both overturning and sliding. That means the resisting forces should be at least one and a half times the driving forces for each check. The calculator reports both values so you can compare your design against this threshold.

What is Ka in the Rankine method?

Ka is the active earth pressure coefficient in the Rankine method. It equals the tangent squared of 45 degrees minus half the soil friction angle. For a soil with a 30 degree friction angle, Ka works out to 0.33. That coefficient scales the soil's horizontal push in the active force formula.

Why is the sliding safety factor below 1.5 in the examples?

The 1.49 and 1.38 sliding values are honest results, not rounding errors. They fall just short of the 1.5 target, which means the wall as modeled does not quite resist sliding. To reach 1.5, the design needs a wider base or a shear key. The calculator shows the shortfall rather than hiding it.

How is bearing pressure calculated?

Bearing pressure is calculated from the wall's weight and the resultant eccentricity, which together describe how the load is distributed across the base. In the first example, the peak bearing pressure was 68.16 kPa, compared with an allowable bearing pressure of 200 kPa. That comparison tells you whether the soil beneath the base can carry the load.

Sources

Related calculators

Earth Pressure Calculator
Earth pressure calculator: Rankine active and passive forces on a retaining wall, with the tension-crack depth for cohesive soil.
Concrete Column Calculator
Concrete volume and bag count for round or square columns and piers — per column and for the whole row, with a waste allowance and 80 lb / 60 lb pre-mix bag yields.
Beam Deflection Calculator
How much a beam sags under load: maximum deflection for a cantilever, a simply supported beam with a centre load, or a uniformly loaded beam, from standard elasticity formulas.