Free Construction Tool

Retaining Wall Calculator

Reviewed and updated: August 2026

Calculate blocks, gravel base, drainage stone, landscape fabric, and total cost for any retaining wall. Covers standard concrete block, natural stone, and timber walls.

Enter your wall dimensions, block type, and material prices to get a complete materials estimate. Always check local permit requirements before building; most jurisdictions require permits and engineering review for walls over 4 feet tall.

ft
Exposed height above grade
ft
Recommended: 1 row buried below grade
$
%
YOUR RESULTS
Blocks Needed
—
blocks
Wall Face Area
—
sq ft
Gravel Base
—
cu yards
Drainage Stone
—
cu yards
Landscape Fabric
—
sq ft
Block Cost
—
est.
⚠️ Retaining walls over 4 ft tall typically require a permit and engineering review. Always check local codes before building.

How to Calculate Retaining Wall Materials

Block count starts with the face area of the wall: length times exposed height. The face area divided by the face area of one block gives the number of blocks needed before waste. Adding a buried base row increases the effective height used for block count but not for the visible face area calculation.

Blocks needed = (wall length / block length) x (total rows including buried row)

For example, a 20-foot wall at 3 feet exposed height using standard 6-inch high by 12-inch long blocks:

Always add 10% waste for corner cuts, end pieces, and damaged blocks. For walls with corners or curves, increase waste to 15%.

Retaining Wall Block Types

Block type affects coverage per block, installation method, wall strength, and appearance. Choose the right system for your wall height and application before purchasing material.

Block TypeTypical SizeMax Height (DIY)Cost per BlockNotes
Standard retaining block6"H x 12"L x 8"D3 to 4 feet$3 to $6Most common; interlocking lip provides setback automatically
Large retaining block8"H x 18"L x 12"D4 to 5 feet$8 to $15Fewer blocks needed; heavier to install solo
Allan Block / similar6"H x 17.75"L3 to 4 feet$4 to $8Proprietary system with geogrid compatibility
Natural stone (dry stack)Varies2 to 3 feet$15 to $40 per sq ftNo mortar; requires skilled placement; excellent drainage
Natural stone (mortared)Varies4+ feet$20 to $60 per sq ft installedMore structural; requires professional installation above 3 feet
6x6 Pressure-treated timber6"H x 8"L3 to 4 feet$3 to $8 per LFDeadman anchors required; lifespan 15 to 25 years

Base Preparation and Footing

The base is the most critical part of any retaining wall. A poorly prepared base guarantees eventual failure: the wall will tip, slide, or settle unevenly regardless of how well the visible courses are laid.

Drainage: The Most Important Step

EXPOSED HEIGHT BURIED BASE ROW GRAVEL BASE DRAINAGE STONE PERFORATED PIPE LANDSCAPE FABRIC GEOGRID NATIVE BACKFILL BATTER (LEANS BACK)
Retaining wall cross-section: buried base row, gravel base, drainage stone, perforated pipe, landscape fabric, native backfill, and geogrid.

Inadequate drainage is the leading cause of retaining wall failure: more walls fail from water pressure than from structural problems with the blocks themselves. Water-saturated soil weighs significantly more than dry soil and generates substantial lateral pressure against the back of the wall.

The correct drainage installation sequence is:

For drainage stone quantity estimates, use our gravel calculator. For more on gravel estimation, see our gravel guide.

Geogrid Reinforcement for Taller Walls

Standard concrete retaining blocks are designed to rely on their own weight and interlocking geometry to resist soil pressure. For walls taller than 3 to 4 feet, that geometry alone is not sufficient; the wall needs geogrid reinforcement buried in the backfill to prevent overturning and sliding.

Geogrid is a plastic mesh that is sandwiched between block courses and extends horizontally back into the compacted backfill. The backfill grips the geogrid and transfers the soil pressure into the mass of soil behind the wall rather than letting it push entirely on the face.

Height Limits and Permits

Most municipalities allow retaining walls up to 3 to 4 feet tall without a building permit. Above that threshold, a permit is typically required and the wall design must be reviewed and stamped by a licensed structural or geotechnical engineer. Some jurisdictions set the limit at 3 feet; others allow up to 4 feet without a permit. Check with your local building department before starting any wall over 3 feet tall.

Even for walls under the permit threshold, engineering principles still apply. A wall that fails, whether permitted or not, can cause property damage, personal injury, and legal liability. For any wall holding significant soil above adjacent property, a walkway, or a structure, investing in engineering review is worthwhile regardless of permit requirements.

Surcharge loads (driveways, parking areas, buildings) within a horizontal distance equal to the wall height behind the wall significantly increase the lateral pressure the wall must resist. Walls subject to surcharge loads must be designed accordingly and almost always require engineering review.

Retaining Wall Batter (Setback)

Batter is the intentional backward lean of a retaining wall: each course is set back slightly from the course below, so the face of the wall tilts toward the soil it is retaining. Batter improves stability by shifting the wall's center of gravity toward the retained soil side and reduces the effective overturning force.

Most standard retaining block systems have a built-in setback of 1/2 to 1 inch per course, achieved automatically by the interlocking pin or lip geometry of the block. For standard 6-inch high blocks, a 3/4-inch setback per course equals roughly 1.5 inches of setback per foot of wall height, close to the commonly cited 1 inch per foot guideline.

Natural stone and timber walls require the batter to be established manually during construction. A batter board or level with a batter gauge helps maintain a consistent lean throughout the build.

Common Retaining Wall Mistakes

Planning Retaining Wall Costs

Material costs for a standard concrete block retaining wall typically run $10 to $20 per square foot of wall face, including blocks, gravel base, drainage stone, pipe, and landscape fabric. Professional installation adds $20 to $50 per square foot in labor, bringing total installed costs to $30 to $70 per square foot for most residential walls. Natural stone walls cost significantly more, $50 to $150 per square foot installed depending on stone type and complexity.

For drainage stone and gravel base quantities, use our gravel calculator. For total project budgeting, see our project cost estimation guide.

Frequently Asked Questions
How many retaining wall blocks do I need? ▾
Calculate the face area of the wall (length x height), then divide by the face area of one block. For a standard 6-inch high by 12-inch long block (0.5 sq ft face area): a 20-foot by 3-foot wall equals 60 sq ft / 0.5 sq ft = 120 blocks for the exposed courses, plus one buried base row of 20 blocks = 140 blocks total. Add 10% waste = 154 blocks to order. This calculator performs that math automatically for each block type.
Do I need drainage behind a retaining wall? ▾
Yes, drainage is essential for any retaining wall over 2 feet tall and strongly recommended even for shorter walls. Without drainage, water saturates the soil behind the wall and creates hydrostatic pressure that can topple even well-built structures. The correct system includes a 4-inch perforated drain pipe at the base of the wall, surrounded by 12 inches of clean 3/4-inch crushed stone for the full wall height, with landscape fabric separating the stone from native soil backfill. The drain pipe must have an outlet at one or both ends so water can escape.
How deep should a retaining wall base be? ▾
The buried base course should be at least 1 inch deep per foot of wall height, so a 3-foot wall needs a minimum of 3 inches buried. In practice, burying one full block height (6 to 8 inches) below grade is the standard for residential walls. The base must sit on 6 inches of compacted gravel, not directly on native soil. In freeze-thaw climates, the bottom of the gravel base should extend below the local frost depth to prevent frost heaving from lifting and tilting the wall over time.
When does a retaining wall need geogrid reinforcement? ▾
Most block manufacturers require geogrid reinforcement for walls taller than 3 to 4 feet. Geogrid is a plastic mesh laid horizontally between block courses and extended back into the compacted backfill, typically every 2 to 4 courses and extending at least 60 percent of the wall height behind the wall face. Without geogrid, the blocks alone cannot resist the overturning forces on taller walls. If a driveway, building, or other heavy load is located close behind the wall, geogrid is required at lower wall heights as well. Always consult the block manufacturer's engineering guidelines for the specific system you are using.
What is the difference between a retaining wall and a garden wall? ▾
A retaining wall is a structural element that holds back a mass of soil: it bears lateral earth pressure and must be engineered accordingly, with a buried base, drainage system, and in many cases geogrid reinforcement. A garden wall (also called a free-standing wall) stands on both sides without retaining soil: it carries only its own weight and any wind or incidental loads. Garden walls can be built lighter, with shallower footings and no drainage requirements. The critical distinction is whether the wall is holding soil on one side; if it is, it is a retaining wall and must be treated as a structural element.