GetTheAmount

Project Hub

Build a Retaining Wall: Project Walkthrough

Published July 19, 2026

The 4 calculators for this job, in order

Run them in this sequence — each step's measurements feed the next, and changing an early number changes every number after it.

  1. Excavation Spoil Calculator
  2. Retaining Wall Block Calculator
  3. Gravel & Stone Calculator
  4. French Drain Gravel Calculator

A finished retaining wall is almost entirely the part nobody sees again once the job is done: the buried courses below grade, the trench of compacted base stone under them, and the column of drainage stone behind the wall face. The visible cap course and the exposed block above grade are a small fraction of the actual structure, and yet most first-time estimates are built almost entirely off that visible portion, because it's the only part anyone can measure with a tape from where they're standing.

The order that gets the buried parts right: settle exposed height and check whether the wall needs an engineer before anything else, dig to the depth the wall's own buried courses and base actually require, place base stone and drainage stone as you build up, then cap and finish grade. That's the excavation spoil calculator, retaining wall calculator, gravel calculator, and french drain calculator. Retaining walls are structural, load-bearing work holding back real soil pressure — local code and a qualified professional govern here, and a wall with more than about 4 feet of exposed height normally needs an engineered design and a permit, not just a bigger version of the same DIY block system.

1. Decide exposed height first, and check whether this is a DIY wall at all

Measure the actual grade change the wall needs to hold — not the height that looks tidy, but the real difference between the grade on the high side and the grade on the low side where the wall will sit. Segmental block systems sold for homeowner installation are generally rated for a specific maximum exposed height, and once a wall's exposed height approaches roughly 4 feet, most jurisdictions require a stamped engineered design and a permit before you dig the first shovelful, because the soil pressure behind a wall increases sharply, not gradually, as height increases. A wall under that threshold still deserves a local code check before starting; a wall at or above it needs an engineer's sign-off, full stop, regardless of how confident the block manufacturer's installation guide sounds.

Run the retaining wall calculator with the exposed height you've settled on, along with your block's dimensions and how many courses will sit buried below grade — one full course below finished grade is the usual minimum for a segmental wall, more on a taller wall or on a slope that drops along the wall's run.

2. Dig to the depth the wall's own base and buried courses require

The retaining wall calculator's own numbers — buried course count times block height, plus base stone depth — set the floor of the excavation, not a rough guess at how deep a wall footing should look. Feed that same depth into the excavation spoil calculator along with the wall's length and a working width wide enough for the base trench plus the drainage stone zone behind the wall face, and check the swell factor for your actual soil — see soil swell and compaction for how much more loose volume clay produces than sand and gravel from the identical hole.

3. Base stone, then build up course by course with drainage stone behind

Compact a level base of crushed stone in the trench first — level along the wall's length even where the original grade above it isn't, since an unlevel base telegraphs into every course built on top of it. Run the gravel calculator for that base layer and separately for the drainage stone column that goes in behind the wall as each course goes up, since the two serve different jobs: base stone supports the wall's weight, while drainage stone exists so the wall never has to hold back a fully saturated slope — every drop that would otherwise sit trapped against the block finds its way down to the pipe at the base instead.

Run the french drain calculator for the perforated pipe that typically runs along the base of that drainage stone column, daylighting at a low point away from the wall — a retaining wall without a working drainage path behind it is holding back water pressure as much as soil pressure, and that's a load the wall's design didn't account for.

4. Backfill, cap, and finish grade

Backfill with the specified material in the zone immediately behind the wall (often the same crushed stone as the drainage column, not native soil, close to the wall face) and compact it in the same thin lifts the base stone needed, then cap the top course and finish grade so surface water sheds away from the wall rather than pooling and soaking straight down into the backfill zone.

Why one trench depth for the whole run is the wrong number at the downhill end

The retaining wall calculator's base-trench depth — buried courses times block height, plus base stone depth — describes one cross-section, not the whole wall, and it only matches the whole wall if the original grade the wall sits on is flat along its length. It rarely is. Take a 24-foot wall where the ground the base sits on drops about a foot over the last third of the run. To keep the base level — retaining wall footings are built dead level even when the grade above and below isn't — the buried portion at the downhill end has to grow by roughly two extra 6-inch courses to reach the same base elevation as the rest of the wall.

That means a trench depth of about 12 inches (one buried course plus 6 inches of base stone) along the uphill two-thirds of the run, stepping down to about 24 inches at the downhill third. Excavate and budget spoil removal off the 12-inch number because that's what the wall looks like measured from the front, and the downhill 8 feet alone adds close to a cubic yard of extra bank-measure digging beyond what the uniform-depth estimate accounted for — soil that has to come out from under a base course that's now two feet down, not one, and that the excavation calculator never saw because the trench depth entered into it was a single number for a wall that doesn't actually have one.

What goes wrong when the dig gets scoped off the front of the wall alone

Excavate the whole run to one trench depth because that's what the exposed wall face suggests, and the downhill end comes up short of base stone depth exactly where the wall needs it most — a base course founded on undisturbed but insufficiently deep native soil at that end is the beginning of an uneven settlement problem that shows up as a visible dip or lean in the wall months after backfill, not on install day when it would still be an easy fix.

The same reversal applies to the engineering check in step 1: starting excavation before confirming whether the wall's exposed height crosses the engineered-design threshold risks digging, pouring a base, and setting the first courses of a wall that then has to be redesigned or torn out because it was never reviewed against the actual soil pressure it would be holding back.

FAQ

Do I need a permit for a retaining wall under 4 feet of exposed height?

It depends on your jurisdiction — many places set the engineering threshold at 4 feet but still require a permit for any retaining wall regardless of height, especially near a property line or a structure, so a shorter wall shouldn't be assumed exempt without a call to whoever issues permits locally.

What happens if I skip the drainage stone and pipe behind the wall to save money?

Water builds up behind the wall with nowhere to go, adding hydrostatic pressure on top of the soil pressure the wall was already designed for — undrained water pressure is a leading reason a segmental wall bulges or leans within its first few wet seasons, and the fix at that point means tearing the wall back apart rather than a quick retrofit, since the drainage system is completely invisible once the job is finished.

How many courses of block should be buried below grade for a typical wall?

One full course is the common minimum for a shorter wall, but a taller wall, a wall on a slope, or a wall in an area with significant frost movement often needs more — this is one of the values worth confirming against your local code or a professional rather than defaulting to the bare minimum a manufacturer's guide lists as a starting point.

Can I build a retaining wall right up against my property line?

Most jurisdictions have a setback requirement for structures near a property line, and a retaining wall is generally treated as a structure for that purpose — confirm the actual line and any required setback before finalizing the wall's position, since moving a wall after it's built is far more disruptive than moving a fence.

Do I need geogrid reinforcement behind the wall, and how do I know if my wall needs it?

Geogrid — horizontal reinforcement layers extending back into the backfill — is commonly required once a wall passes a certain height or carries load behind it from a slope, a driveway, or a structure, and it's exactly the kind of detail an engineered design specifies for a taller wall rather than something to guess at on a DIY build.

Where to go next