ClutchCalcs

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

  1. Wall length in feet — total horizontal run.
  2. Wall height in inches (total finished height above grade).
  3. Block width and height in inches — read off the block label or spec sheet.
  4. Output: wall blocks, cap stones, number of courses, total stones to order.
  5. 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? +
4 ft maximum without an engineering plan and permit in most jurisdictions. Above 4 ft, the soil pressure exceeds what a non-reinforced segmental wall can handle, and you need geogrid (textile reinforcement), an engineered design, and usually a permit. Below 4 ft is straightforward DIY with proper base prep.
Do I really need drainage stone behind the wall? +
Yes — this is the number-one failure cause for retaining walls. Without drainage, water builds up behind the wall after every rain and exerts hydrostatic pressure that can tip the wall outward. 6-12" of clean crushed stone backfill plus a perforated drain pipe at the base diverts the water to daylight, eliminating the load.
What's the right base material? +
Crushed stone, NOT sand. Sand compacts unpredictably and settles over time. Use 3/4" minus crushed stone (#2A, dense-grade aggregate, or crushed limestone) for the base — it locks together when compacted and stays put. Sand is for the leveling layer immediately under pavers, not for retaining wall bases.
Do segmental walls use mortar? +
No — the blocks interlock by their geometry (a lip on the back of each block hooks behind the next course down, creating a setback). Construction adhesive (PL Premium or similar polyurethane construction adhesive) bonds the top cap stones only — they don't have the interlocking geometry. No mortar anywhere.
What's a batter or setback? +
Each course of a segmental wall steps back from the course below by ~3/4" to 1" (depends on the block design). This back-lean ("batter") is what gives the wall its strength — the wall leans into the hill rather than away from it. The setback is automatic when blocks are installed correctly.
How heavy are these blocks? +
Standard 12"x4" residential block: 25-35 lb each. 18"x6" larger block: 60-90 lb. A pallet of 90 standard blocks weighs ~3,000 lb — plan delivery (most yards rent or include forklift delivery to your driveway) rather than picking up in a pickup truck unless it's a small job.
Do I need to bury the first course? +
Yes — bury the first course at least 1 inch for every 8 inches of wall height (minimum 4-6 inches buried). For a 24" tall wall, bury 6 inches; for a 48" wall, bury 12 inches. The buried course resists the wall sliding forward ("global stability") under load.
Can I plant against the back of a retaining wall? +
Yes, but consider plant roots near the wall. Trees with aggressive roots (silver maple, willow) can heave a wall over years. Smaller perennials, ornamental grasses, and shrubs with shallow root systems are fine. Allow 1-2 ft of crushed stone between the wall and any planting soil so roots don't intrude into the drainage zone.