Home › Concrete › Retaining Wall Calculator
Retaining Wall Calculator
IRC R404.4, both thresholds, quoted
Everybody knows a retaining wall over four feet needs an engineer. R404.4 has a second threshold at two feet, and it catches any wall holding back more than soil. A driveway behind the wall is enough.
Retaining wall takeoff
Block dimensions are yours, measured. The R404.4 thresholds are quoted from the 2018 Seattle Residential Code. Nothing on this page is a design, and above either threshold the code requires one.
Specification summary
Generated from on . Reopen that address to reproduce these figures exactly.
Entered
Result
Prices for masonry units and mortar
Worked example
- The wall is 30 inches tall in total, once the buried course is counted, and the buried course counts because R404.4 measures the fill being retained rather than the part you can see.
- With a lawn behind it, that wall is below both thresholds. Thirty inches is well under the 48 in unbalanced fill trigger and the 24 in trigger does not apply, because there is nothing but soil.
- Put a driveway behind the same wall and it becomes an engineered wall. Identical dimensions, identical blocks. The 24 in threshold catches it, because a driveway is a lateral load in addition to soil.
- The quantities do not change either way. Four courses, 27 blocks a course, 108 blocks, 114 with waste, plus a cap course. What changes is whether anyone is allowed to build it off a calculator.
- And the drainage is the biggest line here. Twelve inches of stone the full height of a 40 ft wall is 3.70 cubic yards, more than twice the levelling base, plus 40 ft of pipe and somewhere for it to come out.
The formula
- H + embed
- the total retained height, which includes the buried course
- h
- the block height, measured, because manufacturers differ
- 48
- R404.4's unbalanced fill threshold, for a wall not laterally supported at the top
- 24
- R404.4's other threshold, which most people have never read
What this page is not
Two thresholds, and the low one is the one nobody knows
Drainage is the failure mode, and it is most of the excavation
The setback is measured from the wrong end
Where R404.4 came from, and what it does not cover
Frequently asked questions
- When does a retaining wall need an engineer?
- Two triggers, and most people know only one. IRC R404.4 requires engineered design for a wall not laterally supported at the top retaining more than 48 inches of unbalanced fill, and separately for any wall over 24 inches that resists lateral loads in addition to soil. A driveway, a slope that keeps rising, a fence on top or a nearby footing all count as that second thing.
- Does the buried course count towards the height?
- Yes. R404.4 talks about the fill being retained, not the visible part of the wall, so a wall showing 24 inches with a 6 inch buried course is retaining 30. On a rule with a threshold that is the difference between two answers.
- What safety factor does the code require for a retaining wall?
- 1.5, against lateral sliding and against overturning, both stated explicitly in R404.4. The same section also requires stability against excessive foundation pressure and water uplift. Four checks in total, which is why an engineered retaining wall is a real piece of design work rather than a form.
- How many blocks for a retaining wall?
- Courses are the total retained height divided by the block height, rounded up, and blocks per course are the length divided by the block length. A 40 ft wall 30 in tall in 18 by 8 in blocks is 4 courses of 27, so 108 blocks plus a cap course. Measure your own block: segmental units are proprietary and sizes vary.
- How much drainage stone does a retaining wall need?
- More than most people budget. Twelve inches of stone the full height behind a 40 ft, 30 in wall is 3.70 cubic yards, which is more than twice the levelling base under it. It also needs a pipe at the bottom with a fall and an outlet to daylight, and the outlet is the part most often missing.
- What is block setback and why does it matter?
- The amount each course leans back into the slope, built into the block's shape. An inch per course over four courses is four inches at the top. It matters because it decides where the base course goes relative to the line you pegged out, and on a tight site it is the dimension that stops the wall fitting.
- Does this calculator design the wall?
- No, and above either R404.4 threshold nothing can. It gives you the quantities, which are useful to have before you talk to an engineer, and it tells you which side of the code's two thresholds your wall falls on. The design itself is four stability checks with a safety factor on each.
- What does a cinder block retaining wall cost?
- HomeAdvisor's cinder block wall guide gives a retaining wall at $60 to $200 per linear foot, so the 40 ft example is $2,400 to $8,000. It prices standard block at $1.25 to $4 each and labor at $10 to $17 per square foot of wall. Cinder block and cement block both mean a hollow concrete masonry unit laid in mortar, a different wall from the dry-stacked segmental blocks this page counts, and the R404.4 thresholds apply whichever you build.
- How much does a concrete block retaining wall cost?
- HomeAdvisor's June 2026 guide gives $60 to $200 per linear foot for a block retaining wall, and $1.25 to $4 per standard block.
Check these numbers yourself
- 2018 Seattle Residential Code, Chapter 4 FoundationsSeattle Department of Construction and Inspections. Read 2026-09-09. Source of Section R404.4, both thresholds, the 1.5 safety factor and the four stability checks, and of Table R401.4.1.
How every figure here is verified: Sources & Method. Who builds this: Lucas Pradella, and the method is on About. Found something wrong? Tell us and it gets fixed or removed.
Figures on this page last checked against the source documents on 2026-09-09. Codes are amended locally; confirm against the edition your jurisdiction enforces.
Related calculators
- Block Calculator CMU counts and mortar types
- Foundation Calculator the R403 footing tables
- Gravel Calculator base and drainage stone
- Mortar Calculator Volume from geometry
- Concrete Calculator if it is poured instead
- Brick Calculator the other masonry page
- Concrete Driveway Calculator The garage floor row of Table R402.2 is the honest benchmark
- Concrete Finish Calculator Published finish rates
- Concrete Footing Calculator Pier and column pads sized the way R403.1.1 sizes them
- Concrete Patio Calculator The only code figure that touches a patio is Table R402.2
This is a takeoff, not a design. Above either R404.4 threshold the code requires engineered design demonstrating stability against overturning, sliding, excessive foundation pressure and water uplift, each with a safety factor of 1.5, and no calculator does any of those. Block dimensions are yours because segmental units are proprietary. Lateral soil pressure is a different property from bearing capacity and is not on this page.