Retaining Wall Calculator

Estimate blocks, base gravel, backfill, and drainage for a block retaining wall, and know where a DIY wall stops being a DIY wall.

By Tom · Irrigation professional, 35 years of field experience

Last reviewed: November 2026

Estimates modular wall blocks from wall face area and adds base, backfill, drainage stone, fabric, cap blocks, and geogrid planning quantities.

Assumptions and worked example

  • Wall dimensions are straight and uniform.
  • Block dimensions and fixed allowances in the calculator determine course and material counts.

Worked example: A 20-ft by 3-ft wall has 60 sq ft of face. With 12 × 4 in blocks (0.333 sq ft), the block calculation is ceil(60 ÷ 0.333 × 1.10) = 199.

Field notes

Height and permits

Many jurisdictions require a permit or engineering above about 3 to 4 ft, or for any wall holding up a driveway, structure, or slope behind it. This calculator estimates quantities only. It does not include geogrid reinforcement or any structural design, so it is not a substitute for engineered plans on a taller wall.

The base is the wall

Block walls fail at the base more than anywhere else. The calculator figures a 6 in compacted gravel base, 2 ft wide. Dig below grade, compact the base in lifts, and get the first course dead level in both directions. Burying part of the first course is common practice. A wall that starts level stays level; one that starts crooked gets worse every row.

Drainage behind the wall

Water pressure is what pushes walls over. The calculator includes 12 in of clean gravel behind the wall, perforated pipe at the base with a slope to a daylight outlet, and fabric to keep soil out of the gravel. Native clay or sand packed behind the wall instead of clean stone traps water. During a Florida rainy-season downpour that is the difference between a wall that drains and one that bulges.

Irrigation near walls

Keep spray heads from soaking the backfill or hitting the wall face, which adds water the drain has to handle. Mark and relocate irrigation lines before you dig the base trench. A wall built over an old lateral line is a wall you will have to take apart to fix a leak.

Common mistakes

  • Measuring visible height but not buried base course.
  • Using a block count as a wall engineering plan.
  • Skipping the compacted base.
  • Backfilling with native soil instead of clean gravel.
  • Burying the drain pipe outlet so it cannot drain.

Planning checks before ordering

Use the result to decide: Use the block manufacturer’s wall system instructions; obtain qualified design input where height, slopes, or loads warrant it. Check the wall height against local permit rules before ordering anything. Buy the cap block and adhesive from the same manufacturer as the wall block so the dimensions match. Limitations: Slopes, surcharges, water, soil pressure, corners, and geogrid design are not evaluated. Safety and local requirements: Excavation can expose utilities and unstable soil. Local permits and engineered-wall thresholds vary—check before building.

Sources