Blocks, caps and gravel for a retaining wall. Enter your measurements below — results update instantly, include local prices for your state, and come with a shopping list you can print or save as a PDF.
Retaining Wall Block Calculator
Loading calculator…
How to use the retaining wall calculator
Enter the wall length and the height above ground, then pick a block size. The calculator adds one buried course (standard practice), counts cap blocks, and estimates the gravel for the base trench and the 12-inch drainage zone behind the wall.
How the block count is worked out
Blocks per course = Wall length ÷ block length, and courses = wall height ÷ block height + 1 buried course. Multiply the two and add a little extra for cuts.
Worked example: a 30 ft wall, 3 ft high, with standard 16" × 6" blocks. Each course needs 30 × 12 ÷ 16 = 22.5, so 23 blocks. The wall needs 36 ÷ 6 = 6 courses above ground plus 1 buried, so 7 courses. 23 × 7 = 161 blocks, about 170 with 5% extra, plus 23 caps.
Block sizes
| Block | Face size | Blocks per sq ft of face | Typical use |
|---|---|---|---|
| Small | 12" × 4" | 3.0 | Garden beds, low edging |
| Standard | 16" × 6" | 1.5 | Most DIY walls up to ~3–4 ft |
| Large | 18" × 8" | 1.0 | Taller walls, faster builds |
Retaining wall basics
- Bury the first course about 10% of the wall height, and at least 6 inches.
- Build on a compacted gravel base about 6 inches deep and 24 inches wide.
- Backfill with clean gravel and add a perforated drain pipe at the bottom, sloped to daylight.
- Stagger the vertical joints from course to course, like brickwork.
- Walls taller than about 4 feet usually need an engineer, geogrid reinforcement and a permit.
How to build a block retaining wall
- Dig the trench deep enough for the base plus the buried course, and wide enough for the block plus drainage.
- Compact the base gravel and level it carefully — the first course decides how straight the whole wall will be.
- Lay the first course level front to back and side to side, using a string line.
- Add the drain pipe behind the first course and backfill with clean stone.
- Build up course by course, sweeping each one clean, staggering joints and backfilling as you go.
- Glue the caps with masonry adhesive and finish the top with soil or mulch.
Common mistakes
- Skipping drainage — water pressure is the most common cause of failure.
- A first course that isn't level or isn't buried.
- Backfilling with clay soil instead of gravel right behind the wall.
- Building too tall without reinforcement or engineering.
Pro tips for retaining walls
- Spend your time on the first course. Level every block in both directions. Mistakes in the base course get bigger with every course above it.
- Use the block's setback. Most wall blocks have a lip that steps each course back slightly into the hill. Don't fight it — the lean is what makes the wall stable.
- Backfill as you go. Add and compact drainage stone after each course or two, not all at the end.
- Turn the ends into the hill so soil can't wash around the end of the wall.
- Plan corners and curves before ordering. Corner blocks and tight curves change the block count.
What does a block retaining wall cost?
Standard wall blocks average around $5 each and caps around $5, plus gravel for the base and drainage. The calculator above totals these for your wall. Walls that need excavation equipment, engineering or geogrid cost considerably more, and professional installation is usually priced per square foot of wall face.
When to call a pro
Hire a professional — and usually an engineer — if the wall is taller than about 4 feet, holds back a driveway, building or slope above it, or sits near a property line. A failed retaining wall can damage property and is expensive to rebuild.
Frequently asked questions
How many blocks for a 3 ft retaining wall?
With standard 16" x 6" blocks, a 3 ft wall has 6 courses above ground plus one buried course. A 30 ft wall needs about 23 blocks per course, so roughly 161 blocks plus extra.
Do retaining walls need drainage?
Yes. Water pressure behind the wall is the most common cause of failure. Clean gravel backfill and a drain pipe let water escape.
How tall can I build a retaining wall without an engineer?
Many areas allow DIY walls up to about 3–4 feet. Above that, most codes require engineering and a permit. Check with your local building department.
Do I need concrete for a block retaining wall?
Most segmental block walls sit on a compacted gravel base, not concrete. Concrete is only used where the plans call for it.
What goes behind a retaining wall?
At least 12 inches of clean drainage gravel directly behind the blocks, a perforated drain pipe at the bottom, and landscape fabric between the gravel and the soil.
How long does a block retaining wall last?
A well-built segmental wall with good drainage can last for decades. Most failures come from poor drainage or a weak base.