Calculator
Retaining Wall Block Calculator
Estimate retaining wall blocks, courses, cap units and drainage gravel from wall length, height, buried courses and block size.
Segmental retaining wall blocks stack in courses without mortar. The number you need depends on the wall length, its exposed height, the block size and how many courses are buried below grade. This calculator works out the courses and blocks, the cap units for the top and the drainage gravel behind the wall.
Project dimensions
Enter your measurements below. Results update with a waste allowance you can adjust.
Important disclaimer
This tool estimates blocks, caps and drainage gravel for a straight segmental retaining wall. It is not a structural design. Walls that hold back slopes, driveways or buildings, and taller walls, often need engineering, reinforcement and a permit; many jurisdictions set the limit around 3 to 4 feet. Follow the block maker installation guide and local rules. Cost uses only the price per block you enter.
About this calculator
How the retaining wall calculator works
- Exposed courses = wall height ÷ block height, rounded up.
- Total courses = exposed courses + buried courses.
- Blocks per course = wall length ÷ block face length, rounded up.
- Blocks = total courses × blocks per course × (1 + waste% ÷ 100), rounded up.
- Caps = wall length ÷ cap length, rounded up.
- Drainage gravel = wall length × total wall height × width of the gravel zone.
Worked example: garden wall
A wall 20 feet long and 2 feet high, built from blocks 12 inches long and 4 inches high, with one buried course, 12 inch caps, a 12 inch gravel zone and 5 percent waste:
- 24 inches ÷ 4 = 6 exposed courses, plus 1 buried = 7 courses.
- 240 inches ÷ 12 = 20 blocks per course, 140 blocks, or 147 with 5 percent extra.
- 20 cap units.
- Gravel: 20 × 2.33 × 1 = 46.67 ft³, or 1.728 yd³.
Worked example: larger block
A wall 30 feet long and 3 feet high, with blocks 16 inches long and 6 inches high and one buried course, has 7 courses of 23 blocks. With 5 percent extra that is 170 blocks, plus 23 caps and 3.889 yd³ of drainage gravel.
Blocks per square foot of wall face
| Block face | Blocks per ft² |
|---|---|
| 12 × 4 in | 3.0 |
| 12 × 6 in | 2.0 |
| 16 × 6 in | 1.5 |
| 18 × 6 in | 1.33 |
| 16 × 8 in | 1.125 |
Remember to include the buried courses in the wall face area.
Safety and permits
Retaining walls hold back soil and water, which pushes hard against them. Many jurisdictions require a permit and an engineered design for walls above a certain height, often around 3 to 4 feet, or for walls that support a slope, driveway or building. Follow the block maker's installation guide for base, setback, drainage and geogrid reinforcement.
Frequently asked questions
How many courses should be buried?
Many block makers call for at least one buried course, and more for taller walls. Use the number in your block's installation guide.
Do I need gravel behind the wall?
Most segmental wall systems call for a zone of free-draining gravel behind the blocks and often a perforated drain pipe at the base, so water does not build up behind the wall.
What goes under the first course?
A compacted base or leveling pad, usually crushed stone, set to the depth and width in the installation guide. It is not part of the block count.
For a full walkthrough, read How Many Retaining Wall Blocks Do I Need?
Related guides
Practical planning guides paired with this calculator.
CostRafter Guide
Landscaping
Landscaping
Retaining Wall Block Sizes: How Many Blocks per Foot?
Blocks per linear foot, per course and per square foot for common retaining wall block sizes, with worked examples and handling tips.
CostRafter Guide
Landscaping
Landscaping
How Many Retaining Wall Blocks Do I Need?
Count courses and blocks from wall length, height and block size, include buried courses and caps, and plan the base and drainage gravel.
Related calculators
Other published tools in the same topic.
Landscaping
Gravel Calculator
Calculate gravel volume in cubic yards, estimate material weight in tons and tonnes, and plan material cost from your ow...
Landscaping
Mulch Calculator
Estimate mulch for rectangular and circular beds in cubic yards, cubic feet, and optional bags, with an allowance and a...
Landscaping
Paver Calculator
Estimate pavers, gravel base, bedding sand and edge restraint for a rectangular patio or walkway from its size and your...
More in Landscaping
Browse published calculators and guides for this topic.
Open Landscaping topic →