Retaining Wall Block Calculator
Enter the wall length and the height showing above grade, then pick a block. The calculator adds buried courses below grade.
What to measure
Worked example: VERSA-LOK: a 20 ft wall 3 ft high is 60 sq ft × 1.5 = 90 units (15 per course × 6 courses), plus 20 × 0.86 = 17.2, so 18 caps. With one buried course added, the calculator shows 105 units before allowance.
AB Classic blocks and caps for common walls
| Wall length | 1 ft exposed | 2 ft exposed | 3 ft exposed | Capstones |
|---|---|---|---|---|
| 10 ft | 21 (3 courses) | 28 (4 courses) | 42 (6 courses) | 7 |
| 20 ft | 42 (3 courses) | 56 (4 courses) | 84 (6 courses) | 14 |
| 30 ft | 63 (3 courses) | 84 (4 courses) | 126 (6 courses) | 20 |
| 40 ft | 84 (3 courses) | 112 (4 courses) | 168 (6 courses) | 27 |
| 50 ft | 105 (3 courses) | 140 (4 courses) | 210 (6 courses) | 34 |
Estimates for a straight wall on level ground using the calculator's method: 18 × 8 in AB Classic face, courses above grade rounded up, plus buried courses at 1/10 of the exposed height (at least one), + 5% allowance, rounded up; one 18 in capstone per 1.5 ft. Allan Block's own chart (no allowance) lists, for example, 28, 55 and 82 blocks for 4 courses at 10, 20 and 30 ft. Caps add about 4 in to the height. Add corner blocks: one per course with a corner or step.
Wall rock (drainage gravel) for the same AB Classic walls
| Wall length | 1 ft exposed (3 courses) | 2 ft exposed (4 courses) | 3 ft exposed (6 courses) |
|---|---|---|---|
| 10 ft | 1.02 cu yd | 1.27 cu yd | 1.76 cu yd |
| 20 ft | 2.04 cu yd | 2.53 cu yd | 3.52 cu yd |
| 30 ft | 3.06 cu yd | 3.80 cu yd | 5.28 cu yd |
| 40 ft | 4.07 cu yd | 5.06 cu yd | 7.04 cu yd |
| 50 ft | 5.09 cu yd | 6.33 cu yd | 8.80 cu yd |
Estimates from Allan Block's installation steps for walls under 4 ft: an 18 in wide base trench with 6 in of wall rock, plus wall rock 12 in behind the block for the full block height, buried courses included. Rock in the block cores and any extra for soft soil are not included, so ask your dealer. Wall rock is clean, compactible gravel about ¼ to 1½ in, with no sand, silt or clay.
How it works
Courses above grade = exposed height ÷ block height, rounded up. Buried courses = buried share × exposed height ÷ block height, rounded up, at least one. Blocks per course = wall length ÷ block face length. Blocks = blocks per course × total courses × (1 + allowance), rounded up. Caps = wall length ÷ cap length (or VERSA-LOK's 0.86 caps per lineal ft), rounded up.
More worked examples
- AB Classic garden wall, 30 ft long and 2 ft exposed: 24 ÷ 8 = 3 courses above grade; 1/10 × 24 in = 2.4 in buried, so 1 buried course; 4 courses. 30 × 12 ÷ 18 = 20 blocks per course × 4 = 80; + 5% = 84 blocks and 20 capstones (Allan Block's chart: 82 blocks, 21 caps). Wall rock: base trench 30 × 1.5 × 0.5 = 22.5 cu ft, plus 12 in behind the 32 in of block, 30 × 1 × 2.67 = 80 cu ft; 102.5 cu ft = 3.80 cu yd, before core fill. The finished wall with caps stands about 28 in above grade.
- VERSA-LOK Standard, 40 ft long and 2.5 ft exposed: 30 ÷ 6 = 5 courses + 1 buried = 6; 40 × 12 ÷ 16 = 30 per course × 6 = 180 units (the same as VERSA-LOK's worksheet: 100 sq ft × 1.5 = 150, plus 30 buried); + 5% = 189. Caps 40 × 0.86 = 34.4, so 35. Pins: 2 per unit, none in the base course, (180 − 30) × 2 = 300. Adhesive: 40 ÷ 14 = 2.9, so 3 tubes. Leveling pad at least 6 in thick and 24 in wide: 40 cu ft (1.48 cu yd) of road-base aggregate. Drainage aggregate (¾ in clear) 12 in thick from the front grade up, not behind the buried course: 40 × 1 × 2.5 = 100 cu ft (3.70 cu yd).
How to measure
- Measure the wall length along the face at the base, in feet. Measure curves along the front face; corners and curves change the count.
- Measure the exposed height from the finished grade in front of the wall to the top of the wall, not counting caps. Allan Block caps add about 4 in.
- If the ground slopes along the wall, split it into level sections. Both guides step the base so each section starts on a level pad with enough buried block.
- Count corners and step-downs. Allan Block adds one corner block for each course with a corner and one for each course that steps down.
- Check the height against local rules. Allan Block notes most municipalities require permits for walls over 4 ft, and recommends larger blocks or patterned walls above 3 ft.
Common mistakes
- Leaving out the buried course. A 2 ft AB Classic wall needs 4 courses, not 3, so a count from the exposed height alone comes up about a quarter short.
- Using the wrong backfill. Allan Block's wall rock has no sand, silt or clay, and VERSA-LOK calls for ¾ in clear, angular gravel; soil or sand behind the block traps water.
- Mixing the two makers' details. Allan Block puts wall rock behind every course, including buried ones; VERSA-LOK starts drainage aggregate at the front grade and puts soil in front of and behind the buried units.
- Ordering one stone for everything. VERSA-LOK's leveling pad is compacted road-base aggregate, separate from the clear drainage stone.
- Treating these counts as a design. Taller walls, slopes above the wall, driveways or water near the wall need an engineer and often geogrid.
Assumptions
- Block presets: Allan Block lists the AB Classic as 18 in long × 8 in high (about 1 sq ft) with 18 in capstones; VERSA-LOK lists the Standard unit face as 16 × 6 in (2/3 sq ft, 1.5 units per sq ft) and estimates caps at 0.86 per lineal ft. Allan Block's own estimating chart runs about 2% higher than 1 block per sq ft.
- Buried depth default 1/10 of the exposed height: VERSA-LOK says walls usually have one-tenth of the exposed height embedded below grade (a 10 ft exposed wall has at least 1 ft buried). At least one buried course is a JobsiteCalc assumption; follow your block maker's guide.
- Straight wall on level ground. Corners, curves, steps and stepped bases change the count; Allan Block adds corner blocks for each course with a corner or step.
- The waste allowance is an editable JobsiteCalc default, not an industry standard. Ask your supplier what extra they suggest for your job.
- This is a quantity estimate only, not a wall design. Allan Block describes its gravity walls for common residential walls up to 6 ft; taller walls, slopes, driveways, structures or water near the wall need engineering and geogrid. Many places require a permit above a set height, so check local codes.
Frequently asked questions
How many retaining wall blocks do I need?
Divide the wall length by the block face length for blocks per course, then multiply by the number of courses (above and below grade). A 20 ft wall of 18 in blocks is 13.3 per course; 3 courses need 40, which Allan Block's chart rounds to 41.
How deep should a retaining wall be buried?
VERSA-LOK says segmental walls usually have about one-tenth of the exposed height buried below grade. Follow your block maker's instructions and any engineer's design.
How many caps do I need?
One per cap length along the wall. VERSA-LOK estimates 0.86 caps per lineal foot; Allan Block's chart lists 14 capstones for a 20 ft wall.
Related calculators
- Paver and patio calculator
- Gravel tonnage calculator (tons and cubic yards)
- Concrete block (CMU) calculator
- Concrete calculator (bags and cubic yards)
- Concrete & hardscape calculators – every concrete, base, paving and wall calculator in one place
Sources
Formulas and reference values are from these sources. Page content last updated 2026-11-12.
- Allan Block Residential Retaining Walls guide: estimating charts for block and capstone (p. 59)
- Allan Block: AB Collection specifications (AB Classic 18 × 8 in, about 1 sq ft; residential walls up to 6 ft)
- VERSA-LOK Standard design and installation guidelines (1.5 units per sq ft, 0.86 caps per ft, about 1/10 of exposed height buried)
- NIST Guide to the SI (SP 811), Appendix B.9: conversion factors (foot = 0.3048 m, ton, pound)