YardMath

Number of blocks for a retaining wall.

Retaining Wall Block Calculator

Number of blocks for a retaining wall.

Enter your wall length and height plus the block face size to get how many retaining-wall blocks to buy.

Too big to DIY? Get matched with top-rated local pros

Enter your ZIP and we'll connect you with highly-rated local pros for wall block when they're available in your area — free, no obligation.

Estimating wall blocks

Wall face area is length × height. Divide by one block’s face area (face length × height ÷ 144) and add 5%. Plan a buried base row and gravel backfill for drainage.

Figuring block count for your wall

Start with the wall's face area — length × height — then divide by the face area of one block (its face length × height, divided by 144 for square feet). A typical segmental block has a 12×4-inch face, covering about a third of a square foot, so a 20-foot wall 3 feet tall (60 square feet of face) needs roughly 180 blocks plus waste. Our calculator adds 5% for breakage and cuts and also estimates your number of courses (rows). Remember to account for the buried base course below grade — it's not decorative, but it's structural, and it adds to your block count.

The base course decides everything

A retaining wall lives or dies on its foundation. Dig a leveling trench and bury the entire first course below grade — a common rule is one buried course for every 8 inches of exposed wall height, with at least one course underground on even a short wall. Set that base on 4–6 inches of compacted crushed stone, and level each block meticulously front-to-back and side-to-side; every error in the base multiplies as you go up. A base course that's off by a quarter inch becomes a wall that leans. Spend the extra hour getting the first row perfect and the rest of the wall almost builds itself.

Drainage and when to call an engineer

Water pressure behind a wall is what topples it, so drainage is non-negotiable. Backfill the first foot or so behind the blocks with clean crushed stone (not soil), lay a perforated drain pipe at the base daylighting to the side, and separate the stone from the native soil with landscape fabric so it doesn't clog. Step the wall back slightly (most block systems have a built-in setback) so it leans into the hill. Most jurisdictions let homeowners build segmental walls up to about 3–4 feet without engineering; taller than that, or walls holding up a driveway, slope, or structure, generally need an engineered design and a permit. Check local code before you build.

FAQ

How tall can I build without an engineer?
Many areas cap DIY segmental walls around 3–4 ft; taller walls often need engineering and a permit. Check local code.
How many retaining wall blocks do I need?
Divide the wall's face area (length × height) by one block's face area, then add about 5% for cuts and breakage, plus the buried base course. A 20-foot wall 3 feet tall in standard 12×4-inch blocks needs roughly 180–190 blocks including the base row.
How tall can I build a retaining wall myself?
Most areas allow DIY segmental block walls up to about 3–4 feet. Taller walls, or any wall retaining a slope, driveway, or structure, usually require an engineered design and a permit because the forces involved grow quickly with height. Always check local code.
Do retaining walls need drainage?
Yes — trapped water behind a wall is the leading cause of failure. Backfill with clean crushed stone, install a perforated drain pipe at the base that exits to daylight, and use landscape fabric to keep soil out of the drainage stone. Without drainage, even a well-built wall will eventually bulge or collapse.