EN

Retaining Wall Calculator

Wall length and height to courses, blocks with waste, cap blocks, gravel backfill and drain pipe.

Your estimate

Results update as you type. Round up when ordering.

  • Rounded up to whole units
  • Runs in your browser

How we test these formulas

How to use the retaining wall calculator

  1. Enter the wall length and the exposed height above the finished grade.
  2. Pick a block size or type the face length and height from the block label, plus the cap length.
  3. Tick the box if the first course is buried, and set the gravel depth behind the wall.

Formula

Courses = height ÷ block height, rounded up (+1 if the first course is buried). Blocks per course = length ÷ block length, rounded up. Blocks = courses × blocks per course, then waste is added. Caps = length ÷ cap length. Gravel = length × height × depth, at about 1.4 tons per yd³ (≈1.66 t/m³).

Example: 20 ft × 3 ft with 12 × 4 in blocks = 9 courses × 20 blocks = 180 blocks before waste, 189 with 5 % waste, plus 20 caps.

Tips

  • Walls taller than 4 ft (1.2 m), or walls holding back a slope, driveway or building, need an engineered design under IRC R404.4 and often a permit.
  • Use clean angular gravel behind the wall and a perforated drain pipe at the base with an outlet.
  • Gravel density varies by stone; ask your supplier for their figure.

FAQ

How many blocks do I need for a retaining wall?

Divide the height by the block height for courses and the length by the block length for blocks per course, then multiply and add 5 % waste.

Should the first course be buried?

Most manufacturers recommend burying the base course, often about 1 in per 8 in of wall height, with at least one full block.

When does a retaining wall need an engineer?

Under IRC R404.4, walls retaining more than 4 ft (1.2 m) of unbalanced fill need an engineered design. Local rules can be stricter.

How much gravel goes behind a retaining wall?

Typically a 12 in (30 cm) zone of drainage gravel for the full height. The calculator multiplies length × height × depth.

Do I need a drain pipe?

Yes, for most walls. A perforated pipe at the base lets water escape so pressure does not build up behind the wall.