Retaining wall block calculator

Enter the wall's length and height and the size of the block. This counts the courses, blocks and caps, and the gravel base and drainage stone the wall stands on and drains through.

24" exposed12" stone6" basegrade
ft
in

The soil it holds back

in
in
in

Blocks to buy

147blocks

Courses

7

Per course

20

Caps

20

Under and behind it

Base gravel
0.59 cu yd
Drainage stone
1.73 cu yd
Perforated drain pipe
20 ft
Wall, buried courses included
28"

Checks

All 2 checks passShow the numbers
  • Holds back no more than 48" of soil — passes24" is within the 48" the 2021 IRC (R404.4) allows before a wall has to be engineered. A slope or a driveway above the wall can change that.
  • At least one course below grade — passes1 course buried, so the wall is keyed into the ground.

The 48" limit is the 2021 IRC's, and it is a default rather than the law where you live — ring the building department before you dig. The block maker's own guide sets the base, the setback and the drainage for its block.