› Retaining Wall Calculator Back
Geotechnical Engineering

Retaining Wall Design Calculator

Quick answer
Retaining-wall checks start from the Coulomb active coefficient K_a, giving the thrust E_a = ½·K_a·γ·H² + K_a·q·H (γ = soil unit weight, H = wall height, q = surcharge), and verify the overturning safety factor FS_ot = M_R/M_O (resisting over overturning moment). For seismic design the Mononobe–Okabe coefficient K_ae replaces K_a in E_a.

Stability check of retaining walls with Rankine and Coulomb earth-pressure theory. Factors of safety against overturning, sliding and bearing computed in real time, with the Mononobe-Okabe method for the seismic case.

Design Parameters
Presets
Wall type
Earth-pressure theory
Wall Geometry
Wall Height H
m
Base Width B
m
Batter Angle α
°
Wall Friction δ
°
Soil Properties
Friction Angle φ
°
Unit Weight γ
kN/m³
Cohesion c
kPa
Surcharge q
kPa
Wall Unit Weight γ_w
kN/m³
Allowable bearing capacity qa
kPa
Seismic Condition
Horizontal seismic coefficient kh
Results
—
Ka (Earth Pressure Coeff.)
—
Active Force Ea [kN/m]
—
Overturning FS (≥2.0)
—
Sliding FS (≥1.5)
—
Bearing FS = qa/σ_max (≥1.0)
—
Max Contact Pressure σ_max [kPa]
-
Theory in use
-
Ka difference (Coulomb − Rankine)
Real-Time Stability Animation
Active pressure (triangular) Resultant Ea (@H/3) Self-weight W Bearing reaction Ghost (undeformed)
Factor of Safety vs Wall Height H [m]
Theory & Key Formulas

Coulomb Active Earth Pressure Coefficient:

$$K_a = \frac{\cos^2(\varphi-\alpha)}{\cos^2\alpha\cdot\cos(\alpha+\delta)\left(1+\sqrt{\dfrac{\sin(\varphi+\delta)\sin(\varphi-\beta)}{\cos(\alpha+\delta)\cos(\alpha-\beta)}}\right)^2}$$

Active thrust: $E_a = \tfrac{1}{2}K_a\gamma H^2 + K_a q H$

Overturning factor of safety: $FS_{ot}= M_R / M_O$ (resisting moment / overturning moment); sliding: $FS_{sl}=(V\mu + cB)/E_{ah}$ ($\mu=0.8\tan\varphi$); bearing: $FS_{bc}=q_a/\sigma_{max}$ ($\sigma_{max}=\frac{V}{B}(1+\frac{6e}{B})$; compared with the allowable capacity $q_a$, so 1.0 or more passes)

Seismic (M-O method): $\theta = \arctan\left(\dfrac{k_h}{1-k_v}\right)$, Ea is evaluated with $K_{ae}$

What Is the Retaining Wall Design Calculator?

🙋
What do the "factors of safety" of a retaining wall actually check? The simulator above shows three: "overturning", "sliding" and "bearing".
🎓
Roughly speaking, they are indices for preventing the three ways a retaining wall fails. Overturning is the wall tipping forward, sliding is the base of the wall slipping, and bearing is the ground sinking and tilting the wall. Reduce the "Base width B" slider above, for example, and you will see the overturning factor drop sharply, because a slender wall topples easily.
🙋
Really? Under "Earth-pressure theory" I can choose Rankine or Coulomb. Which should I use in practice?
🎓
Coulomb earth pressure is the common choice on site. Rankine assumes the idealised case of no friction between wall and soil, whereas Coulomb includes the "wall friction angle δ" and is closer to reality. Set the "wall friction angle δ" to 0 and you can confirm that the Coulomb result approaches Rankine. In practice δ is usually set to about 1/2 to 2/3 of the soil's internal friction angle φ.
🙋
It says it handles the seismic case too. What changes when an earthquake comes?
🎓
The lateral shaking of an earthquake adds a horizontal force to the soil, so the earth pressure increases. In this tool, setting the "horizontal seismic coefficient kh" above 0 (or pressing the "Seismic" preset) switches the calculation to the Mononobe-Okabe method, and you can see the overturning and sliding factors fall. For example, make the wall height H large and set kh to 0.2, and you can watch a factor drop below its limit and turn "red". In real design the wall is made robust enough to stay safe even during an earthquake.

Frequently Asked Questions

In the seismic case the Mononobe-Okabe method is used: the active earth pressure including the seismic force (horizontal seismic coefficient) acts on the wall. The overturning, sliding and bearing factors are computed as in the static case, but the colour coding of this tool keeps the static limits (overturning 2.0, sliding 1.5, bearing 1.0), so for the seismic case read the results against the reduced values of the code (e.g. overturning 1.5, sliding 1.2). The inertia force of the wall body kh·W is not included in this tool.
α is the inclination of the back of the wall from the vertical: 0° for a vertical back, and a larger positive value the more the back leans towards the backfill (a leaning wall). This tool accepts 0–15°; negative values (forward lean) are not handled. For simplicity the figure draws the back of the wall vertical. The unit is degrees.
When the term under the root is negative, Coulomb theory has no solution. This happens, for example, when the backfill slope β exceeds φ (this tool fixes β=0 so it does not normally occur, but if φ−θ becomes negative in the M-O method the calculation continues with K_ae=1). In that case review the inputs or use the simplified Rankine theory (α=0, δ=0).
When the sliding factor is short, effective measures are: (1) increase the base friction (set the friction angle between concrete and ground appropriately), (2) add a key (projection) to the base, (3) widen the wall to increase its self-weight, and (4) improve drainage to lower the water level behind the wall (reduce water pressure).

Real-World Applications

Road and railway embankments: Walls are built to support the slopes of cuts and fills. The "surcharge q" in the calculator exists to account for vehicles travelling directly above the wall. A shape that meets the factors of safety of the design code is determined.

Residential land development: When sloping land is levelled for housing, retaining walls are needed to support the difference in level. In residential areas in particular, seismic safety (Mononobe-Okabe method) is strongly required, and the walls are designed carefully so that differential settlement due to insufficient bearing does not occur.

River embankments and port quay walls: Retaining walls are also widely used as earth-retaining structures at the water's edge. Stability checks combine several load conditions: not only the backfill but also water-level changes and vessel contact loads.

Pre-processing for CAE/FEM analysis: When a more detailed finite-element (FEM) analysis is carried out, the earth-pressure distribution from a simple calculation like this one is sometimes applied as a boundary load on the structure. It is also widely used to settle the rough cross-section at the preliminary design stage.

Common Misconceptions and Points to Note

There are several pitfalls that beginners in particular tend to fall into when they start using this tool. First, the setting of the "soil unit weight γ". It is tempting to compute with the textbook 18 kN/m³ and feel reassured, but on site the soil gets wet in the rain and becomes heavier, so the "moist unit weight" must be considered. Sand at γ=18 kN/m³ can approach 20 kN/m³ depending on its moisture. This small difference increases the earth pressure and can lower the factors of safety by nearly 10%, so beware.

Next, over-trusting the "cohesion c of the bearing soil". For clayey ground, entering a value of cohesion c adds the base adhesion c·B and greatly improves the sliding factor. But clay undergoes long-term "consolidation settlement" and softens with moisture. The rule in practice is to set the cohesion conservatively to "0" and treat it only as a reserve. Try entering c=10 kN/m² in the tool and see how the sliding factor changes (3.1 → 3.6 in the worked example) to feel the size of its influence.

Finally, blind faith in the "standard values of the factors of safety". The tool colour-codes against guidelines such as overturning 2.0 or more, sliding 1.5 or more and, for bearing, a maximum contact pressure not exceeding the allowable capacity (FS_bc = qa/σ_max ≥ 1.0), but these are generalities. Actual design standards (for example those of the Japanese Ministry of Land, Infrastructure, Transport and Tourism) vary the required factors with the importance of the structure and the accuracy of the ground investigation. Treat the tool's result as a "first check" and always confirm the design code that applies.

How to Use

  1. Choose a preset (Stable, Marginal, Slender, Seismic) or the wall type and earth-pressure theory, then enter the wall height H (1–10 m) and base width B (0.5–8 m). For a gravity wall B≈0.5–0.7H is a guide; the wall is modelled as a trapezoid with top width 0.4B (0.15B for the cantilever type, 0.5B for gabion) to compute its self-weight.
  2. Set the backfill friction angle φ (20–40°), unit weight γ, surcharge q and wall friction angle δ. Guide values are φ=35° for sand and φ=25° for clayey soil; for Coulomb theory use δ of about 1/2–2/3 of φ (δ=0 for Rankine).
  3. Whenever an input changes, the earth-pressure coefficient Ka, active thrust Ea, the overturning, sliding and bearing factors of safety and the maximum contact pressure σ_max update at once. For the seismic case, set the horizontal seismic coefficient kh above 0 to switch to the Mononobe-Okabe K_ae. The lower chart shows each factor of safety against wall height H with B=H/2.

Worked Example

For a gravity wall with H=6 m, B=4.2 m, sandy backfill (φ=36°, γ=18 kN/m³, wall friction δ=20°, surcharge q=10 kPa, wall γ_w=24 kN/m³, allowable bearing capacity qa=200 kPa) computed with Coulomb earth pressure, the coefficient is Ka≈0.235 and the active thrust Ea≈90 kN/m (acting at ≈2.16 m). The tool shows an overturning factor FS_ot≈6.8, sliding FS_sl≈3.1 and a maximum contact pressure σ_max≈146 kPa (FS_bc=qa/σ_max≈1.4), so all three criteria are met. In the seismic case (kh=0.2) the Mononobe-Okabe method gives K_ae≈0.37 and Ea≈141 kN/m, and FS_ot falls to ≈4.6 and FS_sl to ≈2.1. The factors depend on B, qa and the other inputs, so check the actual values with the sliders.

Practical Notes