Retaining Wall Block Calculator

How many retaining wall blocks do you need? Enter the wall length, the visible height and the size of the block face to get the number of courses, the blocks per course and the total to order, with a margin for cuts and breakage.

Enter your measurements

Units

Use the face of the block as it shows in the wall (length along the wall, height of one course). 12 in × 6 in is a common size; check your block.

The part of the wall below ground. The default is one course, equal to the block height. Follow your block maker's installation guide.

Most guides suggest 5% to 10%. Use 0 for the exact count.

Optional. Leave blank to skip.

Order about

147 blocks

7 courses × 20 blocks per course = 140, plus 5% extra

Blocks needed
Wall length20 ft
Visible height3 ft
Wall face area60 sq ft
Block face12 in × 6 in
Buried height6 in
Courses (rows), including buried7
Blocks per course20
Blocks, exact140
Extra5%
Blocks to order147

Formula: courses = (visible height + buried height) ÷ block height, rounded up; blocks per course = length ÷ block length, rounded up. Cap blocks, drainage stone and geogrid are not included.

How to calculate retaining wall blocks

A block wall is built in horizontal rows called courses. Count how many courses the wall needs, count how many blocks fit along one course, and multiply. The first course, or more, sits below ground, so it is added to the visible height.

Courses = (visible height + buried height) ÷ block height, rounded up
Blocks per course = wall length ÷ block length, rounded up
Total blocks = courses × blocks per course
Blocks to order = total × (1 + extra %)

Use the size of the block face as it shows in the wall: the length along the wall and the height of one course. A 12 in × 6 in face is common, but check the block you plan to buy. The buried height is the part of the wall below ground. The calculator starts with one full course, equal to the block height, but follow the installation guide of your block maker. Add 5% to 10% for cuts, corners and breakage.

Worked example: a 20 ft wall, 3 ft high

The wall is 20 ft long and 3 ft high above ground. The blocks have a 12 in × 6 in face and one full 6 in course is buried, as in the calculator default.

  • Courses: (36 in + 6 in) ÷ 6 in = 7
  • Blocks per course: 20 ft × 12 ÷ 12 in = 20
  • Total: 7 × 20 = 140 blocks
  • With 5% extra: 140 × 1.05 = 147 blocks

Burying only 3 in would give (36 in + 3 in) ÷ 6 in = 6.5, still rounded up to 7 courses, so the order is the same.

Blocks for a 20 ft long wall (12 × 6 in blocks, one buried course)
Visible heightCoursesBlocks, exactBlocks with 5% extra
1 ft36063
2 ft5100105
3 ft7140147
4 ft9180189

When to talk to an engineer and the building department

The block count is the easy part. Many guides suggest that a retaining wall taller than about 4 ft should be designed by an engineer, and many places require a permit for walls above a set height or for walls that hold up a slope near a building, a road or a property line. These rules vary from place to place, so check with your local building department before you start. The calculator shows a reminder when the visible height is above about 4 ft.

It counts the wall blocks only. Cap blocks, corner and end pieces, drainage stone behind the wall, a compacted base and geogrid are separate. Use the gravel calculator for the base and drainage stone. If you are building a plain masonry wall from standard cinder blocks rather than interlocking landscape blocks, use the concrete block calculator.

Retaining Wall Block Calculator FAQ

How many blocks do I need for a retaining wall?

Work out the courses, (visible height + buried height) ÷ block height, rounded up, then multiply by the blocks per course (length ÷ block length, rounded up). A 20 ft wall 3 ft high with 12 × 6 in blocks needs 140, or 147 with 5% extra.

How many rows of block should be buried?

The calculator starts with one buried course, equal to the block height. The right depth depends on the wall height, the soil and the block system, so follow the installation guide for your blocks.

How tall can a retaining wall be without an engineer?

Many guides give about 4 ft of visible height as the point where an engineer is advised, and permit rules often start at a set height too. The rules differ by locality, so check with your local building department.

How much extra should I order?

Most guides suggest 5% to 10% for cuts, corners and breakage. The calculator uses 5% and lets you change it, or enter 0 to see the exact count.

How do I estimate the cost of a retaining wall?

Enter the price per block and the calculator multiplies it by the number of blocks to order. Cap blocks, stone, drainage, delivery and labor are extra, so ask suppliers for their prices.

Guides

Last updated . Free to use, no sign-up. How we check our numbers.