Home › Landscaping
Retaining Wall Calculator
Formula verified · Updated Nov 2026
Results update as you type. Estimates only — confirm final quantities before ordering.
Enter your wall's length and exposed height to get the block count, cap blocks, footing concrete and drainage gravel — with the buried first course, a waste allowance and your block size all adjustable. The default block is the standard 16 × 8 in face (0.89 ft² per block). Walls over 4 ft tall usually need engineering and a permit — see the FAQs before you build.
The formula
Blocks = Face area ÷ Face area per block × (1 + Waste)
Cap blocks = Length ÷ Cap length (rounded up)
Footing concrete = Length × Footing width × Footing depth ÷ 27
Drainage gravel = Length × Gravel zone width × Exposed height ÷ 27
Gravel tons = Gravel (yd³) × 1.4
Count blocks by square feet of wall face, not by linear feet — and always include the buried first course, which is the single most common reason DIYers run short. A 16 × 8 in block face covers 0.89 ft², so it takes 1.125 blocks per square foot; a 12 × 8 in block covers 0.67 ft² (1.5 per ft²) and a 12 × 4 in landscape block 0.33 ft² (3 per ft²). The footing figure is poured concrete for a mortared CMU wall; a dry-stacked segmental wall uses a compacted gravel levelling pad instead — same volume, different material. The drainage gravel is the 12 in zone of washed stone behind the wall, full exposed height; add a perforated drain pipe at its base (see the French drain calculator for pipe and fabric quantities).
Worked example
Example: a 30 ft wall, 3 ft exposed height, 16 × 8 in blocks, 6 in buried course, 10% waste, 6 in deep × 24 in wide footing, 16 in caps, 12 in drainage zone.
- Face area: 30 × (3 + 0.5) = 105 ft²
- Blocks: 105 ÷ 0.89 = 117.98, × 1.1 = 129.78, rounded up = 130 blocks
- Cap blocks: 30 ÷ 1.33 = 22.5, rounded up = 23 caps
- Footing: 30 × 2 × 0.5 = 30 ft³ ÷ 27 = 1.11 yd³
- Drainage gravel: 30 × 1 × 3 = 90 ft³ ÷ 27 = 3.33 yd³ = 4.67 tons
Reference chart
| Wall size | Face area | Blocks | Cap blocks | Drainage gravel |
|---|---|---|---|---|
| 20 × 2 ft | 50 ft² | 62 | 15 | 1.48 yd³ |
| 30 × 3 ft | 105 ft² | 130 | 23 | 3.33 yd³ |
| 40 × 3 ft | 140 ft² | 174 | 30 | 4.44 yd³ |
| 30 × 4 ft | 135 ft² | 167 | 23 | 4.44 yd³ |
| 50 × 4 ft | 225 ft² | 279 | 38 | 7.41 yd³ |
| 40 × 5 ft | 220 ft² | 272 | 30 | 7.41 yd³ |
Frequently asked questions
How many retaining wall blocks do I need per square foot?
It depends on the block face: a 16 × 8 in block covers 0.89 ft², so 1.125 blocks per square foot (a 100 ft² wall is 113 blocks before waste); a 12 × 8 in block covers 0.67 ft² (1.5 per ft²); a 12 × 4 in landscape block covers 0.33 ft² (3 per ft²). Add the buried course and 10% for cuts and waste on top — this calculator does both.
Why do I need to bury the first course of blocks?
The first course sits about 6 inches (one block) below grade. It anchors the wall against frost heave and sliding, and it keeps the visible courses level on a stable base. Forgetting it is the most common estimating mistake: on a 30 ft wall it is 15 ft² of face — about 17 extra blocks before waste.
How tall can a retaining wall be before I need an engineer?
In most US jurisdictions, walls over 4 feet tall (measured from the bottom of the footing to the top) need a permit and an engineered design, often with geogrid reinforcement. Some areas set the limit lower, and any wall holding up a driveway, structure or slope above it needs engineering regardless of height. Check your local code before building over 4 ft.
Do I really need drainage gravel behind a retaining wall?
Yes — water pressure behind the wall (hydrostatic pressure) is the leading cause of retaining wall failure. A 12-inch zone of clean washed gravel behind the wall, with a perforated drain pipe at its base daylighting to a safe outlet, lets water escape instead of pushing the wall over. Never backfill directly against the wall with clay soil.
Is the footing concrete or a gravel base?
It depends on the wall type. A mortared CMU (concrete block) wall sits on a poured concrete footing — the volume this calculator gives. A dry-stacked segmental wall (Allan Block, Versa-Lok, Belgard and similar) sits on a compacted gravel levelling pad, typically 6 inches deep and wider than the block — use the same footing volume as gravel instead of concrete, and follow the block manufacturer's base instructions.
How much does a retaining wall cost per linear foot in 2026?
Installed, a retaining wall typically costs about $40–$200 per linear foot for a 2 ft tall wall, rising to up to about $360 per linear foot at 6 ft tall — height is the biggest cost driver (Angi, updated 15 Sep 2026). The national average project is about $6,093, with most jobs between $3,193 and $9,213. Another way to estimate it is by wall-face area: about $20–$50 per square foot installed (HomeGuide). This page's example wall — 30 ft long, 3 ft high, 90 ft² of face — works out to about $1,800–$4,500 installed at that rate, and a 50 ft × 4 ft wall (200 ft²) to about $4,000–$10,000, which matches HomeGuide's published figure for a 50 ft wall exactly. Timber is the cheapest material and natural stone the most expensive (about $24–$40 per linear foot for timber vs $44–$76 for stone at 2 ft tall). Drainage adds about $10–$30 per linear foot on top — this calculator's drainage gravel is that work. Walls over 4 ft cost more again, because they usually need a permit and an engineered design (see the engineer FAQ above). These are national planning ranges, not a quote — get local prices before you commit.
Related calculators
- Brick & Block Calculator — Bricks or concrete blocks plus mortar bags for any wall.
- Concrete Calculator — Cubic yards and bag counts for slabs, patios and pads.
- Gravel Calculator — Gravel in cubic yards and tons, by depth and material density.
How we verify this
Block face areas: standard 8 × 8 × 16 in CMU covers 0.89 ft² (1.125 blocks/ft²), 12 × 8 in covers 0.67 ft² (1.5/ft²), 12 × 4 in covers 0.33 ft² (3/ft²) — Concrete Masonry & Hardscapes Association module and published block-count guides (UseCalcPro Retaining Wall Block Cost Calculator; CubicYardCalculator, Oct 2026; BrightCalculator Retaining Wall Calculator). Buried first course 6 in / ~10% and 10% cuts-and-waste allowance from the same published guides. Gravel 1.4 tons/yd³ — same density as this site's Gravel Calculator (crushed stone). Walls over 4 ft needing a permit / engineered design: standard US practice per the same guides. Installed cost ranges 2026: Angi (updated 15 Sep 2026) — national average $6,093, most jobs $3,193–$9,213, $40–$200 per linear foot at 2 ft tall rising to about $360 at 6 ft; HomeGuide — about $20–$50 per sq ft of wall face installed, 50 ft wall $4,000–$10,000; per-height material table and drainage $10–$30 per linear foot from ConstructlyTools Retaining Wall Cost Calculator (updated 30 Oct 2026).