Short answer
Divide the wall length by the block length, multiply by the number of courses including the buried ones. A 3 ft (0.9 m) high, 20 ft (6 m) long wall of Allan Block AB Classic units takes 70 blocks. Versa-Lok says that generally any wall over 4 ft (1.2 m) should be engineered.
Calculate it
Retaining wall calculator
Wall blocks, courses, base gravel and wall rock.
Retaining wall calculator →Count courses and blocks per course
Allan Block's basic installation guide has you bury 1 in of block for every 1 ft of wall height (25 mm per 300 mm). That is one twelfth of the total height, so the total wall is the exposed height divided by 11/12, rounded up to whole courses.
Blocks per course is the wall length divided by the block face length, rounded up. Multiply the two. Allan Block lists AB Classic and AB Stones as 8 × 18 in (200 × 460 mm) on the face, 12 in (300 mm) deep, 75 lb (34 kg) and about 11 blocks per m². Versa-Lok's standard unit is 6 × 16 in, 12 in deep, 82 lb, 0.66 sq ft of face.
| Height above grade | Courses | Total height | Buried |
|---|---|---|---|
| 2 ft | 4 | 2 ft 8 in | 8 in |
| 3 ft | 5 | 3 ft 4 in | 4 in |
| 4 ft | 7 | 4 ft 8 in | 8 in |
| 0.6 m | 4 | 0.8 m | 0.2 m |
| 0.9 m | 5 | 1.0 m | 0.1 m |
| 1.2 m | 7 | 1.4 m | 0.2 m |
Because the courses are whole blocks, the buried part is usually a little more than the minimum. That is the safe side.
Worked example
Imperial: a wall 3 ft high above grade and 20 ft long. It needs 5 courses of 8 in blocks, 3 ft 4 in in total with 4 in buried. Each course is 20 ft ÷ 1.5 ft = 13.3, so 14 blocks. Total 5 × 14 = 70 blocks, which is 70 × 75 lb = 5,250 lb. The same wall in Versa-Lok Standard units takes 7 courses and 15 blocks per course, so 105 blocks (8,610 lb).
Metric: a wall 0.9 m high and 6 m long, with 200 × 460 mm blocks. 5 courses, 1.0 m total, 0.1 m buried. 6 m ÷ 0.46 m = 13.04, so 14 blocks per course, 70 blocks, 2,380 kg. A quick check with the 11 blocks per m² figure: 6 m² of wall including the buried course × 11 is 66 blocks. The calculator gives 70 because it rounds up in both directions.
Caps are bought separately: the calculator counts them from the cap length you enter.
Base trench and gravel
Allan Block's guide gives a trench 24 in (600 mm) wide and 6 in (150 mm) deep, plus the buried block. For walls under 4 ft (1.2 m) it allows a trench 18 in (460 mm) wide and 4 in (100 mm) deep. The calculator uses the narrower one when the total wall is under 4 ft.
For the example above, the 3 ft wall trench is 18 in wide and 8 in deep (4 in base plus 4 in buried), and the base takes 20 × 1.5 × 1/3 = 10 cu ft of base material. In metric, the 0.9 m wall has a trench 0.46 m wide and 0.2 m deep, and the base takes 6 × 0.46 × 0.1 = 0.28 m³.
Behind the blocks, Allan Block calls for 12 in (300 mm) of wall rock up to the height of the wall, and the hollow cores of the base course are filled too. For the 3 ft example that is 20 ft × 1 ft × 3.33 ft = 67 cu ft; metric, 6 m × 0.3 m × 1.0 m = 1.8 m³. Backfill above and behind the wall rock is compacted in lifts of no more than 8 in (200 mm).
Drainage
Allan Block requires a drain pipe for any reinforced wall, for gravity walls over 4 ft (1.2 m) tall, and for sites with poor drainage. The pipe is vented to daylight every 50 ft (15 m).
The calculator adds the length of drain pipe for every run over 4 ft. If your site is wet, plan for the pipe even on a lower wall.
When to involve an engineer
Versa-Lok's rule-of-thumb bulletin says that generally any wall greater than 4 ft high should be engineered. The calculator shows a warning when any run is taller than 4 ft (1.2 m).
The calculator counts blocks and materials. It does not size reinforcement or check stability, and the published guidelines it uses do not either. For a tall wall, a wall that carries a slope, a driveway or a building, or soil that you cannot judge, the design is the engineer's job.
Questions
How many retaining wall blocks do I need?
Courses × blocks per course. For a 3 ft high, 20 ft long wall of 8 × 18 in blocks that is 5 × 14 = 70 blocks, including the buried course.
How much of the wall should be buried?
Allan Block says to bury 1 in for each 1 ft of wall height (25 mm per 300 mm). A 3 ft exposed wall therefore needs about 3 in below grade, and the whole courses make it 4 in.
How wide and deep is the base trench?
For Allan Block, 24 in (600 mm) wide and 6 in (150 mm) deep, or 18 in (460 mm) and 4 in (100 mm) for walls under 4 ft (1.2 m), plus the buried block.
Do I need a drain pipe?
Allan Block requires one for reinforced walls, for gravity walls over 4 ft (1.2 m) and for sites with poor drainage, vented every 50 ft (15 m).
How high can I build without an engineer?
Versa-Lok says generally any wall greater than 4 ft (1.2 m) should be engineered. Check your local rules too, since they may require a permit or design at a lower height.
Calculate it
Retaining wall calculator
Wall blocks, courses, base gravel and wall rock.
Retaining wall calculator →Sources
- [1]Basic installation – residential retaining walls. Allan Block. Base trench 24 in (600 mm) wide and 6 in (150 mm) deep, or 18 in (460 mm) and 4 in (100 mm) for walls under 4 ft (1.2 m), plus buried block of 1 in per 1 ft (25 mm per 300 mm) of wall height; 12 in (300 mm) of wall rock behind the block; drain pipe for gravity walls over 4 ft; compact in lifts of 8 in (200 mm) or less.. Checked November 6, 2026
- [2]AB Collection – unit specifications. Allan Block. AB Classic and AB Stones: 8 × 18 in face (200 × 460 mm), 12 in (300 mm) deep, 75 lb (34 kg), about 1 sq ft of face, about 11 blocks per m².. Checked November 6, 2026
- [3]Versa-Lok SRW Walls – Rule of Thumb Guidelines (Engineering Services Technical Bulletin, 06/10/10). Versa-Lok. Generally, any wall greater than 4 ft high should be engineered. Standard unit 6 × 16 in face, 12 in deep, 82 lb, 0.66 sq ft.. Checked November 6, 2026