Retaining Wall Calculator: Blocks, Caps
This retaining wall calculator tells you how many blocks, caps and how much gravel you need. Enter the wall length and height and your block size, and it works out the rows, block count and backfill. Walls over about 4 feet may need an engineer, so check local rules.
Retaining Wall Calculator
Count wall blocks, caps and gravel for a segmental retaining wall.
This free retaining wall calculator tells you how many wall blocks and cap blocks to buy, how much base gravel and drainage stone you need, how long the drain pipe should be and what the materials cost. It works with common 4 × 12, 6 × 16 and 8 × 18 inch block faces or your own size, and it adds one buried course below grade.
How to use the Retaining Wall Calculator
- Enter the wall length and the exposed height in feet.
- Pick a block face size or enter a custom height and length, then enter the cap length.
- Set the base gravel depth and trench width (6 inches deep and 24 inches wide is typical).
- Enter the waste percent and prices for blocks, caps and gravel per ton.
- Read courses, blocks, caps, gravel, pipe and material cost.
Worked example
A 30 ft wall, 3 ft tall, built with 6 × 16 inch blocks:
- Blocks per course: 360 in ÷ 16 = 22.5, rounded up to 23
- Courses: 36 in ÷ 6 = 6, plus 1 buried = 7
- Blocks: 23 × 7 + 5% waste = 170 blocks, plus 24 caps
- Base gravel 1.11 cu yd and drainage stone 3.89 cu yd, about 7.0 tons in all
- 32 ft of perforated drain pipe
- Materials at $3.40 per block, $3.90 per cap and $40 per ton: $951.60
Walls taller than about 4 ft, or walls holding back a slope, driveway or building, usually need an engineered design.
Frequently asked questions
How many retaining wall blocks do I need?
Divide the wall length by the block length and round up for blocks per course, multiply by the courses including one buried course, and add about 5% for waste.
How deep should the gravel base be?
Most block makers call for about 6 inches of compacted gravel in a trench about 24 inches wide, with the first course buried.
How much gravel goes behind a retaining wall?
Plan a 12 inch wide zone of clean drainage stone behind the full height of the wall. The calculator adds it to the base gravel in tons.
Do retaining walls need a drain pipe?
Yes. A perforated pipe at the base behind the wall carries water away and relieves pressure on the blocks.
How tall can a block wall be without an engineer?
Many US codes allow about 3 to 4 feet. Taller walls usually need an engineered design, geogrid and a permit, so check with your local building department.
Related tools: Gravel Calculator, Concrete Block Calculator, Paver Calculator, Cubic Yard Calculator, Brick Calculator.
Plan a retaining wall
How to use it
- Enter the wall length and height.
- Enter the block size.
- Include a buried base row.
- Read blocks, caps and gravel.
More questions
Should I bury the first row?
Yes. Many guides bury the base row for stability.
Why use gravel behind the wall?
It lets water drain so pressure does not build up.
Do tall walls need a permit?
Often. Check your local building department.
Related tools: Paver Calculator, Gravel Calculator, Concrete Block Calculator.