Retaining Wall Calculator
Calculate the blocks, gravel backfill, drainage pipe, filter fabric, and total material cost for a segmental block retaining wall.
- Retaining Wall Blocks
- 152
6 courses · 23 cap blocks
- Wall Blocks
- 152
- Cap Blocks
- 23
- Backfill Gravel
- 3.3 cu yd
- Drain Pipe
- 33 ft
| Blocks (with 10% waste) | 152 — $532 |
| Cap Blocks | 23 — $121 |
| Drainage Gravel | 4.4 cu yd — $200 |
| Perforated Drain Pipe | 33 ft — $50 |
| Filter Fabric | 108 sq ft — $27 |
| Total Materials | $929 |
Cost Breakdown
How to Calculate Retaining Wall Materials
Building a retaining wall requires more than just blocks. Proper drainage, a compacted gravel base, and filter fabric are all essential components that prevent the wall from failing due to water pressure and soil movement. Our calculator estimates all materials needed for a complete, code-compliant retaining wall.
The basic block calculation is: Blocks = (Wall Length ÷ Block Length) × (Wall Height ÷ Block Height). Then add 10% for waste from cuts and breakage, plus cap blocks for the top course.
Complete Material List
- Wall blocks: Interlocking segmental retaining wall (SRW) blocks. Available in various sizes and face textures.
- Cap blocks: Flat cap units for the top course, typically adhered with construction adhesive.
- Base gravel: 6 inches of compacted ¾" crushed stone, 24 inches wide, beneath the first course.
- Backfill gravel: Clean ¾" drainage stone behind the wall, at least 12 inches deep.
- Perforated drain pipe: 4-inch perforated PVC or corrugated pipe at the base behind the wall.
- Filter fabric: Non-woven geotextile fabric between the drainage gravel and native soil to prevent clogging.
- Construction adhesive: Landscape block adhesive for the cap course and any exposed joints.
Retaining Wall Design Principles
A properly designed retaining wall resists the lateral earth pressure from the soil behind it. Key design considerations include:
- Setback (batter): Most SRW blocks have a built-in setback of ½–1 inch per course, angling the wall into the slope for stability. This creates a batter angle of approximately 6–12 degrees.
- Embedment: Bury the first course at least 1 inch per 8 inches of total wall height. A 3-foot wall needs at least 4.5 inches of the first course below grade.
- Drainage: The #1 cause of retaining wall failure is water pressure. Gravel backfill and drain pipe are non-negotiable.
- Compaction: Compact each layer of backfill (every 6–8 inches of lift) with a plate compactor to prevent settling.
- Geogrid: For walls over 3–4 feet, geogrid reinforcement extends back into the soil at specific courses to increase stability.
Retaining Wall Height Limits
Building codes and block manufacturer guidelines set height limits for unreinforced retaining walls:
- Under 3 feet: Simple gravity wall. Most DIYers can handle this without engineering.
- 3–4 feet: May need geogrid reinforcement depending on soil type and surcharge loads.
- Over 4 feet: Most jurisdictions require a building permit and engineering design per IRC Section R404.4 or local codes.
- Over 6 feet: Requires professional engineering. Consider a tiered wall system with a terrace between shorter walls.
Cost Factors for Retaining Walls
DIY retaining wall costs vary significantly based on materials and wall height:
- Blocks: $3–$10 per block depending on size, style, and manufacturer
- Drainage gravel: $40–$50 per cubic yard delivered
- Drain pipe: $1–$2 per linear foot for 4" perforated pipe
- Filter fabric: $0.20–$0.30 per square foot
- Geogrid (if needed): $0.50–$1.50 per square foot
- Professional labor: $20–$50 per square foot of wall face (adds significantly to total cost)
Step-by-Step Installation Overview
- Excavate a trench 24 inches wide and deep enough to bury the first course below grade
- Lay and compact 6 inches of crushed stone for the base
- Set the first course of blocks, checking level in all directions
- Install filter fabric behind the blocks against the native soil
- Place perforated drain pipe at the base behind the first course
- Backfill behind each course with drainage gravel, compacting every 6–8 inches
- Stack additional courses with proper setback, staggering joints
- Adhere cap blocks to the top course with construction adhesive
- Backfill the remaining area above the gravel with native soil and plant
Frequently Asked Questions
How many blocks do I need for a retaining wall?
Calculate wall area in square inches, divide by the face area of one block, then add 10% for waste. A 30-ft long, 3-ft high wall using standard 6×16" blocks needs about 135 wall blocks plus 23 cap blocks. Our calculator handles this math automatically.
How much does a retaining wall cost per linear foot?
DIY material costs run $15–$40 per linear foot per foot of height. A 3-foot-high, 30-foot-long wall costs $1,350–$3,600 in materials. Professional installation adds $20–$50 per square foot of wall face.
Do I need a permit for a retaining wall?
Most jurisdictions require permits for walls over 4 feet (measured from footing bottom to wall top). Walls near property lines or supporting structures may need permits at any height. Always check with your local building department before construction.
How deep should the base be?
The gravel base should be 6 inches deep and 24 inches wide, compacted to 95% density. Bury the first course of blocks a minimum of 1 inch per 8 inches of total wall height, or at least 6 inches below finished grade.
Why is drainage so important?
Hydrostatic water pressure behind a wall is the #1 cause of retaining wall failure. Water-saturated soil can exert 2× the lateral pressure of dry soil. Drainage gravel and perforated pipe allow water to escape, reducing pressure to safe levels.
How high can I build without an engineer?
Most block manufacturers and building codes allow DIY walls up to 3–4 feet without professional engineering. Any surcharge loads (driveways, structures, slopes above) reduce this limit. When in doubt, consult a geotechnical engineer.
Related Calculators
- Brick Calculator — bricks and mortar for masonry walls
- Gravel Calculator — tons of gravel for backfill and base
- Paver Calculator — pavers for patios and walkways
Retaining walls over 4 feet require professional engineering in most jurisdictions per IRC Section R404.4. This calculator estimates materials only and does not constitute structural engineering design. Consult a licensed engineer for walls over 4 feet or walls supporting structures, driveways, or steep slopes.