Primary material
84 blocks
Retaining wall blocks
Use the block count as a starting point, then confirm the exact block face size, weight, and pallet quantity with the store.
Retaining wall calculator
Enter wall length, height, and block size to estimate wall blocks, cap blocks, and base gravel. A 20 ft long, 2 ft high wall needs about 84 blocks and 20 caps.
20 x 2 ft wall
84 blocks
20 caps
Courses
4 high
20 per course
Base gravel
0.37 yd³
6 in leveling pad
Estimated materials
Wall blocks
84
Cap blocks
20
Estimate only. Block size, drainage, geogrid, and engineering depend on the wall.
Quick wall answers
20 x 2 ft wall
84 blocks
plus 20 cap blocks
30 x 3 ft wall
189 blocks
plus 30 cap blocks
40 x 2 ft wall
168 blocks
plus 40 cap blocks
Drainage matters
A retaining wall needs gravel backfill and often a perforated drain pipe behind it so water does not build up and push the wall over. Estimate the base and backfill with the gravel calculator.
Shopping list
Block and cap counts update from the calculator. Confirm the block face size and pallet quantity before ordering.
Primary material
84 blocks
Retaining wall blocks
Use the block count as a starting point, then confirm the exact block face size, weight, and pallet quantity with the store.
Top course
20 caps
Cap blocks and adhesive
Cap blocks finish the top row and are usually glued with masonry/landscape block adhesive.
Base and drainage
Base gravel and drainage
A compacted gravel base levels the first course, and gravel backfill plus a drain pipe keep water from building behind the wall.
Reinforcement
Geogrid and fabric
Taller walls need geogrid soil reinforcement and separation fabric. Check the block maker spec and local code for your height.
Advertising and affiliate disclosure
MeasureTwice may earn from display ads, retailer links, or contractor lead partners. Calculator results and formulas are not changed to favor a vendor. Read the disclosure.
Retaining wall shopping ad slot
Reserved space for store links, local supplier offers, display ads, or quote CTAs.
Advertising and affiliate disclosure
MeasureTwice may earn from display ads, retailer links, or contractor lead partners. Calculator results and formulas are not changed to favor a vendor. Read the disclosure.
Formula shown
1. Courses and per course
courses = ceil(height x 12 / block height); per course = ceil(length x 12 / block length)
2. Blocks and caps
blocks = ceil(courses x per course x (1 + waste)); caps = per course
3. Base gravel
base yd³ = length x base width x (base depth / 12) / 27
Tall walls need more
This counts blocks, caps, and a leveling base for a simple straight wall. Taller walls, slopes, surcharges, and walls near structures need geogrid, drainage, deeper base, and often an engineer and permit — check local code before building.
Sources
Reviewed for estimating accuracy
Last updated: June 26, 2026
Related calculators
Related tools ad slot
Reserved space for store links, local supplier offers, display ads, or quote CTAs.
Advertising and affiliate disclosure
MeasureTwice may earn from display ads, retailer links, or contractor lead partners. Calculator results and formulas are not changed to favor a vendor. Read the disclosure.
FAQ
Block counts, cap blocks, base gravel, drainage, and when a wall needs engineering.
Divide the wall height by the block height for the number of courses, and the wall length by the block length for blocks per course. A 20 ft long, 2 ft high wall with 12 x 6 in blocks is about 4 courses of 20, or roughly 84 blocks with waste.
Cap blocks finish the top course, so you need about one per block in the top row — about 20 caps for the 20 ft example. They are usually set with masonry or landscape block adhesive.
The first course sits on a compacted gravel leveling pad, commonly about 6 in deep and a bit wider than the block. For a 20 ft wall that is roughly 0.37 cubic yards of base, plus gravel backfill behind the wall for drainage.
Short garden walls (often under about 3 to 4 ft) are usually DIY-friendly. Taller walls, walls holding a slope or surcharge, and walls near structures commonly need geogrid reinforcement, drainage, and an engineer or permit. Check local code.