Retaining Wall Calculator – Blocks, Base & Backfill

Use this retaining wall calculator to find how many blocks, cap blocks, base gravel, and drainage backfill your wall needs. Enter the wall length and height, pick your block size, and you get the full materials list with courses and rows worked out, plus 5% extra blocks for cuts.

How to calculate wall blocks by hand

courses = wall height ÷ block height\nblocks per course = wall length ÷ block face width\ntotal blocks = courses × blocks per course × 1.05

Worked example: a 30 ft wall, 2 ft tall, with standard 12" × 4" blocks. Courses: 24" ÷ 4" = 6. Per course: 360" ÷ 12" = 30 blocks. Total: 6 × 30 = 180, plus 5% → 189 blocks, and 30–32 cap blocks for the top course.

What goes into a retaining wall

ComponentSpecRule of thumb
Base trench18" wide, 6" crusher runCompact in 2" lifts, dead level
Buried first course1" per 8" of wall heightA 32" wall buries ~4"
Drainage backfill12" of 3/4" clean gravelBehind the full wall height
Drain pipe4" perforated, at baseWalls over 2 ft
Setback (batter)Lean into slopeBuilt into most block lips
Geogrid + engineeringAbove 3–4 ftCheck local permit rules

The two failure points of DIY walls are a sloppy base and no drainage. Water pressure behind the wall — not the soil itself — is what tips most residential walls, which is why the gravel backfill and drain pipe matter as much as the blocks.

FAQ

How many blocks do I need?

Wall face area ÷ block face area, +5%. A 30 ft × 2 ft wall with 12×4" blocks ≈ 189 blocks.

How deep should the base be?

6" of compacted crusher run in an 18"-wide trench, plus bury 1" of block per 8" of wall height.

Do I need gravel behind the wall?

Yes — 12" of clean 3/4" gravel, with a perforated drain pipe for walls over 2 ft.

How tall without an engineer?

Usually 3–4 ft max for gravity walls; taller needs geogrid and often a permit.

How heavy are the blocks?

Standard blocks 20–30 lbs; large formats 50–80 lbs. A 200-block wall is 3–6 tons — get it delivered.

Need base or backfill quantities on their own? Use the gravel calculator, or browse all landscape material calculators.

Scroll to Top