Active Earth Pressure Calculator: Rankine Method Explained Step by Step
Published 28 August 2026 · 🇷🇴 Română
In short: How to calculate active earth pressure on a retaining wall with the Rankine method, a complete worked example, and a free active earth pressure calculator.
Why you need this calculation
Every retaining wall, every excavation shoring, every buried wall eventually needs an answer to a simple question: how hard does the soil behind it push? That answer drives the wall's design — thickness, reinforcement, checks against overturning and sliding — and, despite appearances, it can be worked out by hand in a few minutes, with a single formula.
Below is the theory, a complete numerical example, and at the end a free active earth pressure calculator that does exactly this calculation, with a pressure diagram and an instant result.
What active earth pressure is
The lateral pressure a wall feels isn't a fixed number — it depends on how much the wall is free to move. Three limiting situations show up in practice:
- The wall doesn't move at all (a rigid basement wall, braced top and bottom by the floor slabs): the soil stays laterally locked, and the pressure is the at-rest value, \(K_0\) — the largest of the three, short of outright failure.
- The wall yields away from the soil (rotating or sliding toward the open side): the soil mass behind it fails along a triangular wedge, and the pressure drops to its minimum — the active state, the one normally used for ordinary retaining walls, which can move a little.
- The wall is pushed into the soil: passive resistance develops, far larger than active — the case of a sheet pile wall bearing against the soil in front of it.
What catches most people off guard: the active state isn't reached instantly — it takes a small but real wall displacement first. For cohesionless soil (loose sand), the displacement needed is on the order of \(\Delta H/H \approx 0.001\); for soft clay, it can be as much as \(\Delta H/H \approx 0.04\) — a genuinely rigid wall that doesn't move at all stays in the at-rest state, not the active one, no matter how "free" it looks on the drawing.
Rankine's theory relates horizontal pressure to vertical pressure, in the active state, through a coefficient, \(K_a\):
\(K_a = \tan^2\left(45° - \frac{\varphi}{2}\right)\)
where \(\varphi\) is the soil's internal friction angle. For a sand with \(\varphi = 30°\), \(K_a = 1/3\) — horizontally the soil pushes with a third of what it pushes vertically.
The horizontal pressure at any depth follows from the vertical effective stress \(\sigma'_v\):
\(p_a = K_a \sigma'_v - 2c\sqrt{K_a} \ge 0\)
The term \(-2c\sqrt{K_a}\) is the beneficial effect of cohesion: cohesive soil reduces the thrust, and near the surface the active pressure can even turn negative (tension). Since soil cannot carry tension, the pressure is capped at zero over that depth — which is why a crack often appears behind walls in clayey ground.
Worked example, step by step
Take a retaining wall with:
- height \(H = 5\) m
- soil unit weight \(\gamma = 18\) kN/m³
- friction angle \(\varphi = 30°\) (so \(K_a = 1/3\))
- cohesion \(c = 0\) (sand)
- surface surcharge \(q = 10\) kN/m²
- no groundwater
Step 1 — the coefficient. \(K_a = \tan^2(45° - 15°) = \tan^2(30°) = 0.333\).
Step 2 — pressure at the surface (surcharge only, \(\sigma'_v = 0\)):
\(p_{top} = K_a \cdot q = 0.333 \times 10 = 3.33 \text{ kN/m}^2\)
Step 3 — pressure at the base of the wall (\(\sigma'_v = \gamma H = 18 \times 5 = 90\) kN/m²):
\(p_{base} = K_a (\sigma'_v + q) = 0.333 \times (90 + 10) = 33.3 \text{ kN/m}^2\)
The pressure diagram is trapezoidal: a uniform band of \(3.33\) kN/m² (from the surcharge) plus a triangle growing linearly to \(30\) kN/m² (from the soil's own weight).
Step 4 — the resultant force, by summing the two components of the trapezoid: the uniform band \(K_a q H\) and the triangle \(\tfrac{1}{2} K_a \gamma H^2\):
\(E = K_a q H + \tfrac{1}{2} K_a \gamma H^2 = 16.7 + 75.0 = 91.7 \text{ kN/m}\)
Step 5 — the point of application, measured from the base of the wall, by weighting the two components by their lever arms (\(H/2\) for the band, \(H/3\) for the triangle):
\(z_R = \frac{16.7 \times 2.5 + 75.0 \times 1.67}{91.7} \approx 1.82 \text{ m}\)
That is it — five steps and one formula give you everything needed to size the wall: the peak pressure, the total force, and where it acts.
Common mistake: active pressure on a wall that can't move
The calculation above only holds if the wall actually yields enough to reach the active state. For a rigid basement wall, braced top (floor slab) and bottom (raft), the lateral displacement is essentially zero — so the real pressure is the at-rest value, \(K_0\), not \(K_a\).
For the same sand as above (\(\varphi=30°\)), Jaky's formula gives \(K_0 \approx 1-\sin\varphi' = 1-0.5=0.5\) — 1.5 times \(K_a=0.333\). At the base of the wall, the pressure from the example would climb from \(33.3\) to \(0.5\times(90+10)=50.0\) kN/m², a +50% jump. This is a common mistake on rigid basement walls, where the reflex is to reuse the formula from an ordinary retaining wall because the geometry "looks the same" — but the support condition is different, and the consequence is a real underdesign, not just a theoretical one.
What changes with a water table
Take the same wall, but add a water table at \(z_w = 2\) m above the base — 3 m of soil above the water, 2 m submerged, with a submerged unit weight \(\gamma' = 10\) kN/m³.
The vertical effective stress \(\sigma'_v\) builds up exactly like the overburden stress in a layered soil mass: a bent line, with a change of slope right at the water table — below it the slope decreases, because the submerged unit weight \(\gamma'\) replaces \(\gamma\):
From this \(\sigma'_v\) the active pressure follows directly: \(p_a = K_a \sigma'_v\) (plus surcharge, minus cohesion). Hydrostatic pressure \(u\) is added on top of that, separately, without going through \(K_a\). Here is the full active pressure diagram the calculator produces for this case:
Below the water table two things happen at once: the soil's weight drops (submerged, \(\gamma'\) instead of \(\gamma\)) — but on top of the active soil pressure, the hydrostatic water pressure is added separately, and it does not go through \(K_a\) (water has no internal friction; it pushes directly, with coefficient 1).
At the surface (\(z = 5\) m), nothing changes from the dry example: \(p = 3.33\) kN/m² (surcharge only — the water is much lower).
At the water table (\(z = 2\) m), still a soil effect, but now \(\sigma'_v = \gamma(H - z_w) = 18 \times 3 = 54\) kN/m²:
\(p = K_a(\sigma'_v + q) = 0.333 \times (54 + 10) = 21.33 \text{ kN/m}^2\)
At the base of the wall (\(z = 0\)), the effective stress keeps growing — but with \(\gamma'\), not \(\gamma\) — and the hydrostatic pressure \(u = \gamma_w z_w = 10 \times 2 = 20\) kN/m² is added:
\(\sigma'_v = \gamma(H-z_w) + \gamma' z_w = 54 + 10 \times 2 = 74 \text{ kN/m}^2\)
\(p = K_a(\sigma'_v + q) + u = 0.333 \times 84 + 20 = 48.00 \text{ kN/m}^2\)
The diagram is no longer a single trapezoid: it has a kink right at the water table, where the slope changes. Broken down into four simple pieces — the uniform band from the surcharge, the triangle of dry soil above the water, the trapezoid of submerged soil below it, and the triangle of hydrostatic pressure — the resultant force and its point of application work out as follows:
| Component | Force (kN/m) | Lever arm from base (m) |
|---|---|---|
| Uniform band (surcharge) | 16.67 | 2.50 |
| Dry soil triangle | 27.00 | 3.00 |
| Submerged soil trapezoid | 42.67 | 0.95 |
| Hydrostatic triangle | 20.00 | 0.67 |
| Total | 106.33 | zR ≈ 1.66 |
Compared with the dry example above — same geometry, same surcharge, water added — the total force grows from 91.7 to 106.3 kN/m (+16%), and the point of application drops from 1.82 m to 1.66 m: water does not just increase the thrust, it also moves it closer to the base, where overturning moment matters less but shear and uplift matter more. That is why drainage behind a wall is not optional.
Practical note: the depth of the tension crack
The term \(-2c\sqrt{K_a}\) in the active pressure formula turns negative near the surface, for any cohesive soil — mathematically, a tension the soil can't actually carry. The depth over which the pressure stays "negative" (so effectively zero, with an open crack instead) has a closed form:
\(z_c = \frac{2c'}{\gamma\sqrt{K_a}}\)
For a clayey backfill with \(c'=15\) kN/m², \(\varphi'=25°\) (\(K_a=\tan^2(45°-12.5°)=0.406\), \(\sqrt{K_a}=0.637\)) and \(\gamma=19\) kN/m³:
\(z_c = \frac{2\times15}{19\times0.637} \approx 2.48 \text{ m}\)
In practice: over the top 2.5 m from the crown, the clayey soil in this example doesn't push on the wall at all — the theoretically negative pressure shows up as an open crack, often visible in the field, not as a real force. That's why the correct resultant force is computed only over the effective active zone below \(z_c\) — integrating the "negative" pressure over the full height would overstate how much tension the soil can fictitiously carry.
Calculate it online, no spreadsheet and no FEM package
For a quick check — or for a complete design brief with a diagram — you don't need a commercial FEM package, nor a spreadsheet built from scratch. JointLib's active earth pressure calculator runs exactly the steps above, instantly, right in your browser: enter the wall height, soil parameters, surcharge, and water table (if any), and get the pressure diagram, the resultant force, and its point of application.
Related calculations
- Winkler pressures on a foundation — bearing pressures at the base of a wall or column
- Retaining wall — full check — overturning, sliding, bearing capacity, beyond active pressure
- Boussinesq stress bulb — how stresses spread through the ground under a foundation