Retaining Wall Block Calculator

Find out how many blocks and caps to buy for a garden or landscape retaining wall, plus the gravel base, drainage stone and drain pipe. Enter your wall size and the shopping list updates as you type.

Side view of a block retaining wall with a gravel base, a buried first course, drainage gravel and a drain pipe behind itHeightBuried courseGravel baseDrainage gravelDrain pipeCap
Wall length
Wall height above ground

Measure from the finished ground in front of the wall to the top, not counting caps.

Check the face size and depth on the block's label.

%

Added on top of the blocks you need, for cuts and broken pieces.

Most block makers want the first course below ground.

0
wall blocks
0
courses

Shopping list

ItemAmountEst. cost
Wall blocks00
Cap blocks00
Gravel base, 3/4 in minus00
Drainage gravel, clean stone00
Perforated drain pipe, 4 in00
Total00

Change prices

Example prices only. Enter what your store or supplier charges.

$
$
$
$
$

How this calculator works

  1. Courses: wall height ÷ block height, rounded up, plus one buried course if you choose it.
  2. Blocks: wall length ÷ block width, rounded up, × courses, plus your extra.
  3. Caps: one row along the top, assuming caps the same width as the blocks.
  4. Gravel base: a trench 12 in wider than the block depth with 6 in of compacted 3/4 in minus gravel, at about 1.5 tons per cubic yard plus 10% for compaction.
  5. Drainage gravel: a 12 in wide zone of clean stone behind the full wall height, at about 1.4 tons per cubic yard plus 5%.
  6. Drain pipe: one run of 4 in perforated pipe along the back of the first course.

Common block sizes

BlockFace (width × height)Blocks per sq ft of wall
Small garden wall block12 × 4 in3
Medium wall block16 × 6 in1.5
Large wall block18 × 8 in1

Sizes vary by brand. Use the face size printed on the label or pallet tag.

Example: a 20 ft wall, 2 ft high, with medium blocks

  1. 24 in ÷ 6 in = 4 courses, plus 1 buried course = 5 courses
  2. 240 in ÷ 16 in = 15 blocks per course
  3. 15 × 5 = 75, plus 5% = 79 wall blocks and 16 caps
  4. Gravel base: 20 ft × 22 in wide × 6 in deep = 1.12 tons
  5. Drainage gravel: 20 ft × 12 in × 30 in tall = 2.72 tons

Quick reference: medium blocks

Wall blocks needed for 16 × 6 in blocks, including one buried course and 5% extra.

Wall1 ft high1 1/2 ft high2 ft high
10 ft long263442
20 ft long486379
30 ft long7397121
50 ft long120160200

Before you buy

  • Check the height limit. Many block systems limit walls without reinforcement to about 3 ft, counting the buried course. Taller walls usually need an engineered design, and many towns need a permit.
  • Call 811 before you dig. It's free, and buried utility lines get marked first.
  • Read the block maker's instructions. They set the base size, setback and drainage for that block, and some need pins or adhesive for the caps.
  • Plan where the water goes. The drain pipe needs an outlet at the end of the wall or into a drain.

Common mistakes

  • Skipping the gravel base. Blocks set on soil shift and lean. Compact at least 6 in of 3/4 in minus gravel under the first course.
  • Backfilling with soil only. Water trapped behind the wall pushes it over. Use clean drainage stone right behind the blocks.
  • Not leveling the first course. Every course follows the first one. Take your time getting it level.
  • Forgetting landscape fabric. Fabric between the drainage stone and the soil keeps dirt from clogging the gravel.

Common questions

How many retaining wall blocks do I need?

Divide the wall length by the block width to get blocks per course, then multiply by the number of courses. A 20 ft wall 2 ft high with 16 × 6 in blocks and one buried course needs about 79 blocks, including 5 percent extra.

How deep should the base be for a retaining wall?

Most block makers call for at least 6 inches of compacted 3/4 inch minus gravel, in a trench about 12 inches wider than the block's depth.

Should the first course be buried?

Yes, most block makers want the first course partly or fully below ground. It keeps the bottom of the wall from sliding out.

How tall can I build a retaining wall myself?

Many block systems limit walls without reinforcement to about 3 feet, including the buried course. Taller walls usually need an engineered design, and many towns need a permit.

Do retaining walls need drainage?

Yes. Clean gravel right behind the blocks and a perforated drain pipe at the base let water out, so it doesn't build up and push the wall over.

Base and drainage follow typical block maker instructions, such as Basalite's guide (at least 6 in of compacted 3/4 in minus gravel, and walls without reinforcement limited to about 3 ft). Always follow the instructions for your block. Reviewed November 2026.