Concrete and masonry
Retaining wall block calculator
Enter the wall size and your block dimensions. Get the number of blocks and caps, plus the gravel for the base and the drainage zone behind the wall.
Last reviewed: November 25, 2026
How many retaining wall blocks do I need?
Divide the wall height by the block face height and round up to get the number of courses (rows). Add the courses that go below ground. Divide the wall length by the block face length and round up to get blocks per course. Multiply the two, then add your waste allowance. Caps are counted along the length only.
Worked example. A 20 ft long, 3 ft high wall with blocks 6 in high and 12 in long. 36 in ÷ 6 in = 6 courses, plus 1 buried course makes 7. 240 in ÷ 12 in = 20 blocks per course, so 140 blocks. With 10% waste, 154 blocks and 22 caps. The gravel is 0.61 yd³ for the base and 2.44 yd³ behind the wall, about 3.06 yd³ or 4.1 tons.
Block sizes vary a lot. Use the face height and length printed on your block’s packaging, not a generic figure. Some blocks also set back from the course below, which changes the face you see.
What goes below and behind the wall
Segmental retaining walls typically sit on a compacted gravel base, and builders often bury at least half of the base course to keep the toe from kicking out. Walls that are taller may bury one or two full courses (Journal of Light Construction). One DIY guide pours 6 in of gravel in the trench (Hunker). Water collecting behind the wall is a main cause of failure, so the drainage zone and any perforated pipe matter. A pipe is not counted by this tool.
When you need an engineer
A trade-magazine guide reports that retaining walls up to 4 ft usually need no engineering, but engineering is usually required above 4 ft or on poor soils, and it may be needed on even a 2 ft wall that holds up a driveway (Professional Deck Builder). Oregon State University Extension notes that walls over 4 ft should use geogrid and that you may need an experienced installer (OSU Extension). Your local building department sets the actual rule.
Frequently asked questions
How many blocks for a 10 ft wall that is 3 ft high?
With 6 in × 12 in blocks and one buried course, that is 7 courses of 10 blocks, or 70 blocks, before waste. With 10% waste, 77. Your block size changes this, so enter your own.
Do I need to bury the first course?
Builders commonly bury at least half of the base course. This tool lets you enter the number of buried courses and counts them. Follow your block maker’s instructions and local rules.
How much gravel goes behind the wall?
It depends on the design. This tool uses a drainage zone of the width you enter, running the full height of the wall. Your block maker or engineer may specify more.
Sources
- Professional Deck Builder: Block retaining walls
- Journal of Light Construction: Segmental block retaining walls
- Oregon State University Extension: Retaining walls
- Hunker: How to build a retaining wall
This calculator gives estimates for planning and ordering. Retaining walls hold back soil and can fail. It does not replace engineering, building codes or a supplier’s quote.