Retaining Wall Calculator: The Complete Guide to Blocks, Drainage, and Cost
Retaining walls hold back soil on sloped properties, create level terraces, and define garden beds. A properly built retaining wall can last 50+ years, while a poorly built one can fail in just a few seasons — often with expensive consequences. The two most common failure points are inadequate drainage and poor base preparation. This guide covers everything you need to build a retaining wall that lasts.
The Retaining Wall Formula
Wall Face Area = Length × Exposed Height
Total Height = Exposed + Buried (1" per 8" exposed)
Blocks = Face Area × Blocks per Sq Ft + Waste%
Cap Stones = Wall Length ÷ Cap Width
Gravel Backfill = Length × Height × 1 ft (depth) ÷ 27 cu yd
Base Gravel = Length × 2 ft (width) × 0.5 ft ÷ 27
Drain Pipe = Wall Length + 10 ft (outlet)
Worked Example — 20 ft × 3 ft Concrete Block Wall
Exposed height: 3 ft, Buried: ~4.5" (1 course)
Total height: 3.375 ft, Face area: 20 × 3 = 60 sq ft
Standard blocks (3/sq ft): 60 × 3 = 180 blocks
With 10% waste: 180 × 1.10 =
198 blocksCap stones: 20 ft ÷ 1 ft =
20 cap stonesGravel backfill: 20 × 3 × 1 ÷ 27 =
2.22 cu ydBase gravel: 20 × 2 × 0.5 ÷ 27 =
0.74 cu ydTotal gravel:
~3 cu yd
Retaining Wall Types
| Type | Cost/Sq Ft (DIY) | Max Height (no eng.) | Lifespan |
|---|
| Concrete Block (segmental) | $10-$15 | 4 ft | 50+ years |
| Natural Stone | $15-$30 | 3 ft | 100+ years |
| Timber / Railroad Tie | $8-$12 | 4 ft | 15-20 years |
| Poured Concrete | $20-$35 | Requires engineering | 50+ years |
| Boulder | $12-$25 | 3 ft | 100+ years |
Pro Tip — The Buried First Course
Bury the first course of blocks below grade. The rule of thumb: bury 1 inch for every 8 inches of wall height. A 3-foot wall needs about 4.5 inches buried. This prevents the base from shifting or being undermined by erosion. Dig the trench 6-8 inches deep, fill with 4-6 inches of compacted crushed gravel, then set the first course into the gravel so it sits below the finished grade. Check level constantly — an out-of-level base course compounds with every additional course.
Critical — Walls Over 4 Feet Need Engineering
Most building codes require engineered design and building permits for retaining walls over 4 feet tall (some jurisdictions say 3 feet). Walls holding back slopes, surcharges (driveways, structures), or near property lines may require engineering regardless of height. Engineered walls typically use geogrid reinforcement layers every 2-3 courses extending back into compacted backfill. Engineering costs $500-$2,000 but prevents catastrophic failure that can cost $10,000+ to repair. When in doubt, consult a structural engineer.
Drainage — The #1 Cause of Wall Failure
Water is the enemy of retaining walls. Without proper drainage, rainwater saturates the soil behind the wall, creating hydrostatic pressure that pushes the wall forward. In cold climates, freeze-thaw cycles amplify this force dramatically. Every retaining wall over 2 feet tall needs: 12 inches of clean crushed gravel behind the wall from base to near top, a 4-inch perforated drain pipe at the base (holes facing down), filter fabric between gravel and native soil, and a daylight outlet where the pipe exits to grade. The gravel allows water to drain down to the pipe and out, rather than pressing against the wall.