Retaining Wall Earth Pressure Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction: what this Rankine retaining wall calculator does

This retaining wall earth pressure calculator applies classical Rankine theory to work out how hard the retained soil pushes on a wall, and where that push acts. It covers the four loading ingredients that dominate real walls: the self-weight of the backfill, a uniform surcharge on the backfill surface, a sloping backfill surface, and water trapped behind a wall whose drainage has failed. It is intended for concept design, checking, teaching and sanity-checking a spreadsheet — not as a substitute for a full geotechnical and structural design.

From the wall height, the backfill unit weights, the effective friction angle, the backfill slope, a surcharge and a water-table depth, the tool reports:

The Rankine framework assumes a smooth vertical back face, a homogeneous cohesionless backfill, plane-strain conditions and enough wall movement to mobilise the active state. Within those limits it gives closed-form answers that agree closely with more elaborate methods for the routine case of a cantilever wall with a granular backfill, which is why it remains the first check in guidance such as USACE EM 1110-2-2502 and FHWA NHI-06-089.

How to use the retaining wall earth pressure calculator

  1. Wall height H (m). The vertical height of retained soil, measured on the virtual back face — for a cantilever wall that is the vertical plane through the back of the heel, taken from the underside of the base up to the backfill surface.
  2. Moist unit weight γ (kN/m³). The bulk unit weight of the backfill above the water table. Compacted granular fill is usually 17–21 kN/m³.
  3. Saturated unit weight γsat (kN/m³). Used only below the water table. It must exceed the unit weight of water, 9.81 kN/m³, and is normally 1–3 kN/m³ above the moist value.
  4. Effective friction angle φ (°). The drained friction angle of the backfill. See the table of typical values below; the calculator requires 0° < φ < 90°.
  5. Backfill slope β (°). Zero for a level surface. The sloping-backfill Rankine solution is only real when β ≤ φ, so the calculator rejects steeper slopes.
  6. Surcharge q (kPa). A uniform vertical pressure on the backfill surface. A common highway live-load allowance is an equivalent height of soil of roughly 0.6–1.2 m, which is about 12–24 kPa.
  7. Depth to water table (m). Measured down from the backfill surface. Enter a value equal to or greater than H for a fully drained wall.
  8. Earth pressure condition. Choose active for a wall free to yield, or at-rest for a restrained wall.
  9. Press “Calculate pressure”. The result panel lists the coefficients, pressures, thrust components, resultant height and overturning moment, and the diagram below draws the stacked pressure distribution to scale.

Every field accepts decimals. Use “Copy result” to paste the full output into a calculation sheet, and “Reset” to return to the worked example that is used throughout this page.

Rankine formulas used for retaining wall earth pressure

Rankine's solution treats the soil behind the wall as a semi-infinite mass in a state of plastic equilibrium. When the wall yields away from the fill, the horizontal stress falls to its minimum possible value — the active state — and the ratio of horizontal to vertical effective stress is the constant Ka.

Active coefficient for level backfill

For a cohesionless soil with drained friction angle φ and a horizontal backfill surface:

Ka = tan(45°φ2) 2 = 1sinφ 1+sinφ

Active coefficient for a sloping backfill

When the backfill surface rises at an angle β to the horizontal, the resultant acts parallel to the slope and the coefficient becomes:

Ka = cosβ cosβcosβ2cosφ2 cosβ+cosβ2cosφ2

Setting β = 0 recovers the level-ground expression exactly. The square root is only real while β ≤ φ, which is the analytical statement that a granular slope cannot stand steeper than its own friction angle.

At-rest and passive coefficients

For a normally consolidated soil against a wall that cannot move, Jaky's empirical relation gives the at-rest coefficient, and the passive coefficient is the reciprocal of the level-ground active coefficient:

K0 = 1sinφ , Kp = tan(45°+φ2) 2 = 1Ka

Pressure distribution with depth

At a depth z below the backfill surface the horizontal effective pressure is the coefficient times the vertical effective stress, and full hydrostatic water pressure is added separately because water carries no shear strength:

σh (z) = K (q+γz) , u(z) = γw (zdw)

Below the water table the buoyant unit weight γ′ = γsat − γw replaces γ in the vertical effective stress, with γw = 9.81 kN/m³.

Thrust components and line of action

Integrating each pressure block over the height of the wall gives the thrust per metre run. For dry level backfill the three standard components are:

Pa = 12 KaγH2 , Pq = KaqH , Pw = 12 γwhw2

The soil triangle acts at H/3 above the base, the surcharge rectangle at H/2 and the water triangle at hw/3. The calculator integrates the real profile numerically, so the reported line of action is the weighted centroid of whatever combination you enter:

y¯ = Piyi Pi , Mo = Phy¯

With a sloping backfill the thrust acts at β to the horizontal, so the horizontal component that drives sliding and overturning is Pa·cos β while the vertical component Pa·sin β presses down on the heel and helps to stabilise the wall.

Interpreting the retaining wall pressure results

The result panel is arranged in the order an engineer normally checks a wall:

These outputs feed the three classical external stability checks. Sliding compares the horizontal thrust with base friction, usually taken as tan(⅔φ) times the total vertical load plus a conservative fraction of the passive resistance at the toe. Overturning compares the restoring moment of the wall and the soil sitting on the heel with the overturning moment printed here; a factor of 2.0 is a common target for gravity and cantilever walls. Bearing uses the eccentricity of the resultant, aiming to keep it inside the middle third of the base so the whole footing stays in compression.

Typical backfill parameters for retaining wall design

Results scale directly with the chosen parameters, so the backfill assumption matters more than any refinement in the theory. The table below lists indicative drained friction angles with the coefficients this calculator returns for level ground.

Indicative earth pressure coefficients for common backfill soils (level surface)
Backfill φ (°) γ (kN/m³) Ka K0 Kp
Site-won clayey fill (poor) 24 19 0.422 0.593 2.37
Loose to medium silty sand 30 18 0.333 0.500 3.00
Medium dense sand 35 18 0.271 0.426 3.69
Well-graded sand and gravel 36 19 0.260 0.412 3.85
Dense sand 40 19 0.217 0.357 4.60
Clean crushed rock 42 20 0.198 0.331 5.04

Where site investigation data exist, use friction angles from drained triaxial or direct shear tests, or from correlations with SPT or CPT results. Cohesion is deliberately excluded: it is often lost on wetting, and ignoring it is the conservative choice for the driving side of the calculation.

Worked example: a 3.0 m wall with a 10 kPa surcharge

The values below are the calculator's default inputs, so you can reproduce every number by loading the page and pressing “Calculate pressure”.

Problem. A 3.0 m high cantilever wall retains level medium dense sand with γ = 18 kN/m³ and φ = 35°. A 10 kPa surcharge from parked vehicles acts on the backfill surface. Drainage works, so there is no water table within the retained height. Find the active pressure, thrust and overturning moment.

Step 1 — active coefficient

With β = 0, Ka = (1 − sin 35°)/(1 + sin 35°) = (1 − 0.5736)/(1 + 0.5736) = 0.4264/1.5736 = 0.271. The identical value comes from tan²(45° − 17.5°) = tan²(27.5°) = 0.5206² = 0.271. For reference K0 = 1 − sin 35° = 0.426 and Kp = 1/0.271 = 3.690.

Step 2 — pressures at the base

Soil component: σ′h = Ka·γ·H = 0.271 × 18 × 3.0 = 14.63 kPa. Surcharge component, constant with depth: Ka·q = 0.271 × 10 = 2.71 kPa. Total horizontal pressure at the base = 14.63 + 2.71 = 17.34 kPa. Pore water pressure is zero because the wall drains.

Step 3 — thrust components

Soil triangle: Pa = ½ × 0.271 × 18 × 3.0² = 21.95 kN/m, acting at H/3 = 1.00 m above the base. Surcharge rectangle: Pq = 0.271 × 10 × 3.0 = 8.13 kN/m, acting at H/2 = 1.50 m. Total horizontal thrust = 21.95 + 8.13 = 30.08 kN/m.

Step 4 — line of action and overturning moment

The weighted centroid is ȳ = (21.95 × 1.00 + 8.13 × 1.50)/30.08 = 34.14/30.08 = 1.14 m above the base, noticeably higher than the H/3 = 1.00 m that the soil triangle alone would give. The overturning moment about the base is Mo = 30.08 × 1.135 = 34.14 kN·m/m.

Step 5 — what a blocked drain would do

Re-run the same wall with the water table at the surface and γsat = 20 kN/m³. The buoyant unit weight is 20 − 9.81 = 10.19 kN/m³, so the effective soil thrust falls to about 12.43 kN/m, but a hydrostatic triangle of ½ × 9.81 × 3.0² = 44.15 kN/m appears. With the surcharge the total horizontal thrust becomes roughly 64.7 kN/m — more than double the drained case — and the resultant drops towards the base, which is exactly why drainage is treated as a structural element.

Rankine retaining wall calculator assumptions and limitations

The calculation is deliberately simplified. Its assumptions and limitations are:

Use it for teaching, for feasibility studies and for checking the order of magnitude of a more detailed calculation. Do not use it as the sole basis for a final design, for walls supporting structures, or for any high-consequence application.

Design notes and safety disclaimer

A complete wall design goes well beyond the driving pressures: load combinations and partial factors from the governing code, bearing capacity and settlement, global stability of the slope containing the wall, structural design of the stem and base, joint spacing, and construction sequencing all matter. Drainage deserves particular attention. A free-draining granular zone, a geotextile filter, a perforated collector pipe and weep holes together keep the water table below the heel; without them the load can more than double, which is a frequent cause of retaining wall failure.

Disclaimer. The calculations and explanations on this page are simplified and provided for informational and educational purposes only. They do not cover every factor required for a safe retaining wall design and do not replace a full geotechnical and structural analysis. Local codes, material specifications, construction methods and site-specific soil data must be considered. Always have a qualified engineer review and approve any retaining wall design before construction.

Frequently asked questions about retaining wall earth pressure

What is the active earth pressure coefficient Ka?

Ka is the dimensionless Rankine coefficient that converts vertical effective stress in cohesionless backfill into horizontal pressure on a wall that has yielded away from the soil. For level ground it equals tan squared of (45 degrees minus phi over 2), which is identical to (1 minus sin phi) divided by (1 plus sin phi). As phi rises, Ka falls, so a stronger backfill pushes less hard. For phi = 35 degrees the calculator returns Ka = 0.271.

Why does the soil thrust act at one-third of the wall height?

With level, dry, cohesionless backfill and no surcharge, active pressure is zero at the surface and grows linearly to a maximum at the base, so the pressure diagram is a triangle whose centroid sits H/3 above the base. Adding a uniform surcharge superimposes a rectangle whose centroid is at H/2, and adding water superimposes a second triangle, so the calculator reports the weighted centroid of every component instead of assuming H/3.

When should I use at-rest pressure instead of active pressure?

Use at-rest pressure, Ko, whenever the wall cannot rotate or translate enough to mobilise the full shear strength of the backfill: propped basement walls, integral bridge abutments and walls tied into stiff framing. Mobilising the active state typically needs a movement of about 0.001H in dense sand and 0.004H in loose sand, so a restrained wall stays near Ko = 1 minus sin phi and applying Ka would understate the load.

How much does a blocked drain increase the pressure on a wall?

Roughly double it. If the water table rises to the top of a 4 m wall with phi = 34 degrees and a moist unit weight of 19 kN/m3, the dry thrust of about 42 kN/m becomes roughly 22 kN/m of effective soil thrust plus 78 kN/m of hydrostatic thrust, near 100 kN/m in total. Water carries no shear strength, so its pressure is not reduced by Ka, which is why free-draining backfill, filter fabric and weep holes are treated as structural elements rather than optional details.

Why must the backfill slope be no steeper than the friction angle?

The Rankine expression for a sloping backfill contains the square root of (cos squared beta minus cos squared phi). When beta exceeds phi that term becomes negative and Ka is imaginary, which is the mathematics telling you that an unsupported granular slope steeper than its friction angle cannot stand. The calculator therefore rejects any slope angle greater than the friction angle and asks you to flatten the slope or use a stronger backfill.

Sources used to verify these retaining wall formulas

Sources. The active coefficient Ka = tan²(45° − φ/2) = (1 − sin φ)/(1 + sin φ), the sloping-backfill form of Ka, the triangular pressure distribution σ′h = K·(q + γz), the thrust Pa = ½KaγH² and its H/3 line of action were checked against USACE EM 1110-2-2502, Retaining and Flood Walls (Chapter 3, earth pressures, and Chapter 4, stability requirements), FHWA NHI-06-089, Soils and Foundations Reference Manual (Volume 2, lateral earth pressures and earth retaining structures), and the AASHTO LRFD Bridge Design Specifications Section 3.11 (lateral earth pressure, live load surcharge and hydrostatic pressure). The at-rest relation K0 = 1 − sin φ is Jaky's 1944 expression as reproduced in those references. Typical friction angles and unit weights follow Das, Principles of Geotechnical Engineering, and Bowles, Foundation Analysis and Design. This page is a preliminary tool and is not a substitute for site-specific design by a qualified engineer.

Status messages will appear here.

Enter the wall geometry and backfill properties, then press Calculate pressure.

Backfill Standoff — design a wall that holds

This is the same Rankine mathematics as the calculator above, turned into a cross-section design game. Each level hands you a wall height, a surcharge, a backfill slope and a rainfall risk. You size the stem, the base and the split between toe and heel, then pick a backfill material and a drainage system. The pressure triangle behind the wall grows live as you drag, and four factor-of-safety gauges update from the real formulas. Commit the design and the soil wedge pushes: if any factor of safety is below target the wall tips, slides, sinks or snaps in slow motion. Cheaper designs that still pass score more, so the goal is the leanest section that survives.

Level1 / 6 SiteGarden terrace Score0 Inspections left3 Cost / budget0 / 0 FS overturning FS sliding Bearing Stem

Wall section and backfill choices

Press “Start game” to open the first site. Drag the three round handles on the wall, or focus the drawing and use the keyboard.

Keyboard controls (focus the drawing first, then):
  • choose a parameter
  • change it
  • Shift + / coarse change
  • D toggle drainage
  • Enter or Space commit the design
  • R restart the level

Pointer and touch: press on a handle and drag. Targets are FS ≥ 2.0 against overturning, FS ≥ 1.5 against sliding, bearing pressure within the allowable value, and stem capacity at or above the applied moment.