How Many Retaining Wall Blocks Do I Need?

· By DIY Calc

Stacked retaining wall blocks in garden

Quick answer: Divide wall length by block width for blocks per course, then multiply by total courses (including one buried base course). A 20-foot long, 3-foot high wall with 16" blocks needs about 120 blocks plus 15 cap blocks.

Skip the math — use our free Retaining Wall Calculator →

The Formula

  1. Blocks per course: Wall length (inches) ÷ block width (inches), round up
  2. Number of courses: Wall height (inches) ÷ block height (inches), round up
  3. Add buried base course: Add 1 more course for stability
  4. Total blocks: Blocks per course × total courses
  5. Cap blocks: Same as blocks per course (if using caps)

Example: 20ft Long × 3ft High Wall, 16×6×12 Blocks

Blocks per course: (20 × 12) ÷ 16 = 15 blocks
Visible courses: (3 × 12) ÷ 6 = 6 courses
Plus buried base: 7 courses total
Total blocks: 15 × 7 = 105 blocks
Cap blocks: 15 caps

Common Block Sizes

Don't Forget the Base and Drainage

The blocks are the most visible part, but what happens behind and below the wall determines whether it lasts 5 years or 50.

Gravel Base Trench

Dig a trench 6 inches deep and twice the block depth wide. Fill with compacted crushed gravel (not rounded stone). This provides drainage and a level surface for the first course.

Gravel Backfill

Behind the wall, fill with 12 inches of crushed gravel from the base to within 6 inches of the top. This prevents water pressure (hydrostatic pressure) from building up behind the wall — the #1 cause of retaining wall failure.

Drainage Pipe

Lay 4-inch perforated drain pipe at the base of the wall, behind the first course, surrounded by drainage aggregate. The pipe should daylight (exit) at the end of the wall or into a drainage area.

Setback and Batter

Retaining wall blocks are designed with a built-in setback — each course steps back about 3/4" to 1" from the course below. This lean (called "batter") uses gravity to resist the force of the soil behind the wall. Don't try to stack blocks perfectly vertical.

Adhesive

Apply landscape block adhesive between the top two courses and between the cap blocks and the top course. One tube covers about 10 linear feet. This prevents the top blocks from being knocked off by weather, animals, or people sitting on the wall.

When You Need an Engineer

DIY retaining walls should generally stay under 4 feet tall. Taller walls need:

Cost Estimates

A typical 20-foot × 3-foot wall costs $500–$1,000 in materials for a DIY build.

Calculate your exact block count →