Retaining Wall Block Calculator

Work out blocks, cap stones and base gravel for a segmental retaining wall from its length and height. Free retaining wall block calculator.

Units
Rectangle, 20 ft by 3 ft.length 20 ftheight 3 ft
ft
ft
Check local rules for walls over about 4 ft
in
in
Typical; check your product label
in
in
in
%
Recommended 5–10%
lb/yd³
Typical value; varies with moisture and material

Wall blocks you need to buy

220 blocks

10 courses of 20+ 3.26 yd³ gravel

Retaining wall: exact need and recommended amount (includes 10.00% extra)
MeasureExact needRecommended (+10.00%)
Courses (including buried)1010
Blocks per course2020
Wall blocks200220
Base and drainage gravel: cubic feet80.0088.00
Base and drainage gravel: cubic yards2.963.26
Base and drainage gravel: cubic metres2.272.49
Base and drainage gravel: short tons4.154.56
Estimate the cost (optional)

Enter a price to see an estimate.

Your price × quantity; excludes delivery and tax. Not a quote.

Enter the length and height of your segmental retaining wall and the calculator returns the number of blocks, the cap blocks, and the gravel for the base and the drainage zone behind the wall. You can set the block face size, the number of buried courses and the trench size.

How we calculate

  1. Visible courses = ceil(height in inches ÷ block face height). We add your buried courses (default 1) to get the total.
  2. Blocks per course = ceil(length in inches ÷ block face length). Default face: 4 in high × 12 in long.
  3. Blocks to buy = courses × blocks per course × (1 + extra ÷ 100), rounded up. Default extra: 10%.
  4. Caps (if ticked) = blocks per course × (1 + extra ÷ 100), rounded up.
  5. Gravel: the base trench (default 24 in wide × 6 in deep) plus a drainage strip behind the wall (default 12 in wide, full wall height). Add the extra percentage, then convert to cubic yards and tons at 2,800 lb per cubic yard.

Block sizes and base and drainage dimensions vary by manufacturer, so the defaults are typical figures, not a standard. Use the numbers on your block product's installation guide, such as those published by Allan Block (allanblock.com) or Versa-Lok (versa-lok.com). We did not find a single industry standard to cite for the defaults.

Worked example

A wall 20 ft long and 3 ft high, 4 × 12 in blocks, 1 buried course and 5% extra:

  • Visible courses: 36 ÷ 4 = 9, plus 1 buried = 10
  • Blocks per course: 240 ÷ 12 = 20
  • 10 × 20 = 200, with 5% extra: 210 blocks

A wall 25 ft by 2.5 ft with caps and 10% extra: 9 courses × 25 = 225, so 248 blocks and 28 caps.

Gravel for a 20 ft by 3 ft wall at default sizes: base 20 ft³ plus drainage 60 ft³ is 80 ft³; with 10% extra, 88 ft³ = 3.26 yd³ ≈ 4.56 tons.

Practical tips

  • Keep it low. Walls over about 4 ft, or ones holding up a slope with a driveway, house or other load, usually need engineered design and may need a permit. Check local rules.
  • Bury the first course. It anchors the wall; the amount depends on the product and wall height.
  • Drainage matters. Water pressure behind a wall is what pushes it over, so compact the gravel behind the wall in layers.
  • Use the right gravel. Our gravel calculator and paver base calculator help with a base as well.

Frequently asked questions

How many blocks per square foot of wall face?

It depends on the block. A 4 × 12 in face takes 3 blocks per square foot. Enter your block's face size.

How deep should the base be?

Many manufacturers suggest about 6 in of compacted gravel, and more on poor soil. We default to 6 in; follow your product's guide.

Do I need drainage gravel behind the wall?

Usually, yes. Clean gravel behind the wall lets water drain. We default to a 12 in strip.

How many cap blocks do I need?

One per block in the top course, plus extra for waste, or as many as the cap's length requires.

When do I need an engineer?

Taller walls, walls that support loads, and sloped sites may need one. Check your local building department.

Estimate only. These results are estimates. Buy 5-10% extra and check quantities and product details with your supplier before you order.

Next steps

Common sizes