Retaining Wall Calculator

Find the blocks, caps & gravel for your retaining wall

Frequently Asked Questions

Blocks per course (wall length ÷ block length, rounded up) × number of courses (wall height ÷ block height, rounded up), plus a waste allowance for cuts at corners and ends.
Cap stones finish the top course of the wall with a flat, clean edge — they replace the top field-block course rather than adding an extra one.
A compacted gravel leveling pad, typically 6 inches deep and about 24 inches wide (the block depth plus 6 inches on each side), running the full wall length, plus about 20% for compaction. Many manufacturers also recommend gravel backfill at least 12 inches behind the wall for drainage, which is not included here.
For walls over about 4 feet tall, or any wall holding back a significant slope or load (a driveway, structure, or standing water), have a structural engineer confirm the design and drainage.

How many retaining wall blocks do you need?

The calculator divides the wall into courses (rows):

  • Blocks per course = wall length ÷ block length, rounded up
  • Courses = wall height ÷ block height, rounded up
  • With a cap row, the top course uses cap blocks instead of wall blocks
  • A waste allowance covers cuts and broken blocks

It also estimates the gravel for a compacted leveling pad about 24 inches wide, at the depth you choose, plus 20% for compaction.

Example

A wall 33 feet long and 3.3 feet high, built with 18 × 8 inch blocks, needs 22 blocks per course and 5 courses. With a cap row and 5% waste, that is 93 wall blocks and 24 caps. A 6-inch gravel base 24 inches wide needs about 1.5 cubic yards of crushed stone. At $4 per block, the blocks and caps cost about $468.

Building a wall that lasts

  • Bury the first course. Set about 1 inch of the wall below grade for every 8 inches of height, with at least half a block buried. Add those blocks to your count.
  • Compact the base. Use crushed stone with fines, compact it in 2 to 3 inch lifts and level it carefully; every course above depends on the first.
  • Drain the wall. Fill at least 12 inches behind the blocks with clean gravel and add a perforated drain pipe at the base. Water pressure is the main reason walls fail.
  • Mind the height. Most building codes require an engineer's design and a permit for walls over 4 feet, or for any wall holding back a driveway, slope or structure. Taller walls usually need geogrid reinforcement.

Typical block sizes

Block typeTypical face sizeUse
Garden wall block12 × 4 inEdging and walls under 2 ft
Standard segmental block16 to 18 × 6 to 8 inWalls up to about 4 ft
Large engineered block18 × 8 in and largerTaller walls with geogrid

For the gravel base and drainage stone, see the gravel calculator. If you also need a footing or a concrete cap, use the concrete calculator, and for drainage behind the wall the French drain calculator.