Retaining Wall Calculator

Quick answer

Retaining wall blocks = courses (including one buried course) × blocks per course, plus about 5%. A 20 ft wall 3 ft high built with 16 × 6 inch blocks has 7 courses of 15 blocks: 111 blocks with extra, plus 15 caps.

Plan a segmental block retaining wall. Enter the wall length and height and the size of your blocks, and this retaining wall calculator (a retaining wall block calculator) gives you the number of courses, wall blocks and cap blocks, plus the gravel for the leveling base and the drainage zone behind the wall.

Your measurements

ft
ft
in
in
courses
%
in
in
in
in

Results

Wall blocks needed111blocks
Courses (rows), including buried7 courses
Blocks per course15 blocks
Cap blocks15 caps
Gravel for the base0.74 cubic yards
Drainage gravel behind the wall2.59 cubic yards
Total gravel weight (about 1.4 tons/yd³)4.67 tons

Estimate only. Quantities are rounded up. Check product labels, your supplier and local building code before you buy or build.

Was this calculator helpful?

How many retaining wall blocks do I need?

Divide the wall length by the block length for blocks per course, multiply by the courses including the buried one, and add about 5%.

Wall (length × height)CoursesBlocks (with 5%)Caps
10 × 2 ft5428
20 × 2 ft57915
20 × 3 ft711115
30 × 4 ft921823

16 × 6 inch face blocks with one buried course.

Do I need a permit for a retaining wall?

Often not for short walls: the IRC exempts retaining walls up to 4 ft tall, measured from the bottom of the footing, unless they hold back a surcharge such as a driveway or slope.

Many towns set a lower limit, such as 3 ft, and block makers often require geogrid or an engineer for taller walls, so check with your building department.

How to use the retaining wall calculator

  1. Enter the wall length and the height above ground in feet.
  2. Enter the block length and height from the block maker, and the number of buried courses.
  3. Enter the cap block length, or 0 if you are not capping the wall.
  4. Set the width and depth of the gravel base and the width of drainage gravel behind the wall.
  5. Prefer metric? Tap Metric above the form to enter meters, centimeters and millimeters and get results in cubic meters, square meters and tonnes.

Formula

Courses = wall height (in) ÷ block height (in), rounded up, + buried courses

Blocks per course = wall length (in) ÷ block length (in), rounded up. Blocks = courses × blocks per course × (1 + extra %)

Base gravel = length × base width × base depth. Drainage gravel = length × drainage width × total wall height

Worked example

A wall 20 ft long and 3 ft high, built with 16 × 6 inch blocks and one buried course, has 7 courses of 15 blocks. With 5% extra that is 111 blocks and 15 cap blocks. A 24 × 6 inch base takes 0.74 cubic yards of gravel, and 12 inches of drainage gravel behind the wall takes 2.59 cubic yards, about 4.67 tons in total.

Tips before you buy

  • Walls taller than about 3 to 4 feet, or walls holding up a driveway, slope or building, often need an engineer's design and a permit. Check with your local building department.
  • Bury the first course below grade. Block makers often call for at least one full course or a set fraction of the wall height.
  • Use clean, angular crushed stone behind the wall and a perforated drain pipe at the base so water does not build up.
  • Compact the leveling base and get the first course perfectly level. Every course above depends on it.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall length by the block length to get blocks per course, multiply by the number of courses including buried ones, and add about 5% extra.

How many retaining wall blocks for a 10 ft wall?

42 blocks for a 10 ft wall 2 ft high with 16 × 6 inch blocks, including a buried course and 5% extra.

How deep should the base be for a retaining wall?

Many block makers call for about 6 inches of compacted gravel, wider than the block. Follow the instructions for your block.

How much gravel goes behind a retaining wall?

A drainage zone about 12 inches wide behind the wall for its full height is common for small walls.

How tall can I build a retaining wall myself?

Many places require engineering or a permit above about 3 to 4 feet. Check your local rules and your block maker’s limits.

Last updated: