Retaining Wall Block Calculator
US & CanadaEnter the wall length and height and pick your block to get blocks, caps and wall rock, plus the code height triggers.
Your wall
Result
0
Shopping list
Rock volume is the base trench plus the drainage zone behind the wall, before compaction (calculated). Allan Block also fills the hollow cores of its blocks, which is not included.
How the wall maths works
- Courses = (height above ground + buried depth) ÷ block height, rounded up
- Blocks = wall length × courses × block height × blocks per sq ft
- Base rock = wall length × trench width × base depth
- Drainage rock = wall length × depth behind the block × built height
Blocks per square foot is the coverage each maker prints, or a figure we worked out from what they print (marked calculated). For any other block, pick Custom and enter its face height and length: the calculator uses 144 ÷ (height × length in inches). Rock volumes are loose estimates before compaction; turn them into tons with the gravel calculator and your supplier's weight.
Block coverage
| Block | As printed | Per sq ft | Per m² |
|---|---|---|---|
| Allan Block AB Classic (8 x 18 in face) | 1 sq ft approx. per block (11 per m2) | 1 | 10.8 (calc.) |
| Pavestone RockWall Small (4 x 6.75 in face) | 144 units per 46.5 sq ft pallet | 3.1 (calc.) | 33.3 (calc.) |
| VERSA-LOK Standard (6 x 16 in face) | 151 units per 100 sq ft | 1.51 | 16.3 (calc.) |
| Unilock PISA Standard, Ontario (150 x 200 mm face) | 0.33 face sq ft per unit | 3.03 (calc.) | 32.6 (calc.) |
Allan Block prints both "1 sq ft approx." and "11 blk per m²"; the calculator uses 1 per sq ft (about 10.8 per m², calculated). VERSA-LOK caps follow the General Shale bulletin: number of caps = 0.8 × wall length. For other caps, enter the cap length.
Base and drainage, from the guides
- Allan Block installation guide: base trench 24 in (600 mm) wide; for walls under 4 ft (1.2 m), 18 in (460 mm) wide. Trench depth is 6 in (150 mm) plus 1 in (25 mm) for each 1 ft (300 mm) of wall height for buried block. At least 6 in (150 mm) of wall rock in the trench, and wall rock 12 in (300 mm) behind the block.
- Allan Block Specification Manual: base 4 in (100 mm) minimum for walls under 4 ft, 6 in (150 mm) for walls over 4 ft.
- Lowe's DIY guide: trench twice as wide as the block is deep; compacted base for a 6 in block of 3 in (wall under 1 ft 6 in), 4 in (2 ft) or 6 in (under 3 ft); drainage aggregate "such as 3/4 -inch angular/crushed free draining aggregate" 12 in behind the wall.
- Unilock PISA (Ontario): 6 to 8 in of 3/4 in crusher run, compacted to 98% Standard Proctor Density. Gravity walls up to 39 in (1 m); geogrid reinforced walls up to 20 ft (6.1 m).
Height limits and permits
- US, IRC 2021 R404.4: walls not laterally supported at the top that retain more than 48 in (1219 mm) of unbalanced fill, or walls over 24 in (610 mm) that resist other lateral loads too, must be designed to accepted engineering practice, with a safety factor of 1.5 against sliding and overturning.
- Ontario, OBC 2024 Div. A, 1.3.3.5: a retaining wall exceeding 1 000 mm in exposed height adjacent to public property, access to a building, or private property to which the public is admitted is a designated structure. A wall over 1 m in a private back yard away from those is not caught by this clause.
- Rest of Canada: we did not find a height trigger for landscape retaining walls in Part 9 of the National Building Code. Ask your municipality.
Sources
- Allan Block, AB Collection product page: AB Classic size, weight and coverage. https://allanblock.com/products/retaining-walls/ab-collection
- Allan Block, residential installation, basic installation (web manual, 2025): trench, base and drainage. https://allanblock.com/installation/residential-installation/basic-installation
- Allan Block Specification Manual, DOC #R0901-0324 (2024): base depth. https://allanblock.com/PDF/SpecBook.pdf
- Pavestone cut sheet #110121, RockWall Small (No Core): size, units and square feet per pallet. https://pavestone.com/pdf/cutsheets/110121.pdf
- General Shale, "Versa Lok SRW Walls Rule of Thumb Guidelines" (hosted by Canada Brick): Standard unit coverage, cap rule, engineering above 4 ft. https://canadabrick.com/wp-content/uploads/2022/04/GS-Versa-Lok-Rule-of-Thumb-Guidelines.pdf
- VERSA-LOK, Cap Units page: cap sizes. https://www.versa-lok.com/products/residential/cap-units/
- Unilock tech sheet, PISA 150 mm, Region Ontario: unit size, coverage, bundles, base, height capacity. https://contractor.unilock.com/wp-content/uploads/render_pdf/techsheets/pisa/pisa_150_ontario.pdf
- Lowe's, "DIY Retaining Wall Installation" guide (product document 67709211): trench, base and backfill. https://pdf.lowes.com/productdocuments/b6200e7d-b166-4ea0-b8f0-95d645c20ab0/67709211.pdf
- International Residential Code 2021, Section R404.4 Retaining walls (ICC Digital Codes public view, November 2021 version). https://codes.iccsafe.org/content/IRC2021P2/chapter-4-foundations
- Ontario Building Code 2024 (O. Reg. 163/24), Division A, Article 1.3.3.5 Designated Structures, in the MMAH Ontario amendments to the NBC 2020, version dated October 21, 2025, pp. 5 to 6 (copy hosted by the Town of Parry Sound). https://www.parrysound.ca/media/sy2fhdzc/ontario-amendment-document-oct-21-2025.pdf
Blocks per square metre, rock volumes, and the Pavestone and Unilock per-square-foot figures are calculated.