Calculator Hero

Retaining Wall Calculator

Estimates blocks, courses, and total cost for any landscape retaining wall project.

Last updated: June 11, 2026

1

Wall Dimensions

How to measure

LengthHeight

Walls over 3–4 ft may require a permit

Enter wall dimensions above to calculate wall area
2

Block Size

Standard landscape block: 12 in

Standard landscape block: 6 in

%

Typically 5–10% for cuts and breakage

Enter wall dimensions to calculate blocks needed
3

Cap Blocks (optional)

4

Price per Block (optional)

$/block

Typical: $2–$6 per standard landscape block

Enter a price above to estimate cost

Common Block Sizes

  • Standard landscape12×6 in (face)
  • Large format18×6 in
  • Step block18×7 in
  • Cap block12×3 in

Block Formula

blocks = CEIL(Wall Area ÷ Block Face Area × 1.05)

Wall area = L × H. Block face area = Block L × Block H. 1.05 = 5% waste factor.

Wall Height Guide

  • Under 3 ftDIY — no permit
  • 3–4 ftMay need permit
  • 4+ ftEngineer required

Rules vary by jurisdiction — always verify locally.

What Is a Retaining Wall?

This retaining wall calculator estimates block count, base material, and cost for any landscape retaining wall. A retaining wall is a structure built to hold back soil, prevent erosion, and create level usable areas on sloped terrain. Unlike a garden border or decorative edging, a retaining wall must resist the lateral pressure of the soil behind it — called earth pressure or hydrostatic pressure if water is present. Improperly designed or built retaining walls fail by overturning, sliding, or bearing capacity failure, often damaging property and requiring expensive repair.

Common retaining wall types and their typical applications:

  • Interlocking concrete landscape block — the most common DIY option; Allan Block, Versa-Lok, Anchor Wall, and similar products; segmental retaining wall (SRW) systems designed for walls up to 3–4 ft without geogrid reinforcement; blocks weigh 30–80 lbs each; typical cost $10–$20/sq ft of wall face for DIY
  • Poured concrete or CMU block — engineered walls requiring permits at most heights; excellent for tall walls (4–10 ft); poured concrete provides the highest strength; see the concrete wall calculator for these estimates
  • Natural stone (dry-stacked or mortared) — beautiful aesthetic; dry-stacked stone walls rely on gravity and friction rather than mortar; best for walls under 3 ft in non-critical locations; costs $25–$50/sq ft installed
  • Timber (railroad ties / landscape timbers) — economical; easier to build than masonry; shorter lifespan (10–15 years) as wood deteriorates; treated timbers extend life but are less environmentally preferred
  • Gabion baskets — wire mesh baskets filled with rock; excellent drainage and a highly natural look; increasingly popular for large, low walls and erosion control applications

Height is the most critical factor in retaining wall design. The soil pressure a wall must resist increases with the square of the wall height — doubling the height quadruples the lateral force. Most building departments use these thresholds:

  • Under 3 ft (36 in) — typically no permit required in most US jurisdictions; DIY with proper base and drainage
  • 3–4 ft (36–48 in) — permit required in many areas; may require engineered design if surcharge (driveway, structure) is within 6 ft of the wall
  • Over 4 ft (48 in) — nearly always requires an engineered design and building permit; geogrid reinforcement typically required at multiple elevations through the wall

How to Use This Retaining Wall Calculator

This retaining wall calculator estimates the number of blocks, courses (rows), and total material cost for any landscape retaining wall. Enter the wall length and height, then set the block dimensions — the calculator defaults to standard 12×6 inch landscape blocks. Adjust the waste percentage (typically 5–10% for cuts at ends and corners) and add a price per block for a cost estimate.

How to Calculate Retaining Wall Blocks

The retaining wall block formula is straightforward:

Blocks = CEIL((Wall Length × Wall Height) ÷ (Block Length × Block Height) × 1.05)

All dimensions must be in the same unit (feet). The 1.05 factor adds the standard 5% waste allowance for cuts and breakage. Round up to the nearest whole block.

Step-by-Step Example

  1. Wall: 20 ft long × 3 ft high
  2. Block size: 12 in × 6 in = 1.0 ft × 0.5 ft = 0.5 ft² face area
  3. Wall face area: 20 × 3 = 60 ft²
  4. Exact blocks: 60 ÷ 0.5 = 120 blocks
  5. With 5% waste: CEIL(120 × 1.05) = 126 blocks
  6. At $3.50/block: $441 in materials
AdvertisementResponsive Ad

Retaining Wall Block Cost Guide

Material costs for retaining wall blocks vary by type, size, and region:

  • Standard landscape block (12×6 in): $2–$4 each at big-box stores
  • Large format block (18×6 in): $4–$7 each
  • Natural stone / flagstone: $0.50–$2.50 per pound (varies widely)
  • Poured concrete or CMU wall: See our concrete block calculator for block wall estimates
  • Installed cost (professional): $25–$75/sq ft of wall face for landscape block; higher for engineered walls

Retaining Wall Height, Drainage, and Permits

Height determines both the structural requirements and whether a permit is needed:

  • Under 3 feet — Straightforward DIY project. Stack blocks in running bond with proper base preparation and drainage.
  • 3–4 feet — Check local codes. Some municipalities require a permit at this height, especially with surcharge loading (driveways, structures) near the wall.
  • Over 4 feet — Typically requires an engineered design and building permit in most jurisdictions. Geogrid reinforcement may also be required at regular intervals through the wall.

Always install drainage. Use our gravel calculator to estimate the drainage gravel needed behind the wall — plan for at least 12 inches of compacted gravel between the wall and the native soil.

Retaining Wall vs. Garden Edging

Not every sloped yard needs a full retaining wall. Garden edging (4–8 inch bricks or plastic borders) works well for minor grade changes under 6 inches. A single-course landscape block border handles 6–12 inch grade changes. A true retaining wall — multiple courses of interlocking blocks — is needed when the grade change exceeds 12 inches or when you need to hold back significant soil pressure. For grade changes under 6 inches that simply need to be leveled, fill dirt is often the right solution rather than a wall.

Sources & References

  1. NCMA TEK 15-5B: Segmental Retaining Wall DesignNational Concrete Masonry Association
  2. ASTM C90: Standard Specification for Loadbearing Concrete Masonry UnitsASTM International
  3. ASTM C936: Standard Specification for Solid Concrete Interlocking Paving UnitsASTM International
AdvertisementResponsive Ad

Frequently Asked Questions

Related Calculators

Advertisement

320 × 50 — Mobile Anchor