Retaining Walls: Earth Pressure and Why Dirt Pushes Back

2026-04-26

Every software engineer has seen a retaining wall holding back a hillside next to a road or basement. What's less obvious is how much force that soil exerts and why these walls fail when under-designed. The key concept is lateral earth pressure — soil doesn't just push straight down, it pushes sideways too.

Rankine's Theory gives us the simplest model. For a granular soil (like sand) with no cohesion, the active earth pressure coefficient is:

Ka = (1 − sin φ) / (1 + sin φ)

where φ (phi) is the soil's internal friction angle — typically 28°–36° for common soils. For a medium sand with φ = 30°:

Ka = (1 − 0.5) / (1 + 0.5) = 0.333

The lateral pressure at any depth h is: p = Ka × γ × h, where γ is the soil unit weight (~120 lb/ft³ or 18.9 kN/m³ for typical fill). This creates a triangular pressure distribution — zero at the top, maximum at the base. The total horizontal force per unit length of wall is:

F = ½ × Ka × γ × H²

For a 6-foot wall with our medium sand: F = 0.5 × 0.333 × 120 × 36 = 720 lb per linear foot. That resultant acts at H/3 from the base (2 feet up), creating a significant overturning moment of 1,440 ft·lb per foot of wall.

Three common wall types and when to use each:

Why walls actually fail: The number one killer is water. Saturated backfill can nearly double the lateral force because water adds hydrostatic pressure on top of earth pressure. This is why every retaining wall design includes drainage — weep holes, perforated pipe at the base, and free-draining gravel backfill. A wall that ignores drainage is a wall waiting to fail.

Rule of thumb for preliminary sizing: A cantilever retaining wall's base width should be roughly 0.5 to 0.7 times the wall height. For our 6-foot wall, start with a 3–4 foot wide footing, then verify overturning and sliding safety factors (both should exceed 1.5).

See it in action: Check out 8. Retaining Walls by Engineering Models to see this theory applied.
Key Takeaway: Soil pushes sideways with a force proportional to the square of wall height, and drainage behind the wall matters as much as the structural design itself.

All newsletters