How this calculator works
The number of blocks is courses (height ÷ block height) times blocks per course (length ÷ block length). The cap row is one more block per course length. Behind the wall goes a strip of clean drainage stone, here 12 inches wide for the full height, with perforated pipe at the base to carry the water away. Under the wall goes a compacted stone base trench.
Worked example: a 20 ft long, 3 ft high wall of 12 × 4 in blocks has 9 courses of 20 blocks, so 180 blocks, or 189 with 5% waste, plus 20 cap blocks. It needs about 2.2 yd³ of drainage stone behind the wall and about 0.8 yd³ for the base, and 20 ft of drain pipe.
Tips before you buy
- Drainage is the most important part. Water pressure behind a wall is what makes it fail: use clean, angular stone backfill (not soil) and a drain pipe that runs out to daylight.
- The base needs to be level and well compacted. Take your time on the first course, since every course above follows it.
- Use geotextile fabric between the drainage stone and the soil to stop soil clogging the stone.
- Check local rules. Many jurisdictions require a permit and an engineered design for walls over 3 to 4 feet.
- Some blocks have a built-in setback (lip), and some are pinned. Follow the manufacturer's installation instructions.
Tools & materials for this project
As an Amazon Associate we earn from qualifying purchases. These links do not change what you pay.
Frequently asked questions
How many blocks do I need for a retaining wall?
Divide the wall height by the block height for the number of courses, divide the wall length by the block length for the blocks per course, and multiply. Add 5% for waste, plus one row of caps.
How much gravel goes behind a retaining wall?
A drainage zone about 12 inches wide for the whole height of the wall. For 20 ft long and 3 ft high, that is about 2.2 yd³ of clean crushed stone.
Do I need a permit to build a retaining wall?
Often, yes, for walls over about 3 to 4 feet, or walls that support a structure, driveway or slope. Check with your local building department.
Related calculators & guides
Estimates only. Results assume standard materials and simple shapes. Supplier products vary, and the final call on quantity, structure and safety is yours. Check your local code and your supplier's guidance before ordering.