Retaining Wall Calculator

Retaining wall stability screening under simplified earth pressure assumptions. Educational use only.

This page documents the scope, inputs, outputs, and computational approach of the Retaining Wall Calculator on steelcalculator.app. The interactive calculator is designed to run in your browser for speed, but this documentation is written so the page remains useful (and indexable) even if JavaScript is not executed.

What this tool is for

What this tool is not for

Key concepts this page covers

Inputs and naming conventions (high-level)

The calculator UI may present different groupings depending on the selected standard or mode, but inputs generally fall into these categories:

1) Actions / demands
Values that represent the loading on the component you are checking (forces, moments, pressures). Ensure you understand whether the workflow expects factored actions (strength) or service actions (serviceability), and keep that consistent across your verification.

2) Geometry and detailing parameters
Dimensions that define the physical configuration (spacing, thickness, eccentricity, end conditions). Many “unexpected” results come from geometry assumptions that are implicitly different from the real detail.

3) Material properties
Strength values (yield/ultimate), stiffness values (E), and any standard-specific parameters that affect resistance models.

4) Standard / method selection
The same physical configuration can be checked using different methods, with different reduction factors and definitions. A tool can only be unambiguous when you lock down the standard and edition you are matching.

The most common inputs for this tool include: wall geometry, soil parameters, surcharge, water/drainage assumptions.

Outputs you should expect

A well-behaved calculator output should be both summary-friendly and auditable:

If the output is not auditable, treat it as a black box and do not rely on it for anything beyond quick intuition.

Computation approach (what happens under the hood)

This calculator is intended to implement a deterministic sequence of steps:

  1. Normalize inputs into a consistent internal unit system (for example, all lengths in meters, all forces in newtons), then convert back for display.
  2. Derive secondary parameters that are not explicitly entered (for example, effective areas, lever arms, eccentricities, or effective lengths). These are often where standards differ.
  3. Evaluate candidate limit states relevant to retaining wall stability. Each limit state produces a resistance (or allowable) that can be compared to the demand.
  4. Compute utilization as a dimensionless ratio (demand divided by resistance, or resistance divided by demand depending on convention). The controlling utilization is the maximum across the evaluated checks.
  5. Render the report with intermediate values and the controlling failure mode, so a user can trace “why” the governing mode controls.

The implementation should also apply predictable rounding rules: keep higher precision internally, and only round for display. This is essential for stable regression tests.

Verification workflow (recommended QA steps)

This section is not a design instruction; it is a quality-assurance pattern for checking any engineering calculator.

  1. Unit sanity check: confirm that each input has the unit you think it has. A common failure mode is mixing MPa and Pa, or mm and m.
  2. Independent replication: pick one limit state (or one equation) and replicate it with an independent method (hand check, spreadsheet, or trusted reference). You are validating the method, not chasing an exact rounded match.
  3. Sensitivity test: change one input in a direction that should clearly increase or decrease the capacity (for example, increase thickness) and confirm the output changes logically.
  4. Boundary test: test extreme-but-possible values to make sure the UI doesn’t silently overflow, divide by zero, or return NaN/Infinity.
  5. Documentation: record the standard/mode, inputs, and the controlling output in a calculation note format so the result can be reviewed later.

For a structured approach, see: How to verify calculator results.

Earth Pressure Theory and Formulas

Rankine active earth pressure

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

Active thrust per unit length of wall:
Pa = (1/2) × Ka × γ × H²

Acts at H/3 from the base of the wall (triangular distribution)
Direction: horizontal (for vertical wall with horizontal backfill)

Rankine passive earth pressure

Kp = (1 + sin φ) / (1 - sin φ) = tan²(45° + φ/2)

Passive resistance per unit length:
Pp = (1/2) × Kp × γ × D²

Acts at D/3 from the base
D = depth of embedment below the dredge line

At-rest earth pressure

K0 ≈ 1 - sin φ  (for normally consolidated soils)

At-rest thrust: P0 = (1/2) × K0 × γ × H²

Earth pressure coefficient table

Soil Friction Angle φ Ka (Active) K0 (At-Rest) Kp (Passive)
26° 0.390 0.561 2.56
28° 0.361 0.531 2.77
30° 0.333 0.500 3.00
32° 0.307 0.471 3.26
34° 0.283 0.442 3.54
36° 0.260 0.412 3.85
38° 0.238 0.384 4.20
40° 0.217 0.357 4.60

Surcharge pressure

Uniform surcharge q at ground surface:
  Lateral pressure increase: Δp = Ka × q (constant with depth)
  Additional thrust: ΔPa = Ka × q × H
  Acts at H/2 from base (rectangular distribution)

Typical surcharge values:
  Light traffic / pedestrian: 100 psf (4.8 kPa)
  Highway traffic: 250 psf (12 kPa)
  Heavy equipment / construction: 500 psf (24 kPa)

Stability Check Formulas

Overturning stability

FS_OT = M_stabilizing / M_overturning ≥ 2.0 (static)

Stabilizing moments (about toe):
  Wall stem: W_stem × x_stem
  Wall base: W_base × x_base
  Soil on heel: W_soil × x_soil
  (Sum moments of all gravity forces about the toe)

Overturning moment (about toe):
  M_OT = Pa × H/3 + ΔPa × H/2

FS_OT = Σ(W_i × x_i) / (Pa × H/3 + ΔPa × H/2) ≥ 2.0

Sliding stability

FS_SL = F_resisting / F_driving ≥ 1.5 (static)

Resisting force:
  F_friction = μ × ΣW  (base friction)
  F_passive = Pp (if toe embedment provides passive resistance)
  μ = tan(δ), where δ = base-soil friction angle ≈ (2/3)φ to φ

Driving force:
  F_driving = Pa + ΔPa

FS_SL = (μ × ΣW + Pp) / (Pa + ΔPa) ≥ 1.5

Bearing pressure check

Eccentricity: e = B/2 - (ΣM_stab - ΣM_OT) / ΣW

Middle-third rule: e ≤ B/6 (no tension at heel)

Bearing pressure (trapezoidal, e ≤ B/6):
  q_toe = ΣW/B × (1 + 6e/B)
  q_heel = ΣW/B × (1 - 6e/B)

Check: q_toe ≤ q_allowable

Worked Example — Cantilever Retaining Wall

Problem: Design a cantilever retaining wall for a 10-foot retained height. Backfill: γ = 120 pcf, φ = 30°. Allowable bearing = 3,000 psf. Base friction coefficient μ = 0.45 (tan(2/3 × 30°)). No surcharge, no water table.

Step 1 — Wall dimensions (initial estimate)

Total height: H = 10 ft (retained) + 1 ft (embedment) = 11 ft
Base width: B ≈ 0.5 to 0.7 × H = 5.5 to 7.7 ft → Use 7 ft
Toe length: ≈ B/3 = 2.3 ft → Use 2.5 ft
Base thickness: ≈ H/10 = 1.1 ft → Use 1 ft (12 in)
Stem thickness: 12 in at base, 8 in at top
Stem height: 10 ft (above base)

Step 2 — Active earth pressure

Ka = tan²(45° - 30°/2) = tan²(30°) = 0.333

Pa = (1/2) × 0.333 × 120 × 11² = (1/2) × 0.333 × 120 × 121 = 2,418 lb/ft

Acts at H/3 = 11/3 = 3.67 ft from base

Step 3 — Weight and stabilizing moments

Component          Weight (lb/ft)   Arm from toe (ft)   Moment (lb-ft/ft)
─────────────────  ───────────────  ──────────────────  ─────────────────
Stem concrete      150 × 1.0 × 10   = 1,500    2.5 + 1.0/2 = 3.0    4,500
Base concrete      150 × 1.0 × 7.0  = 1,050    7.0/2 = 3.5           3,675
Soil on heel       120 × 3.5 × 10   = 4,200    2.5 + 1.0 + 3.5/2 = 5.25  22,050
─────────────────  ───────────────
Total ΣW           6,750                        ΣM_stab = 30,225

Step 4 — Overturning check

M_OT = Pa × H/3 = 2,418 × 3.67 = 8,874 lb-ft/ft

FS_OT = 30,225 / 8,874 = 3.41 ≥ 2.0 ✓

Step 5 — Sliding check

F_driving = Pa = 2,418 lb/ft
F_resisting = μ × ΣW = 0.45 × 6,750 = 3,038 lb/ft
(Neglecting passive resistance for conservatism)

FS_SL = 3,038 / 2,418 = 1.26 < 1.5 ✗ → NEEDS INCREASE

Add a key or increase base width. Try B = 8 ft:
  Re-calculated ΣW = 7,725 lb/ft, F_resisting = 0.45 × 7,725 = 3,476
  Re-calculated Pa = 2,418 (same), new Pa might change if H changes
  FS_SL = 3,476 / 2,418 = 1.44 → still marginal

Option: Use a shear key at the base toe for additional passive resistance.
Key: 12 in wide × 18 in deep, at 2.5 ft from toe
Passive on key: Kp = 3.0, depth D_key = 1.5 ft + 1 ft base = 2.5 ft below grade
  Pp_key = (1/2) × 3.0 × 120 × 2.5² = 1,125 lb/ft

Total resisting = 3,038 + 1,125 = 4,163 lb/ft
FS_SL = 4,163 / 2,418 = 1.72 ≥ 1.5 ✓

Step 6 — Bearing pressure check

e = B/2 - (ΣM_stab - ΣM_OT) / ΣW
e = 7.0/2 - (30,225 - 8,874) / 6,750
e = 3.50 - 21,351/6,750 = 3.50 - 3.16 = 0.34 ft

B/6 = 7.0/6 = 1.17 ft → e = 0.34 < 1.17 ✓ (within middle third)

q_toe = (6,750/7.0) × (1 + 6×0.34/7.0) = 964 × 1.29 = 1,244 psf
q_heel = (6,750/7.0) × (1 - 6×0.34/7.0) = 964 × 0.71 = 684 psf

q_toe = 1,244 psf < 3,000 psf ✓

Common Retaining Wall Dimensions — Quick Reference

Typical cantilever wall proportions

Retained Height (ft) Base Width (ft) Toe (ft) Heel (ft) Base Thickness (in) Stem Base (in)
4 3.0 1.0 1.5 8 8
6 4.5 1.5 2.5 10 10
8 5.5 2.0 3.0 12 12
10 7.0 2.5 3.5 12 12
12 8.0 3.0 4.0 14 14
14 9.5 3.5 5.0 16 16
16 11.0 4.0 6.0 18 18

These are preliminary sizes. All dimensions must be verified by stability and structural checks.

Drainage detail requirements

Component Specification Purpose
Drainage aggregate 12 in minimum, clean gravel (No.57) Prevents hydrostatic buildup
Perforated drain pipe 4 in minimum, at base of aggregate Collects and redirects water
Filter fabric Between soil and aggregate Prevents clogging of drainage layer
Weep holes 3 in diameter, at 5 ft on center Backup drainage path
Impervious cap 12 in compacted clay at surface Prevents surface water infiltration

Common pitfalls and how to avoid confusion

Data handling, privacy, and offline behavior

Steelcalculator.app is designed so that most calculations can run client-side. In a typical configuration:

If you are deploying this site, document the exact behavior in the Privacy Policy and ensure that any tracking complies with applicable privacy laws. For more context see /privacy and /terms.

Frequently Asked Questions

What is the minimum factor of safety against overturning and sliding for a retaining wall? Under static loading, most codes and practice guidelines require a minimum factor of safety (FS) of 2.0 against overturning and 1.5 against sliding. The overturning FS is the ratio of stabilizing moments (due to wall self-weight and soil weight on the heel) to overturning moments (due to active earth pressure resultant). When passive resistance at the toe is included in the sliding check, it is typically multiplied by a reduction factor of 0.5 to account for the large deformation needed to mobilize it. Under seismic or transient load cases, reduced factors of 1.1–1.2 are sometimes accepted with geotechnical engineer approval.

What is the difference between active, passive, and at-rest earth pressure? Active pressure (Ka) develops when the wall moves away from the retained soil enough to mobilize the full internal friction angle — typically a few millimetres of rotation at the top. At-rest pressure (K0) applies when the wall is restrained against movement, such as a basement wall braced by a floor slab; it is higher than active pressure, commonly K0 ≈ 1 − sin φ for normally consolidated soils. Passive pressure (Kp) acts on the toe-side of the wall base and resists sliding; it requires much larger soil deformation to mobilize and is usually reduced by a factor of safety before being credited in sliding checks.

What is the difference between Rankine and Coulomb earth pressure theory? Rankine theory assumes the failure surface is a plane, ignores wall friction, and gives conservative (higher) active pressures for vertical walls with horizontal backfill — making it the standard choice for most retaining wall designs. Coulomb theory accounts for wall-soil friction and an inclined back face, which typically reduces the calculated active thrust; however, it can significantly overestimate passive resistance and must be used carefully on the passive side. For routine cantilever and gravity walls, Rankine active pressure with no wall friction credit is the conservative and widely accepted starting point.

How does a surcharge load increase lateral pressure on a retaining wall? A uniform surcharge q (force per unit area) applied at the surface behind the wall adds a constant horizontal pressure of Ka × q throughout the full height of the retained soil, where Ka is the active pressure coefficient. This is equivalent to adding a fictitious layer of soil with height q/γ on top of the actual retained height. Strip loads or point loads produce non-uniform pressure distributions that require more detailed analysis using elastic theory or influence charts. Surcharge from vehicle traffic near the wall is a common oversight — a standard minimum surcharge equivalent to 250 psf (12 kPa) is often specified for walls adjacent to roadways.

What are toe pressure and heel pressure, and why does the middle-third rule matter? Toe pressure is the bearing stress at the front edge of the footing (the side away from the retained soil), while heel pressure is the stress at the back edge (under the retained soil). For an eccentrically loaded footing, the resultant vertical force produces a trapezoidal or triangular bearing pressure distribution. When the resultant falls within the middle third of the base width, both toe and heel pressures are compressive — the preferred condition. If the resultant moves outside the middle third, tension develops at the heel (concrete cannot sustain tension), the effective bearing area reduces, and the toe pressure increases sharply, potentially exceeding allowable soil bearing capacity.

Why is drainage behind a retaining wall so critical to stability? Water pressure from a saturated backfill can equal or exceed the active earth pressure in magnitude, effectively doubling the total lateral force on the wall without any change in soil properties. Hydrostatic pressure acts uniformly at full depth and has no friction component, making it far more destabilizing than equivalent dry soil. Good drainage — through weep holes, perforated pipe, or granular drainage fill — eliminates hydrostatic pressure buildup, which is the single most effective measure to improve retaining wall stability and reduce long-term wall failure risk.

Related pages

Disclaimer (educational use only)

This page is provided for general technical information and educational use only. It does not constitute professional engineering advice, a design service, or a substitute for an independent review by a qualified structural engineer. Any calculations, outputs, examples, and workflows discussed here are simplified descriptions intended to support understanding and preliminary estimation.

All real-world structural design depends on project-specific factors (loads, combinations, stability, detailing, fabrication, erection, tolerances, site conditions, and the governing standard and project specification). You are responsible for verifying inputs, validating results with an independent method, checking constructability and code compliance, and obtaining professional sign-off where required.

The site operator provides the content “as is” and “as available” without warranties of any kind. To the maximum extent permitted by law, the operator disclaims liability for any loss or damage arising from the use of, or reliance on, this page or any linked tools.