Retaining Wall Calculator
Estimate whole retaining-wall blocks by courses and blocks per course using the exact face dimensions of the block you plan to buy. Add waste, backfill width and unit price only when they apply.
Count straight-run cap units separately from wall blocks
Use the same measured wall length from the block calculator above. For a single straight run, enter the effective installed coverage of the exact cap product, then optionally an extra-pieces allowance and real per-unit price. This estimates a separate SKU, not the required structural wall design.
Enter the cap's effective coverage to avoid assuming one manufacturer's dimensions fit every system.
Cap units for a straight run: — before extra allowance; — after the selected allowance.
Worked arithmetic only: an 18 ft straight run with 12 in effective coverage per cap needs 18 baseline units. Adding 5% extra produces ceiling(18 × 1.05) = 19 units. These values are hypothetical; actual cap overhang, corner pieces and joints can change the count.
This check does not design a retaining wall. Soil pressure, wall height, batter/setback, drainage, geogrid, embedment, loads, permits and local codes must be checked against the approved wall system and professional requirements. Caps, corner pieces and structural wall blocks are separate purchasing decisions; do not add their unit counts together as if they were interchangeable.
Continue your project estimate
Estimate gravel for base or backfill →Retaining wall block formula
The calculator rounds wall height up to whole block courses and wall length up to whole blocks per course before applying your waste allowance.
courses = ceiling(wall height ÷ block face height)
blocks per course = ceiling(wall length ÷ block face length)
Backfill is an optional volume check
If you enter a backfill width, the tool converts wall length × average wall height × backfill width into cubic yards. It does not prescribe drainage aggregate width or wall construction details.
Before building a retaining wall
Retaining walls can require drainage, reinforcement, embedment, geogrid, engineered design or permits depending on height, loading, soil and local requirements. Use this page to estimate material quantities after the wall system and construction details are established.
Related landscaping calculators
Worked block-count scenario with whole courses
For a hypothetical straight wall 18 ft long and 3 ft high, suppose a selected block shows a 16-inch face length and a 6-inch face height. The number per course is ceiling(216 ÷ 16) = 14 blocks, and the height requires ceiling(36 ÷ 6) = 6 courses. A simple full-face baseline is therefore 14 × 6 = 84 blocks; adding a selected 5% extra gives ceiling(84 × 1.05) = 89 whole blocks.
Manufactured blocks can have a setback, integrated lips or different exposed dimensions from their physical size. Buried base courses, caps, corners, drainage, reinforcement and engineered height limits may require different additional quantities. Never use a block count to justify a retaining-wall design without the manufacturer's installation requirements and appropriate site-specific guidance.