CalcWorks

Home › Landscaping

Retaining Wall Calculator

Units:Switches the numbers you type and the answers. Diagrams, examples and product sizes stay in feet/inches for now.
Wall face area (incl. buried course)
— ft²
Blocks needed
—
Cap blocks
—
Footing concrete
— yd³
Drainage gravel
— yd³
Drainage gravel
— tons
Estimated block cost
$—

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.

Stone retaining wall with garden stairs holding back a terraced lawn
Embed this calculator

Paste this code into your site to show this calculator on your own page. Adjust the height if the calculator is cut off or leaves a large gap.

The formula

Wall face area = Length × (Exposed height + Buried course)
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.

Reference chart

Blocks and gravel by wall size (16 × 8 in block, 6 in buried course, 10% waste, 12 in drainage zone)
Wall sizeFace areaBlocksCap blocksDrainage gravel
20 × 2 ft50 ft²62151.48 yd³
30 × 3 ft105 ft²130233.33 yd³
40 × 3 ft140 ft²174304.44 yd³
30 × 4 ft135 ft²167234.44 yd³
50 × 4 ft225 ft²279387.41 yd³
40 × 5 ft220 ft²272307.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

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).