Retaining Wall Calculator Guide: Block Count, Drainage, and Design
How to calculate retaining wall blocks, drainage aggregate, and base preparation for segmental retaining walls up to 4 feet.
Retaining walls fail from two causes: inadequate drainage and improper base preparation. Get both of those right and a segmental block wall will stand for decades. Get either wrong and even a well-built wall will push over or tip forward within a few seasons.
When Do You Need a Retaining Wall?
A retaining wall is needed when there’s a grade change that can’t be handled by sloping alone. As a rule of thumb: slopes steeper than 3:1 (3 feet horizontal for every 1 foot vertical) typically need some form of retention.
Block Count Calculation
Blocks per course = Wall length (inches) ÷ Block face width (inches) Number of courses = Wall height (inches) ÷ Course height (inches) Total blocks = Blocks per course × Number of courses
For standard 12” × 4” face blocks (12” wide, 4” tall):
Example: 20-foot wall, 3 feet tall:
- Blocks per course: 240 ÷ 12 = 20 blocks
- Courses: 36 ÷ 4 = 9 courses
- Total: 20 × 9 = 180 blocks
Add 5% waste = 189 blocks → order 190
Use our Retaining Wall Calculator for instant results including base course and batter adjustments.
The Batter (Wall Lean)
Segmental retaining walls are built with a slight backward lean (batter) — typically 1 inch of setback per course, or about 1” per foot of wall height. This counteracts soil pressure and gives walls their characteristic appearance.
Most block manufacturers provide specific batter recommendations. Typical: 6–12° from vertical.
Base Course Requirements
The first (base) course is buried in the ground:
- Standard burial: 1 inch per foot of wall height
- Minimum: 6 inches below grade
- On sloped terrain: step the base course to follow the slope, burying every base block
The base course sets the level and alignment of everything above. Take extra time here.
Drainage: The Critical Element
Warning: Skipping drainage behind a retaining wall is the single most common cause of early failure. Hydrostatic pressure from saturated soil can push over a well-built wall in a single heavy rain season. Never omit the gravel drainage zone and perforated pipe — no matter how solid the wall looks.
Poor drainage is the #1 cause of retaining wall failure. As soil absorbs rain, water pressure behind the wall builds dramatically — this is called hydrostatic pressure.
Every retaining wall over 2 feet needs:
- Drainage aggregate — 3/4” clean crushed stone (no fines), at least 12” wide behind the wall
- Perforated pipe — 4” perforated pipe at the base of the drainage zone, wrapped in filter fabric
- Outlet — the pipe must daylight somewhere — through the wall base or to a lower elevation
Amount of drainage aggregate: Volume = Wall length × 1 ft width × Wall height
For our 20-foot, 3-foot wall: 20 × 1 × 3 = 60 cubic feet = 2.22 cubic yards of gravel
Use our Gravel Calculator to calculate drainage stone quantities.
Height Limits and Engineering
- Under 3 feet: Most DIYers can handle with standard block manufacturer guidelines
- 3–4 feet: Usually acceptable without engineering, but check local codes
- Over 4 feet: Most jurisdictions require a licensed engineer’s design
A poorly designed tall retaining wall carries serious injury risk. When in doubt, hire an engineer.
Frequently Asked Questions
Can I use CMU blocks for a retaining wall? Plain CMU blocks (concrete masonry units) are not designed for retaining applications — they’re for above-grade walls. Use blocks specifically designed for retaining walls (like Allan Block, Versa-Lok, or similar engineered systems) which have proper geometry and are tested for soil retention.
How long does a retaining wall last? A properly installed segmental block retaining wall with adequate drainage will last 40–50+ years. Drainage failure shortens this dramatically — walls with inadequate drainage often fail within 5–10 years.
Do I need permits for a retaining wall? Most jurisdictions require permits for retaining walls over 3–4 feet in total height, or any retaining wall adjacent to a public right-of-way, structure, or slope. Check with your local building department before starting.
See also: Masonry Calculation Methodology — brick, block, and mortar quantity formulas, waste factors, and industry references behind ConstructCalc masonry calculators.
Browse more