Retaining Wall Calculator

How much material does a retaining wall actually need? This free retaining wall calculator gives DIYers and contractors an instant take-off across the six systems people actually build at residential scale — segmental block (SRW), poured-in-place concrete, CMU with rebar and grout, pressure-treated 6×6 timber, boulder gravity walls, and gabion baskets. The list always covers the four things that matter: wall units, base stone, drainage (NCMA's number-one cause of residential failure), and reinforcement.

Most online retaining-wall calculators stop at "blocks per square foot." This one carries the chain through: face area, embedment per NCMA Best Practices (1 in per 1 ft, 6 in min), batter and setback per the actual block, geogrid length per NCMA (0.6 H, min 4 ft) or AASHTO (0.7 H, min 8 ft), drainage stone at 0.037 cy per SF face, drain pipe with outlets every 50 LF, and filter fabric with 1.5 ft over-wrap. Plus permit flags: IRC R105.2 / R404.4 says walls > 48 in OR walls with any surcharge need a permit and engineer.

Built on the NCMA Design Manual for Segmental Retaining Walls (3rd ed.), NCMA TEK 15-08A, ICPI/CMHA SRW Installer Certification, IRC R404.4 / R105.2, AASHTO LRFD §11.10, FHWA-NHI-10-024, ASTM C1372 / C90 / C270 / D448 / D6638 / A975, ACI 318 / 332, and manufacturer technical bulletins from Allan Block, Versa-Lok, Keystone, Belgard, Pavestone, and Techo-Bloc. Free, no signup.

View material estimation guides →

Retaining Wall Calculator

Estimate blocks, caps, adhesive, base / drainage stone, drain pipe, filter fabric, geogrid, rebar, concrete, CMU, mortar, timbers, deadmen, boulders, or gabion baskets for any DIY-scale retaining wall — across SRW, poured concrete, CMU, timber, boulder, and gabion systems.

Wall system & geometry

Allan Block, Versa-Lok, Keystone, Belgard, Pavestone, Techo-Bloc, Rockwood. Most common DIY system.

ft
ft
count

Loading above wall

Per IRC R404.4, any surcharge — driveway, pool deck, slope, building — triggers engineering review regardless of wall height. IBC 1607.1 / ASCE 7-22 sets residential driveway at 250 psf.

Retained soil & site conditions

in

Frost depth: ~12 in southern US, 18–24 in mid-Atlantic, 36–42 in upper Midwest / Northeast, 42–60 in northern plains. Flexible SRW per NCMA TEK 15-08A does not need footing below frost; rigid (poured / CMU) does.

SRW design preferences

NCMA / Allan Block / Versa-Lok default to 0.6 × H for residential walls. AASHTO LRFD §11.10 + FHWA-NHI-10-024 require 0.7 × H for DOT / public-sector walls. Both have a minimum length floor.

Tiered walls (optional)

Per NCMA §7.7, tiered walls can be analyzed independently only if the horizontal offset ≥ 2 × the lower wall's exposed height. Less offset = treat as a single combined wall (engineer required).

Related Calculators

How to Use This Calculator

  1. Pick a wall system: segmental retaining wall (SRW) is the suburban national default; pick poured concrete, CMU, timber, boulder, or gabion if your project is different. If you pick SRW, also pick a block (Allan Block AB Classic, Versa-Lok Standard, Keystone Compac III, Belgard Anchor Diamond, Pavestone RockWall, Techo-Bloc Mini-Creta).
  2. Enter wall length and exposed height (above-grade height at the tallest point). Add corner count for 90° corners and check "has curves" if any section has a radius under 8 ft — these drive waste from 5% to 10–15%.
  3. Pick the loading above the wall: surcharge type (none, pedestrian, light parking, pool deck, residential driveway at 250 psf, highway truck), slope above wall (level, 3H:1V, 2H:1V, 1.5H:1V), and what is above the wall (landscape, pool, pond, or building foundation within 1H).
  4. Pick retained soil type (gravel, sand, silt, sandy clay, fat clay, or expansive clay) — drives active earth pressure (Rankine Ka × γ), geogrid trigger, and whether granular reinforced backfill is mandatory. Set frost depth in inches (~12 southern US, 24 mid-Atlantic, 42 northern Midwest).
  5. For SRW only: pick the geogrid length rule (NCMA 0.6 H or AASHTO 0.7 H) and the drainage style (chimney is the 12-in NCMA default; blanket for clay backfill; combined for high water table).
  6. For tiered walls: check "tiered" and enter the horizontal offset. Per NCMA §7.7, walls separate by < 2 × lower wall H are treated as one combined wall.
  7. Click Calculate: see wall units (blocks, caps, adhesive — or timbers, deadmen, spikes; or boulders; or gabion baskets and stone fill), base & drainage stone in cubic yards and tons, drain pipe and outlets, filter fabric, geogrid SF and rolls, plus a lateral-pressure snapshot and full installation notes citing NCMA / IRC / AASHTO / FHWA.

When you can DIY a retaining wall vs when you need an engineer

IRC R105.2 exempts a retaining wall from permit ONLY if total height (bottom of footing to top of wall) is at most 48 inches AND there is no surcharge. Any surcharge — a slope above, a driveway, a pool deck, a fence on top, a building within 1H — triggers engineering and a permit regardless of height (IRC R404.4). Tiered walls with horizontal offset less than 2 × the lower wall's exposed height are analyzed as a single combined wall per NCMA §7.7. Expansive clay (Front Range Colorado, central Texas, Wasatch Front), Seismic Design Categories D–F (California, Pacific Northwest, Alaska, Utah), and groundwater above the base also push designs into engineered territory at any height. The calculator flags every one of these conditions in the warnings panel so you know whether to build it yourself or hire a P.E. before ordering materials. The 48-in / no-surcharge gravity wall in well-drained granular soil is the only DIY-safe case.

Frequently Asked Questions

Do I need an engineer for a 4-foot retaining wall?

Per IRC R105.2 and R404.4, a retaining wall is exempt from permit only if total height (bottom of footing to top of wall) is 4 ft (48 in) or less AND it supports no surcharge. Any surcharge — slope above, driveway, pool deck, building foundation, or fence on top of the wall — triggers engineering and a permit regardless of height. Local jurisdictions can be stricter: Pierce County WA requires engineering at 2 ft with surcharge / 4 ft otherwise; Douglas County CO at 4 ft; LA County (RCM R404.4) is stricter still and prohibits wood retaining walls entirely. The calculator flags every one of these conditions before you order materials.

How much gravel do I need behind a retaining wall?

NCMA recommends a 12-inch-wide zone of clean angular crushed stone (#57 or #67 per ASTM D448) for the full height of the wall. That equals roughly 0.037 cubic yards (about 0.05 tons) per square foot of wall face. A 4 ft × 30 ft (120 SF) wall therefore needs about 4.4 cubic yards (~ 6 tons) of drainage stone, plus a 6-inch × 24-inch leveling pad (≈ 0.04 cy per LF, or about 1.2 cy for 30 LF). Never use stone dust, screenings, manufactured sand, or pea gravel in the drainage zone — they pack and clog, generating hydrostatic pressure that more than doubles the design load on the wall.

How deep does the base course need to be buried?

Per NCMA SRW Best Practices §3.2: embedment equals 1 inch per 1 foot of exposed wall height, with a minimum of 6 inches. A 5-ft wall therefore needs 5 in of embedment, rounded up to one buried 8-in course. A 4-ft wall buries 6 in min. Walls at the toe of a slope or where scour is possible need more. Segmental retaining walls per NCMA TEK 15-08A are flexible structures — the base does NOT need to reach frost depth. Poured concrete and CMU walls, by contrast, MUST have footings below local frost depth (36–60 in in northern climates) or they crack from differential heave.

How long does the geogrid need to be behind the wall?

The NCMA Design Manual for Segmental Retaining Walls (3rd ed.) requires a minimum reinforcement length of 0.6 × total wall height (H), with an absolute minimum of 4 ft — the residential / private-sector default. AASHTO LRFD §11.10 and FHWA-NHI-10-024 require 0.7 × H for public-sector / DOT walls, with an 8 ft minimum. Heavy surcharges, sloping backfill, or weak retained soils can drive the length up to 0.8 H–1.0 H per engineer review. Vertical spacing: every 2nd course (16 in) maximum on 8-in-tall blocks, every course (6 in) on 6-in-tall blocks. The calculator exposes the NCMA-vs-AASHTO toggle so you can match your local code.

What's the best backfill behind a retaining wall?

A granular, free-draining material classified GW, GP, SW, SP, or SM with less than 35% passing the No. 200 sieve (NCMA reinforced backfill spec). Avoid native clay (CH, CL) in the reinforced zone — it loses friction angle when wet, swells/shrinks seasonally, and traps water that more than doubles the lateral load on the wall. If only clay is available, an engineer should design the wall for cohesive-soil parameters (typically at-rest pressure coefficient and a 60+ pcf equivalent fluid pressure minimum). Calculator warns whenever you select silt, clay, or expansive clay as retained soil and the wall system is SRW.

Why are railroad ties a problem?

Used railroad ties are treated with creosote or pentachlorophenol — both EPA restricted-use pesticides under 40 CFR 152. Creosote leaches into surrounding soil, off-gasses in heat, is classified IARC Group 2A (probable human carcinogen), and EPA labeling prohibits residential use near food gardens, play areas, beehives, and most water bodies. Ties are also dimensionally inconsistent and shorter-lived than ground-contact PT southern yellow pine. Use pressure-treated 6×6 timbers (AWPA UC4A/UC4B ground contact) or SRW blocks instead — both are listed in the calculator's wall system dropdown.

What factor of safety should my retaining wall design meet?

For SRWs under static conditions, the NCMA Design Manual requires minimum FS of 1.5 against sliding, 2.0 against overturning, and 2.0 against bearing capacity failure. Under seismic loading those drop to 1.1, 1.5, and 1.5. IRC R404.4 prescribes 1.5 for both sliding and overturning. Internal stability (geogrid pullout, geogrid overstress via long-term allowable design strength, connection capacity per ASTM D6638) also requires FS ≥ 1.5. The calculator reports the lateral force and overturning moment per LF so you can do a sanity check, but a stamped design from a licensed P.E. is the only way to verify factors of safety on any wall over 48 in or with surcharge.

Can I mix different block manufacturers in the same wall?

Not recommended. NCMA-conforming SRW units all meet ASTM C1372 (3,000 psi min compressive strength, absorption limits, dimensional tolerances), but unit-to-unit shear strength (ASTM D6916), connection capacity to geogrid (ASTM D6638), and height tolerance are calibrated per manufacturer. Mixing Allan Block and Versa-Lok in the same wall — even if they look similar — voids the manufacturer's engineering tables and can cause uneven course heights, gap-and-bulge issues, and reduced internal stability. Pick one system per wall run. For ornamental color contrast, use the same manufacturer's complementary product (e.g. Allan Block Stones vs Classic) in alternating bands or accents.