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.
| Visible height | Courses | Blocks, exact | Blocks with 5% extra |
|---|---|---|---|
| 1 ft | 3 | 60 | 63 |
| 2 ft | 5 | 100 | 105 |
| 3 ft | 7 | 140 | 147 |
| 4 ft | 9 | 180 | 189 |
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.