Estimate the blocks, cap units, base gravel and drainage stone for a segmental block retaining wall from its length and height. The calculator counts courses, adds a buried course and gives gravel volumes in cubic yards.
Retaining Wall Calculator
Blocks, cap units, base gravel and drainage stone for a segmental block retaining wall.
Starting values: a wall 20 ft long and 3 ft high of 16 in long, 6 in high blocks, with one buried course, 12 in caps, a 24 in wide by 6 in deep base and 12 in of drainage stone. That needs 105 wall blocks in 7 courses, 20 caps, 0.74 yd³ of base gravel and 2.59 yd³ of drainage stone.
How the quantities are calculated
Courses = height ÷ block height, rounded up, + buried course
Blocks per course = wall length ÷ block face length, rounded up
Wall blocks = courses × blocks per course
Cap units = wall length ÷ cap length, rounded up
Base gravel = length × trench width × gravel depth
Drainage stone = length × (wall height + buried course) × drainage width
The buried course is one extra course below grade, which you can switch on or off. Set the cap length to 0 if you are not using caps. Volumes are shown in cubic yards. The block count has no waste allowance, so add your own.
Worked examples
The starting example
Courses: 36 in ÷ 6 in = 6, plus 1 buried = 7. Blocks per course: 240 ÷ 16 = 15. Wall blocks: 7 × 15 = 105. Caps: 240 ÷ 12 = 20. Base gravel: 20 ft × 2 ft × 0.5 ft = 20 ft³ = 0.74 yd³. Drainage stone: 20 × (3 + 0.5) × 1 = 70 ft³ = 2.59 yd³.
A longer, lower wall
A wall 30 ft long and 2 ft high with the same blocks: courses = 24 ÷ 6 = 4, plus 1 buried = 5. Blocks per course = 360 ÷ 16 = 22.5, so 23. Wall blocks = 5 × 23 = 115. Caps = 360 ÷ 12 = 30. Base gravel = 30 × 2 × 0.5 = 30 ft³ = 1.11 yd³, and drainage stone = 30 × 2.5 × 1 = 75 ft³ = 2.78 yd³.
Taller blocks
With 8 in high blocks instead of 6 in, a 3 ft wall needs 36 ÷ 8 = 4.5, rounded up to 5 courses, plus 1 buried = 6, and 6 × 15 = 90 blocks.
Without a buried course
Turning the buried course off in the starting example gives 6 courses and 90 blocks, but a wall normally needs its first course set below grade, so only do this if your design says so.
Construction points that affect the count
A contractor guide for segmental block walls says the base should be at least twice as wide as the wall blocks, and that at least half of the first course should be buried below the original grade. It adds that walls over 4 ft need engineering documents, that most walls get geogrid at least every 2 vertical feet, and that a 4 in perforated drain pipe wrapped in filter fabric should run behind the wall to daylight. Backfill is compacted crushed stone placed in lifts of 6 in or less.
When to get an engineer
The tool notes that walls taller than about 3 to 4 ft, or those holding back a slope, driveway or building, usually need geogrid and an engineered design. Check your block manufacturer tables and local rules, because the calculator counts material and does not design the wall.
What is not counted
The estimate does not include geogrid, drain pipe, filter fabric, adhesive for caps, soil removal, delivery or waste. For a curved wall, see the circular retaining wall block calculator, and for a price, use the retaining wall cost calculator.
Ordering gravel
Gravel and stone are sold by weight or volume, and compaction takes up more material than the loose volume. Check the supplier conversion and ask how much extra to order.
More retaining wall examples
A longer wall with taller blocks
A wall 40 ft long and 4 ft high built of 16 in long, 8 in high blocks with one buried course: courses = 48 ÷ 8 = 6, plus 1 = 7. Blocks per course = 480 ÷ 16 = 30, so 210 wall blocks. Caps at 12 in are 480 ÷ 12 = 40. Base gravel is 40 × 2 × 0.5 = 40 ft³, or 1.48 yd³. Drainage stone is 40 × (4 + 0.67) × 1 = 186.7 ft³, or 6.91 yd³. A 4 ft wall is at the edge of what the tool notes as the usual limit before engineering is needed.
Planning your own wall
- Measure the length along the face of the wall and the height of the soil you are holding back.
- Enter the face length and height of the block you will buy.
- Keep the buried course on unless your design says otherwise.
- Check the gravel volumes against a supplier conversion, and add your own allowance for waste.
Corners and curves
The block count assumes a straight wall. Corners, steps and curves use extra units and cuts, so add an allowance for them and see your block manufacturer instructions.
Frequently asked questions
How many blocks do I need for a retaining wall?
Divide the height by the block height, round up and add a buried course, then multiply by the blocks per course. A 20 ft by 3 ft wall in 16 × 6 in blocks needs 7 courses of 15, or 105 blocks.
How much gravel do I need behind a retaining wall?
The calculator gives drainage stone as length × height × drainage width. For the starting wall that is 70 ft³, which is 2.59 yd³.
How tall can a block retaining wall be without an engineer?
A contractor guide says walls over 4 ft need engineering, and the tool notes that walls over about 3 to 4 ft or holding a slope or load usually need geogrid and a design.
Does the calculator include a buried course?
Yes, you can add one buried course. It adds one course to the count and to the drainage stone height.




