Calculate your wall
Your results
84 blocks
to order, including waste
Block cost only — caps, gravel, drainage stone, drain pipe and delivery are extra. All figures are estimates; confirm quantities with your supplier and follow the block maker's installation guide.
Your wall in cross-section
A 20 ft × 3 ft wall in 18 × 8 in blocks: 5 courses above grade plus 1 buried course, on a 9 in deep gravel trench with drainage stone behind it.
A retaining wall is not just stacked blocks. The block count is the easy part — the wall face divided by the block face — but the order also has to include the buried base course, the gravel trench the wall sits in, the drainage stone behind it, and the cap blocks on top. Miss any one of those and the wall is short on the day.
Segmental retaining wall blocks are dry-stacked, with no mortar, which makes the count simple: a block covers a fixed rectangle of wall face. What makes a retaining wall different from a brick wall is everything underneath and behind it. This calculator counts the buried first course, works out the trench from the wall height, allows a 12-inch zone of drainage stone behind the full height of the wall, counts the caps along the top, and flags geogrid on walls over 4 feet tall — the point where an engineer and a permit usually enter the picture.
How the calculation works
Blocks per sq ft = 144 ÷ (block length × exposed height per course) — all in inches. An 18 × 8 in block covers exactly 1 sq ft.
Courses above grade = height above grade ÷ exposed height per course, rounded up (you cannot lay part of a course).
Blocks before waste = (courses above grade + buried courses) × (wall length ÷ block length).
Blocks to order = blocks before waste × (1 + waste %).
Cap blocks = wall length ÷ block length, rounded up, plus waste.
Trench depth = 6 in + 1 in for every foot of wall height (Allan Block installation guide). Trench width is 24 in. Base gravel = wall length × 2 ft × trench depth.
Drainage stone = wall length × 1 ft (a 12 in zone) × height above grade, plus a perforated drain pipe at the base, daylighted to an outlet.
Geogrid is flagged when the wall is over 4 ft tall — the manufacturer's guide for your block says at what height it is needed, and a wall over 4 ft generally needs an engineer and a permit as well.
Worked example: a 20 × 3 ft wall is 60 sq ft above grade. 18 × 8 in blocks take 1 block per sq ft, so 60 blocks by face area. Six courses (5 above grade + 1 buried) × 13.3 blocks per course = 80 blocks before waste, and 80 × 1.05 = 84 blocks to order.
The buried course is the detail most estimates miss. The first course sits buried in the compacted gravel trench below grade, and it is what keeps the wall from shifting or heaving — so a wall 3 feet high above ground with a buried first course is really 4 courses of block in the guide's shorthand, not 3, and the calculator counts it. One more thing to know about the count: courses are rounded up, because you cannot lay part of a course — a 3-foot wall is 4½ courses of 8-inch block, counted as 5 — so the course count runs slightly above the bare face-area count (60 blocks for the 20 × 3 ft wall); the difference is the partial top course. The trench rule comes from the same installation guide: 6 inches deep, plus 1 inch for every foot of wall height, so a 3-foot wall needs a 9-inch trench and a 6-foot wall needs a 12-inch trench, filled with compacted crushed stone — never soil — and compacted in lifts.
Blocks per square foot by block size
Counts below are blocks per square foot of wall face, before waste. Always work from the face size printed on the product you are buying.
| Block face (length × exposed height) | Face area | Blocks per sq ft |
|---|---|---|
| 18 × 8 in (Allan Block Classic) | 1.00 sq ft | 1.00 |
| 16 × 8 in | 0.89 sq ft | 1.13 |
| 12 × 8 in | 0.67 sq ft | 1.50 |
| 12 × 6 in | 0.50 sq ft | 2.00 |
| 18 × 6 in | 0.75 sq ft | 1.33 |
Frequently asked questions
How many retaining wall blocks per square foot?
It depends on the block size. A common segmental block, 18 inches long by 8 inches exposed per course, covers exactly 1 square foot of wall face, so it takes 1 block per square foot. Smaller blocks take more: a 12 by 6 inch block covers half a square foot, so it takes 2 per square foot. Always work from the block's face size as printed on the product.
How deep should a retaining wall base trench be?
The base trench is 6 inches deep plus 1 inch for every foot of wall height, on the Allan Block installation guide — so a 3-foot wall needs a 9-inch trench and a 6-foot wall needs a 12-inch trench. The trench is usually 24 inches wide, and it is filled with compacted crushed-stone base, not soil.
Does a retaining wall need a buried base course?
Yes. The first course of blocks sits buried in the compacted gravel trench below grade, and it is what keeps the wall from shifting or heaving. Count it in your order — a wall 3 feet high above ground with a buried first course is really 4 courses of block, not 3.
Do I need drainage behind a retaining wall?
Yes, always. Water building up behind a wall is the most common reason retaining walls fail. The standard build is a layer of drainage stone behind the wall with a perforated drain pipe at the base, daylighted to an outlet. The drainage stone is a separate order from the base gravel, and it is the material people most often under-order.
How many cap blocks do I need?
Count one cap per block length along the top of the wall. A 20-foot wall in 18-inch blocks takes 14 caps, plus a couple of spares for cuts — 15 with a 5% waste allowance. Cap length usually matches the block length, so longer blocks mean fewer caps.
When does a retaining wall need geogrid?
Geogrid — the mesh that ties the wall back into the soil — is needed on taller walls, and the manufacturer's guide for your block will say at what height. A wall over 4 feet tall generally needs an engineer and a permit as well, so check your local rules before you build.
All calculations are estimates. Block sizes, trench depths and prices vary by maker and region — always confirm quantities with your supplier, and follow the block maker's installation guide before building.