HyreYard

HyreYard tools

Retaining wall, as face area you can audit

Length times exposed height is the face. You type the installed $/sq ft from a bid. Drainage and geogrid are their own line because they are why walls fail, and they are not inside a pretty block price. HyreYard does not build walls.

Face x your $/sf plus a drainage line you type A 40 ft wall, 3 ft exposed, at $45 per sq ft of face plus $500 drainage is $5,900. That is arithmetic on figures you supplied. Height is a conversation with the building department, not a law this page can pass.

On a worked example of 40 ft long by 3 ft exposed at a quoted $45 per sq ft of face, plus a $500 drainage and geogrid line, the face is 120 sq ft and the total is $5,900. Raise the exposed height to 4.5 ft on the same length, at the same rate, with $800 on the drainage line, and the face is 180 sq ft and the total is $8,900, with a note that many jurisdictions want an engineered wall and a permit at that height. That note is a flag, not a stamp. Ask before you stack. This is an estimate you typed, never a quote. HyreYard does not build walls.

Length, exposed height, your face rate

The rate is yours. Drainage is a line, not a hope. Nothing is emailed.

Along the face you can see, not the hillside behind it.

What you see. Permit height is often measured from the bottom of the footing. Ask.

0 until you have a real number. We will not invent one.

Pipe, gravel, fabric, geogrid, excavation, haul. Or 0 until they are priced.

— Face area
— Estimate (your figures)
— Permit / engineering note

What this assumed —

Face area times a rate you typed, plus a drainage line. Not a stamp. HyreYard does not build walls.

Start here

A retaining wall is a drainage structure

A retaining wall looks like masonry, is sold like masonry, and is priced by the square foot of face like masonry. It fails like a dam. Nearly every leaning, bulging or collapsed garden wall failed because water got behind it and had nowhere to go.

Soil pushes. Wet soil pushes much harder. Dry soil behind a wall exerts a lateral pressure the wall was designed for. Saturate that soil and you add the pressure of the water itself, acting over the full retained height. That additional load is not a small increment on the design case — it is frequently a large multiple of it, and it arrives suddenly during the storm rather than gradually over years.

So the drainage is the wall. Free-draining backfill immediately behind the blocks, a perforated pipe at the base, a geotextile keeping the fine soil out of the stone, and — the part everybody forgets — an outlet, at a lower elevation, that daylights somewhere the water is allowed to go. A drain with no outlet is a tank.

Every one of those items is invisible in the finished wall. Which means it is the easiest place in the whole project to win a bid by leaving things out, and the homeowner has no way to tell for three to five years. This is exactly the same structure of problem as the paver base, and it has the same solution: get the specification into the quote in writing.

The second failure mode is the soil itself. On a shrink-swell clay, the ground behind the wall changes volume with the seasons. Our own soil research records the relevant class limits: NRCS classifies linear extensibility of ≥ 9.0 as "Very High", which is theoretical unconfined movement of about 1.08 inches per foot of soil or more. On named series such as Fine soils, recorded values reach 17. A wall on that ground is being cycled, not merely loaded.

And the third is that the wall is doing more work than anyone told it. Anything above and behind the wall — a driveway, a parked car, a shed, a slope continuing upward, a second wall — is a surcharge, and it changes the design case entirely. A wall built to hold a garden bed and later asked to hold a parking space is being asked a different question.

The "four foot law" is not a law, and mostly is not four feet

Ask anyone about retaining wall permits and you will be told the rule is four feet. That number comes from a model code, and a model code is only what a jurisdiction adopts. Our own dataset is a direct test of how well the folklore survives contact with actual departments.

Published permit-exemption height against the model code’s four feet● model code, 4 ft   ● published height0.01.32.63.95.2California Building Code 2025California Residential Code R105.2North Carolina Residential Code 2024PhoenixLos AngelesSan DiegoSan Diego CountyMenlo ParkSeattlePierce CountySource facts: each jurisdiction’s own code, bulletin or department page, retrieved 5 September 2026. The measuringpoint differs between rows and is recorded in the research study — two identical numbers here can describe differentwalls.
The heights differ, and the definition of the height differs too. Both problems have to be solved by reading your own jurisdiction, and neither is solved by a national article.

What we read. 23 rows — 4 model codes and 19 state or municipal sources — opened at the code, information bulletin or department page on 5 September 2026. This is not a national table. There is no national retaining-wall height law, and any page presenting one has invented it.

Of those, 9 publish a headline permit height that is not four feet, or publish none at all. 5 are stricter than the model — three feet appears repeatedly. Building to "four feet is fine everywhere" in a three-foot city means an unpermitted structure that shows up at resale.

Worse, 12 of them measure from a different point. The model measures from the bottom of the footing to the top of the wall. Jurisdictions in our set variously measure from the top of the footing, from exposed grade at the face, from the height of unbalanced backfill, or from the lowest finished grade including the caps. Two departments can both say "four feet" and mean walls of materially different size.

17 of the 23 rows depart materially from the model in some way — stricter, looser, a different measuring point, an extra trigger, or simply not stated. That is the finding. The four-foot rule of thumb is not a useful default; it is a coin flip dressed as a fact.

And the surcharge clause removes the exemption at any height. Under the model provision, a wall supporting a surcharge — anything loading the soil above and behind it — is not exempt regardless of how short it is. A two-foot wall holding up the edge of a driveway is frequently a permitted structure while an identical wall holding a flower bed is not.

The four things that vary, and what to ask your department

A five-minute phone call to your building department answers all four. The last column is what you actually say.

What variesWhat we foundThe question to ask
The exemption height9 of 23 verified rows publish something other than four feet, or publish nothing. 5 are stricter."Above what height does a retaining wall need a permit here?"
Where the height is measured from12 of the non-model rows measure from somewhere other than the model’s bottom-of-footing."Measured from where — bottom of footing, top of footing, or grade at the face?"
The surcharge triggerUnder the model provision, any surcharge removes the exemption at any height. Several jurisdictions add their own triggers on top."There is a driveway / slope / shed above it. Does that change the answer?"
When an engineer is requiredThe model requires engineering design for walls retaining more than 48 in of unbalanced fill, and for walls over 24 in resisting lateral loads in addition to soil. One state code in our set sets the engineering trigger at 5 ft of unbalanced backfill instead."At what point do you require a stamped design, and do you require it separately from the permit?"
Whether a guard is required on topThe model requires guards along open-sided walking surfaces more than 30 in above the grade below — and a fence or guard on a wall is an additional lateral load, which can itself trigger engineering."If I put a fence on top, does that change the wall’s classification?"

These are model-code figures and verified jurisdiction figures. Adoption and amendment are entirely local, and this table is a list of questions rather than a statement of the law where you live.

What is behind the wall matters more than what the wall is made of

Homeowners choose the block. The block is very nearly the least consequential decision in the project.

NRCS linear extensibility classes0Low (LEP < 3.0)1.5Moderate (LEP 3.0–5.9)4.5High (LEP 6.0–8.9)7.5Very High (LEP ≥ 9.0)12.0Source fact: NSSH Part 618 class limits, as recorded in HyreYard’s own expansive-soils research. Bars show theclass midpoint; the Very High class is open-ended and is drawn at an arbitrary point above its 9.0 threshold.
The classes are not evenly spaced in consequence. A Very High soil is not "a bit worse" than a Moderate one; it is a different design problem.

Find out what your soil is, free. USDA NRCS Web Soil Survey returns the mapped soil at your address, its drainage class and its hydrologic soil group in about five minutes with no account. It is the cheapest useful thing available before buying any hardscape. A parcel-level lookup of the mapped soil, its drainage class, its hydrologic soil group and its shrink-swell potential. It is free, it takes about five minutes, and it is the cheapest useful thing a homeowner can do before buying hardscape. It is a survey map, not a site investigation of your lot.

Two properties matter here. Drainage class tells you how readily water leaves — which is the load case above. Shrink-swell potential tells you whether the ground itself changes volume seasonally, which is the load case nobody designs for on a garden wall.

The NRCS classes are specific. Linear extensibility below 3.0 is classed "Low"; ≥ 9.0 is "Very High". Our own soil research computes the theoretical unconfined movement those imply — roughly 0.36 to 0.71 inches per foot at the Moderate class, and 1.08 inches per foot and up at Very High. Field heave is smaller, because the soil is confined and never oven-dry — that qualification is ours and it belongs on the number.

Free-draining backfill is not the same as "the dirt that came out". Backfilling a wall with the excavated clay puts the problem material directly against the structure. The specification that works is open-graded stone, wrapped in geotextile so the surrounding fines cannot migrate into it and clog the voids, over a pipe that goes somewhere.

And geogrid is a structural element, not an upgrade. On taller segmental walls, layers of geogrid extend back into the retained soil and turn a stack of blocks into a reinforced soil mass that is far heavier and far more stable than the blocks alone. Where the design calls for it, omitting it is not a saving — it is a different and much weaker structure with the same face.

The order a wall goes in

The parts you can see are the last two steps. Everything that determines whether it stands up happens before them.

  1. 1
    Call 811 before you dig

    Free, legally protected in every state, takes a few working days. A wall excavation is deep and linear, which is the shape most likely to find a service.

  2. 2
    Establish the height, the measuring point, and the surcharge

    Then call your building department with those three facts. 17 of the 23 rows in our own dataset depart from the model in some way, so the folklore answer is not usable.

  3. 3
    Find out what the soil is

    Web Soil Survey gives you drainage class and shrink-swell potential free. Both change the design. Neither is visible from the surface.

  4. 4
    Get the design settled before the price

    Whether an engineer is required, whether geogrid is in the design and at what spacing, and what the drainage detail is. These decide the price; agreeing a price first and the design later is backwards.

  5. 5
    Excavate and compact the base trench

    A level, compacted base course of aggregate below finished grade, deeper than most homeowners expect. The first course being buried is what stops the wall walking forward at the toe.

  6. 6
    Build, backfilling with free-draining stone as you go

    Open-graded stone directly behind the blocks, geotextile separating it from the retained soil, and the drain pipe laid at the base with fall toward its outlet. Backfill and compact in lifts alongside the courses, not all at the end.

  7. 7
    Finish the top, and manage the water arriving from above

    Caps, and a grade behind the wall that sends surface water somewhere other than into the backfill. A wall with perfect internal drainage and a lawn sloping into it is still being asked to handle the whole catchment.

What a good retaining wall quote says

The highest-value section on this page. These are the lines that make two bids comparable, and every one of them is invisible in the finished wall.

  • The drainage detail, in full

    Free-draining stone behind the wall, its width, the geotextile, the perforated pipe, and — critically — where the pipe outlets to. A drain with no stated outlet is a tank, and "it will drain away" is not a destination.

  • Whether geogrid is in the design, and at what spacing

    On a taller segmental wall this is the structure. If it is in the design it must be in the quote with its spacing and embedment length. If it is not in the design, ask why not.

  • The base course: depth below grade and its aggregate

    How deep the first course is buried and what it sits on. Building the first course at grade is fast, cheap and the reason walls walk forward at the toe.

  • The permit position, in writing

    Who establishes whether one is needed, who applies, who pays. 5 jurisdictions in our verified set are stricter than the four-foot model figure, so this is not a formality.

  • Whether an engineered design is included or excluded

    The model requires design for walls retaining more than 48 in of unbalanced fill, and for shorter walls carrying additional lateral loads. If the wall is near either trigger, establish who is paying for the stamp before signing.

  • A price per square foot of face and nothing else

    The face is the part you can see and the cheapest part of the assembly. A face rate with no drainage, no geogrid and no base specification behind it is a price for the appearance of a wall.

  • Backfilling with the excavated soil

    It puts the material with the lowest permeability and the highest shrink-swell directly against the structure, which is the load case the wall is least able to handle. If the quote does not name imported free-draining backfill, assume this is what is happening.

Reading an existing wall

If you already have a wall, these are the four things worth looking at, and what each one is telling you.

Share of verified jurisdictions departing from the model rule17 of 23 verified rows depart from the model provision — stricter, looser, a different measuring point, an extra trigger, or not stated. Retrieved 5 September 2026.
The four-foot rule of thumb is repeated everywhere and survives contact with actual departments badly. Ask yours.

Leaning outward at the top

Rotation about the toe. The wall is being pushed and the base is holding while the top is not. Usually a drainage problem, sometimes a surcharge that was added after the wall was built.

Measure it. A plumb line and a dated photograph, repeated in six months and after a wet season, tells you whether it is moving or has moved. That distinction is the entire question and one observation cannot answer it.

Bulging in the middle of a run

A local failure rather than a global one, often where a blocked or absent drain has let one area saturate, or where the geogrid was omitted in one section.

This is more concerning than an even lean, because it indicates the wall is not behaving as a single structure. It is worth an engineer rather than a builder.

Water staining, efflorescence, or a wet face after rain

Water is passing through the wall rather than around it, which means the drainage behind it is not working — either it was never built, or it has clogged because there was no geotextile.

A wet face is not itself the problem. It is the visible symptom of the pressure that is the problem, and it is the earliest warning available.

The outlet, and whether anything comes out of it

Find the end of the drain. If you cannot find it, there may not be one. If you can, look at it during heavy rain — a working wall drain discharges visibly.

A drain that has never run in a wet season is either not connected to anything or is blocked, and both mean the wall is currently carrying the water load it was designed to avoid.

The vocabulary of a wall quote

Unbalanced backfill
The difference in soil height between the two sides of the wall — what the wall is actually retaining. The measurement the model code uses for its engineering trigger, and not the same as the visible face height.
Surcharge
Any load on the soil above and behind the wall: a driveway, a vehicle, a structure, a slope continuing upward, a second wall. Under the model provision it removes the permit exemption at any height.
Exposed face height
What you can see. Usually less than the retained height and always less than bottom-of-footing to top-of-wall. Which of these your jurisdiction measures is the question to ask.
Geogrid
Polymer reinforcement laid in horizontal layers extending back into the retained soil, turning a stack of units into a reinforced soil mass. Where the design calls for it, it is the structure — not an optional upgrade.
Free-draining backfill
Open-graded stone immediately behind the wall whose voids stay open so water can reach the drain. Not the excavated soil, and not a dense-graded base product.
Geotextile
Fabric separating the free-draining stone from the surrounding soil so fines cannot migrate in and clog the voids. Its absence is why drains that were built stop working.
Toe and heel
The front and back of the wall’s base. Rotation about the toe is what a leaning wall is doing; embedment of the base course below grade is what resists it.
Embedment
How deep the bottom course is buried below finished grade at the front. Building at grade is quicker and is a common reason walls move forward at the base.
Linear extensibility (LEP)
The NRCS measure of how much a soil changes length between moist and dry. Under 3.0 is classed Low; 9.0 and above is Very High. It is a laboratory measure on an unconfined sample, so field movement is smaller.
Daylight
Where the drain pipe reaches the surface and discharges. If nobody can point at it, the drainage system is not finished.

What this tool cannot do

The retaining wall calculator multiplies a face area by a rate you were quoted and adds lines you typed. Everything structural is outside it, and deliberately so.

It is not a structural design and must not be used as one. A retaining wall holds back soil, and soil is heavy and unforgiving. Where an engineered design is required, a square-foot estimate is not a substitute for it and never becomes one.

It does not know your permit rule. We publish what we read in 23 sources and we publish what was not stated as not stated. Adoption and amendment are local, and your department is the answer for your address.

It does not know your soil. Drainage class and shrink-swell potential both change the design, both are free to look up, and neither is in this form.

It does not price drainage or geogrid for you. Those are separate inputs precisely because they are the lines most often omitted from a bid, and putting them inside a face rate would hide the exact thing this page exists to expose.

And we do not build walls. HyreYard performs no hardscaping work, holds no dataset of wall prices or bids, ranks no contractors and takes no referral fee — which is why this page can conclude that the cheapest bid is usually the one with no drainage in it. Figures verified 5 September 2026.

How this calculator works

The calculator multiplies the rectangle you type, then adds the drainage line:

face   = length (ft) x exposed height (ft)
total  = face x your $/sq ft of face  +  drainage/geogrid $

If length or height is 0, there is no face to price. If the rate is 0, the face still prints and the total asks for a quoted $/sq ft. That is the honest default. A national block price would hide soil, access, drainage and the footing.

At 4 ft of the height you typed and above, the engine adds a sentence that many jurisdictions want an engineered wall and a permit. That sentence is a flag. It is not a determination. The IRC, where adopted, measures some permit triggers from the bottom of the footing to the top of the wall, and it treats a surcharge as its own reason to require a permit even on a shorter wall. Your city may have amended the model. Ask the building department. Do not treat 3 ft 11 in of exposed face as a loophole.

HyreYard does not build walls, does not stamp drawings, and does not issue permits.

What each input means

Inputs on this tool, in the order they appear on the form.
InputWhat it is actually asking
Length The run of wall, in feet, along the face. Curves still have a length. Measure the face, not the hillside you wish you were holding.
Exposed height The height you can see. Permit and engineering height is often a different number: bottom of footing to top of wall, plus any unbalanced fill. Type the exposed figure you were quoted; take the footing figure to the counter.
Installed rate Dollars per square foot of face from a written bid on this system, in this soil. 0 is the honest default. A blog "average retaining wall cost" is not a rate.
Drainage / geogrid / extras The line that is not the block. Free-draining fill, pipe with an outfall, fabric, geogrid length, excavation, haul-away, maybe a fence on top. Type the bid line or leave $0 visible.

Worked examples

Including one where the naive answer misleads, which is the example most calculators leave out.

A 40 ft garden wall at a real face rate

Length 40, exposed height 3, rate $45/sf of face (from a bid, not from this page), drainage line $500. Face 120 sq ft. Total $5,900. The engine notes that shorter walls still need drainage; height is not the only failure mode. Replace $45 with the number on your proposal and the face still multiplies. That is the default arithmetic this engine is tested against.

Same length, taller, and now the flag fires

Length 40, exposed height 4.5, same $45/sf, drainage $800. Face 180 sq ft. Total $8,900. The note now says that at 4.5 ft many jurisdictions want an engineered wall and a permit, and that this is local. That is not a yes and it is not a no. It is the reason to call the building department before you order block. A driveway on the high side would be a surcharge even if you had typed 3 ft.

The one where a 4-ft "law" misleads

A homeowner measures 3 ft 6 in of exposed face, reads "walls under 4 ft do not need a permit," and stacks. The IRC language, where it applies, measures from the bottom of the footing, not from the lawn. An 8-inch footing already puts that wall over 4 ft in the model. A parking pad on the high side is a surcharge, which is its own reason to require a permit. This page will not tell you that 3 ft 11 in is legal. Type the face for money. Ask the jurisdiction about the stamp.

What changes the result

Length and height move the face in a straight line. The rate moves the money in a straight line. Drainage does not scale smoothly with face: a 20 ft wall and a 60 ft wall can share a similar outfall problem, or the long wall can need more pipe and more geogrid. That is why drainage is a lump you type, not a percentage we invented.

Raising height is not just more block. Taller walls see more soil pressure. Gravity walls run out of mass. Reinforced walls need geogrid length that is often a large fraction of the wall height. A rate copied from a 2 ft edging will not price a 5 ft structure.

Soil, water and what sits on the high side change the design more than the colour of the cap. NRCS Web Soil Survey is a start for the lot. It is not a wall calculation.

Local considerations

Permit height, engineering thresholds, frost, drainage outfall and fence-on-wall rules are local. The IRC is a model. Cities adopt an edition, amend it, and sometimes measure height differently from the model. Neighbouring towns in the same metro can disagree. Confirm the current rule for this parcel before you treat the engineering note as settled.

A state labour index or a "US average retaining wall cost" without a sourced series would be a fake localiser. We do not ship one. Your building department and the bids you collect are the local data.

When not to use this

Do not use this as a quote, a permit application, or a structural design. It cannot see soil, a surcharge, utilities in the bank, frost, or a slope that is actually a landslide waiting on a wet year.

Do not use it to decide whether you may build. That is the building official, and on taller or surcharged walls an engineer licensed in that state. The 4-ft flag is a prompt to ask, not an answer.

Do not use a $/sf you found in a roundup of "average retaining wall cost." If you cannot name who priced it, on what system, in which city, leave the rate at 0.

HyreYard does not perform wall work. Matching is still being built. The enquiry form is not a dispatch line.

Related on this site

Questions this calculator answers

How much does a retaining wall cost?
Whatever face area times the installed $/sq ft on your bid, plus drainage, geogrid, excavation, disposal and any engineering, in your soil, on your lot. We do not publish a national average because a 3 ft garden wall on a flat bed and a 5 ft wall holding a driveway are different structures. Type the rate from a written proposal. Leave it at 0 until you have one.
Do I need a permit for a retaining wall?
Often, and the trigger is local. The 2024 International Residential Code, where adopted, lists some walls as permit-exempt if they are not over 4 ft measured from the bottom of the footing to the top of the wall, and if they are not supporting a surcharge. That is model language, not a national law, and it is not the same as the exposed face you see from the lawn. A driveway, a slope, or a footing you have not counted can put you over. Call the building department with the height, the grade above and below, and what sits on the high side.
Is 4 feet the legal limit in the United States?
No. There is no national 4-ft retaining-wall law. Many jurisdictions that adopted the IRC treat 4 ft, measured from the bottom of the footing, as a permit and engineering conversation. Others amend the number, measure exposed height, or require a stamp sooner when the wall holds a surcharge. This tool flags at 4 ft of the height you typed because that is a common local trigger. It does not certify that a 3 ft 11 in wall is exempt.
What is a surcharge?
Extra load above the wall: a driveway, a parking pad, a structure, or a slope that pushes on the retained soil. Model IRC permit language carves out walls that support a surcharge even when they are under 4 ft. If anything heavy sits on the high side, say so at the permit desk. Do not hide it from the person designing the wall.
Why is drainage a separate line?
Because water behind a wall is a common reason walls lean, bulge and fail. Industry practice for segmental retaining walls puts free-draining gravel behind the units, often with a drain pipe that actually outfalls somewhere. A face rate that only prices the block does not buy that work. Type a drainage and geogrid number from the bid, or leave it visible at $0 until someone prices it.
Does this include the footing, excavation and haul-away?
Only if the $/sq ft you typed already includes them, or if you put them in the drainage line. Ask the bidder. Face area is a convenient multiplier. It is a poor place to hide a dumpster.
Gravity wall or reinforced wall?
Short walls can sometimes stand on their own mass. Taller walls, poor soil and surcharges usually need geogrid or another reinforcement into the retained soil. That is a design choice this page cannot see. CMHA (the successor to NCMA) publishes practice on segmental walls; it is not a substitute for an engineer on your lot.
Timber, block or poured concrete?
Material changes the rate you type. It does not change the geometry. Timber that contacts soil has a service life. Segmental block still needs a base and drainage. Poured walls are a different trade. Type the rate for the system you were actually quoted.
Can I DIY a wall from a product page?
A two-course edging is not a retaining wall. Once you are holding soil, the failure modes are sliding, overturning, bearing and water. Manufacturer charts assume a soil and a drainage detail. If you cannot name both, you are not reading a design. HyreYard does not build walls and will not walk you through stacking one from a browser.
Is this a quote?
No. It cannot see soil, frost, a surcharge, utilities in the bank, or what the building official will require. Use it to check whether a bid priced face area and named drainage. Minus something to plus a lot, lopsided because unseen conditions add money.
Does HyreYard build retaining walls?
No. HyreYard is an information and matching layer. Matching is still being built. The enquiry form is not a dispatch line.

Sources and methodology

Figures dated 26 August 2026. Last reviewed .

  • 2024 IRC R105.2, work exempt from permit (retaining walls) (International Code Council, retrieved 2026-08-26. Model code, locally adopted and often amended. The 4-ft figure is measured from the bottom of the footing to the top of the wall, and it does not apply to walls supporting a surcharge. Not a national law.)
  • IRC R404.4 retaining walls (engineering practice) (International Code Council, retrieved 2026-08-26. Walls retaining more than 48 in of unbalanced fill, or more than 24 in that resist additional lateral loads, are to be designed in accordance with accepted engineering practice where this section is adopted. Confirm the edition your city uses.)
  • Guide to segmental retaining walls (Concrete Masonry and Hardscapes Association (CMHA / former NCMA), retrieved 2026-08-26. Cited for drainage fill behind the facing and for geogrid as a designed component, not as a thickness table copied here.)
  • Hiring a contractor (Federal Trade Commission, retrieved 2026-08-26. Get itemised estimates in writing. Allowances are placeholders.)
  • Web Soil Survey (USDA Natural Resources Conservation Service, retrieved 2026-08-26. Soil at the lot, not a national wall price. Bearing and drainage start here.)

Related

Find a Landscaping Company Back to the homepage