Construction
Retaining Wall Block Calculator
Building a segmental retaining wall (the interlocking concrete blocks at every home center) is one of the highest-impact landscape projects a homeowner can take on — it terraces sloped yards, creates planting beds, and adds usable flat space. The block math is straightforward: blocks per course = wall length / block width, courses = wall height / block height, total = courses × per-course. Plus one row of cap stones for the top. This calculator does the multiplication for you and gives you a complete block + cap stone count for any wall length and height. Heads up: walls over 4 ft typically require engineering and a permit; below 4 ft is DIY territory.
Wall blocks
—
- Cap stones
- —
- Courses
- —
- Total stones
- —
The math behind block count
Segmental retaining wall blocks (Allan Block, Versa-Lok, Pavestone, Anchor Diamond) come in standard sizes. Most popular: 12" wide × 4" tall × 8" deep for residential 2-3 ft walls. Larger 18" wide × 6" tall blocks for bigger walls.
Math:
- Blocks per course = (wall length in inches) / block width
- Number of courses = wall height / block height
- Total blocks = blocks per course × courses
- Cap stones = blocks per course (one cap per top block, typically a 12" cap matching the wall block)
Worked example: 20-ft long × 24-inch tall wall using 12" × 4" blocks. Blocks per course = 240 inches / 12 = 20. Courses = 24 / 4 = 6. Total blocks = 20 × 6 = 120 blocks + 20 cap stones = 140 stones total. At ~$4-6/block + $5-8/cap, materials run $600-900.
Base prep and drainage — the part that matters
A retaining wall fails from the bottom up. The base must be:
- Excavated 6" below grade for the buried base course (blocks belowgrade plus 6" of gravel base).
- 6" compacted crushed stone base (#57 or #2A stone), level to within 1/4" across the entire wall length.
- Drainage: 6-12" of clean crushed stone behind the wall, with a 4" perforated drain pipe ("daylighted" at one end) at the base. Without drainage, water pressure (hydrostatic load) will eventually push the wall over.
- Geogrid reinforcement for walls over 3 ft tall — grid laid behind the wall every 2 courses, embedded into the soil 3-4 ft deep.
How to use this calculator
- Wall length in feet — total horizontal run.
- Wall height in inches (total finished height above grade).
- Block width and height in inches — read off the block label or spec sheet.
- Output: wall blocks, cap stones, number of courses, total stones to order.
- Add 5-10% extra for cuts at ends and the inevitable damaged blocks from the pallet.
Common scenarios
Garden bed retaining wall, 30 ft long × 16 in tall, 12×4 blocks. Per course = 30. Courses = 4. Total wall blocks = 120 + 30 caps = 150 stones. ~$700 in materials. One-weekend DIY.
Driveway terrace, 40 ft long × 32 in tall, 12×4 blocks. Per course = 40. Courses = 8. Total = 320 wall blocks + 40 caps = 360 stones. Plus geogrid reinforcement. ~$2,000 in materials. 3-4 days DIY or 1-day pro install.
Backyard slope hold-back, 50 ft long × 36 in tall, 18×6 large blocks. Per course = 33 (rounded up). Courses = 6. Total = 198 + 33 caps = 231 stones. Larger blocks reduce stone count but each one weighs 60-80 lb — plan a 2-person crew.
FAQ
How tall can I build a DIY retaining wall? +
Do I really need drainage stone behind the wall? +
What's the right base material? +
Do segmental walls use mortar? +
What's a batter or setback? +
How heavy are these blocks? +
Do I need to bury the first course? +
Can I plant against the back of a retaining wall? +
Heads up: ClutchCalcs gives you fast, accurate results — but always sanity-check critical decisions (medical, financial, structural) with a professional.
Spot a wrong number or want a calculator added? Tell us →