Home Construction & DIY Outdoor Retaining Wall Calculator

Retaining Wall Calculator

Complete material estimation with engineering intelligence — blocks, gravel, geogrid, labor & delivery.

Quick Start
Configuration
Units
Standard 18×6×12"
Small 12×4×8"
Medium 16×6×10"
Bill of Materials
Masonry
Wall Blocks 0
Cap Stones 0
Aggregates
Drainage Gravel 0 yd³
Paver Base 0 yd³
Accessories
4" Drain Pipe 0 ft
Filter Fabric 0 sq ft
Adhesive 0 tubes
Delivery & Logistics
Block Weight 0 lbs
Pallets Needed 0
Aggregate Loads 0 trucks
Labor Estimate (DIY)
Est. Hours 0 hrs
Contractor Range $0–$0
PROJECT TOTAL
$0.00
Wall Engineering Assessment
Foundation
Compacted Base
Drainage Class
Standard 12"
Reinforcement
None Required
Permit Likely
No

How to Use This Calculator

1

Enter Wall Dimensions

Input the wall length and desired height. Account for the first course being partially buried for stability.

2

Choose Block Type

Select the retaining wall block size and style. Common sizes are 12×4×8 inches and 18×6×12 inches.

3

Review Material List

See the number of blocks, base material, backfill gravel, geogrid (if needed), and drainage pipe quantities.

Formula & Methodology

Blocks Needed

Blocks = (Wall Length / Block Length) × (Wall Height / Block Height) × (1 + Waste)

Calculate rows (courses) and blocks per row, then add waste.

Base Material

Base Gravel (cu yd) = Wall Length × Trench Width × Base Depth / 27

A 6-inch compacted gravel base extending 6 inches beyond the wall face is standard.

Key Terms

Batter
The intentional backward lean of a retaining wall, typically 1 inch per foot of height. This lean uses gravity to counteract soil pressure.
Geogrid
A synthetic mesh fabric embedded in the backfill soil behind the wall to increase its effective weight and resistance to soil pressure.
Drainage Aggregate
Clean, crushed gravel placed behind the wall to allow water to flow freely to the drain pipe, preventing hydrostatic pressure buildup.
Surcharge
Any additional load placed on top of the retained soil, such as a driveway, parked vehicles, or a structure, which increases the lateral pressure on the wall.
Deadman Anchor
A perpendicular timber or concrete element extending back into the hillside to anchor the wall against sliding or overturning forces.

Real-World Examples

Example 1

Garden Terrace Wall

Length: 20ft, Height: 2ft, Block: 12in × 4in face, Waste: 5%

Result: 20 blocks per row × 6 rows = 120 blocks × 1.05 = 126 blocks. Plus 1 cubic yard of base gravel and 2 cubic yards of drainage aggregate.

Example 2

Hillside Retaining Wall

Length: 40ft, Height: 4ft, Block: 18in × 6in face, Waste: 10%

Result: 27 blocks/row × 8 rows = 216 blocks × 1.10 = 238 blocks. Geogrid required every 2 courses. Need engineering review for walls over 4 feet.

Retaining Wall Materials

MaterialMax DIY HeightCost per Sq FtDurability
Interlocking Block3–4 ft$12–$2250+ years
Natural Stone2–3 ft$15–$30Lifetime
Timber (6×6)3 ft$10–$1810–15 years
Poured ConcreteEngineered$20–$4550+ years
Boulder2–3 ft$20–$40Lifetime

Retaining Wall Design Essentials

Drainage Is the Top Priority

Water pressure behind a retaining wall is the leading cause of failure. Every wall needs a perforated drain pipe at the base, wrapped in filter fabric, surrounded by clean gravel, and daylighting to a lower elevation. Without proper drainage, hydrostatic pressure can double or triple the force the wall must resist.

When You Need an Engineer

Most building codes require engineered plans for retaining walls over 4 feet tall (measured from the bottom of the footing to the top of the wall). Walls near property lines, structures, slopes, or carrying surcharge loads may also require engineering regardless of height. The cost of an engineer is minor compared to rebuilding a failed wall.

Frequently Asked Questions

How do I calculate how many retaining wall blocks I need?

Calculate the total face area of the wall (Length × Height) and divide by the face area of a single block. Our calculator handles this automatically and adds a configurable safety margin.

Why should I bury the first row of blocks?

Burying the bottom row ("keying" the wall) is essential for structural stability. It prevents the base of the wall from sliding forward under the weight of the soil behind it. This is one of the most common DIY mistakes.

What is the purpose of gravel backfill?

Gravel backfill prevents hydrostatic pressure (water pressure) from building up behind your wall. Without proper drainage, water-saturated soil can become heavy enough to push over even the strongest walls.

When do I need to use geogrid reinforcement?

Most retaining walls over 3–4 feet in height require geogrid. This high-strength mesh ties the block face into the consolidated soil behind the drainage zone, preventing tipping and overturning failure.

Do I need a building permit for my retaining wall?

Permit requirements vary by jurisdiction, but most areas require permits for walls over 4 feet tall (measured from the bottom of the footing). Walls near property lines or under surcharge loads may require permits regardless of height. Always check with your local building department.

What is the difference between running bond and stack bond?

Running bond staggers the vertical joints between courses, similar to how bricks are laid. This creates a stronger wall by distributing lateral forces. Stack bond aligns vertical joints and is weaker structurally but can be used for low decorative walls.

How do I account for a sloped yard behind my wall?

Enable the "Sloped Backfill (3:1)" toggle in the calculator. This increases the effective soil pressure on the wall, requiring wider drainage gravel and potentially triggering geogrid requirements at a lower wall height.

Can I build a retaining wall as a DIY project?

DIY projects are generally safe for walls under 3 feet. For taller walls, always check local building codes — permit requirements and structural engineering reviews often apply. Segmental block walls are the most DIY-friendly option for heights up to 4 feet.

How to Use This Calculator

  1. 1
    Measure Wall Length and Height

    Enter the total wall run length and the exposed height in feet. For tiered walls, calculate each tier separately.

  2. 2
    Choose Block Type

    Select your retaining wall block size and style. Common dimensions are 12x4x8 inches and 18x6x12 inches.

  3. 3
    Enter Setback and Batter

    Specify the setback (backward tilt per course). Most segmental retaining wall systems use a 3/4-inch to 1-inch setback per course.

  4. 4
    Calculate Base Width

    The base width should be at least 0.6x wall height for walls under 4 feet. Taller walls require engineering review.

  5. 5
    Get Block Count and Base Gravel

    Review total blocks, compacted gravel for the base and backfill, drainage pipe length, and geogrid requirements for taller walls.

Key Formulas

Base WidthBase = 0.6 x Wall Height
Blocks per CourseBlocks/Course = Length / Block Length
Total CoursesCourses = Height / Block Height
Drainage GravelBackfill: 12 in gravel layer behind wall

Key Terms

Setback / Batter — The intentional backward tilt of the wall per course, typically 3/4 to 1 inch per course. This lean uses gravity to help resist soil pressure behind the wall.
Deadman / Anchor — A block or block combination extended perpendicular into the hillside to tie the wall into the retained soil for walls over 3 feet tall.
Geogrid — A polymer mesh embedded horizontally in the backfill at prescribed intervals to create a mechanically stabilized earth mass behind tall walls.
Drainage Aggregate — Clean crushed stone (3/4-inch) placed in the 12-inch zone immediately behind the wall to carry groundwater to the weep holes and drainage pipe.
Frost Heave — The upward displacement of soil and structures caused by freezing groundwater expanding in the soil. Proper drainage prevents ice accumulation that causes frost heave.
Surcharge Load — Additional load on the retained soil from structures, vehicles, or slopes above the wall that increases lateral pressure and must be accounted for in wall design.