Retaining Wall Calculator
Enter the wall length, height, and block dimensions to estimate how many retaining wall blocks you need. Includes cost estimation and accounts for overlap/stagger.
Retaining walls hold back soil to create level areas on sloped lots, support garden beds, or prevent erosion. Materials range from interlocking concrete landscape blocks (cheapest and most DIY-friendly) to natural stone (premium aesthetics) to engineered concrete (for tall walls requiring professional design). This calculator returns block counts and costs for typical landscape block walls.
For DIY work, walls under 4 feet tall generally don't require engineering or permits — but always check local codes. Walls over 4 feet typically require engineering drawings, building permits, and sometimes professional installation. The reason: a 4-foot wall holds back substantial soil weight; failure causes property damage and safety hazards.
Critical to all retaining walls: drainage. Water trapped behind a wall creates hydrostatic pressure that can topple even properly built walls. Always install 6-12 inches of crushed gravel behind the wall and a perforated drain pipe at the base. Skipping these adds significant failure risk and is one of the most common DIY retaining wall mistakes.
Inputs
Results
Total Blocks
180
Rows
9
Wall Area
60.0 sq ft
Total Cost
$630.00
Wall Details
| Detail | Value |
|---|---|
| Wall Length | 20 ft (240") |
| Wall Height | 3 ft (36") |
| Wall Face Area | 60.0 sq ft |
| Block Size | 12" x 4" |
| Blocks per Row | 20 |
| Number of Rows | 9 |
| Total Blocks | 180 |
| Price per Block | $3.50 |
| Total Cost | $630.00 |
Formula
How to use this calculator
- Enter wall length and height in feet.
- Enter block dimensions (length and height in inches).
- Enter price per block.
- Calculator returns block count and total cost.
- Add 5-10% for waste, cuts, and breakage.
- Factor in base materials, drainage, and tools separately.
Worked examples
Garden bed retaining wall
**Scenario:** 20 ft long, 2 ft tall garden bed wall using 12" × 4" landscape blocks at $3.50 each. **Calculation:** Per course: 20 × 12 / 12 = 20 blocks. Courses: 2 × 12 / 4 = 6 courses. Total: 120 blocks. With 10% waste: 132 blocks. At $3.50: $462 in blocks. Plus drainage materials ($100): ~$562 total materials. **Result:** ~$560 in materials for 20-ft garden bed wall. Weekend DIY project. Cost effective for raised planting beds, side yard slopes, or pathway edges.
Backyard slope retaining wall
**Scenario:** 35 ft long, 3.5 ft tall wall to level part of backyard. Use 18" × 6" engineered SRW blocks at $8 each. **Calculation:** Per course: 35 × 12 / 18 = 23.3 → 24 blocks. Courses: 3.5 × 12 / 6 = 7 courses. Total: 168 blocks. With 10% waste: 185 blocks. At $8: $1480 in blocks. Plus extensive drainage, base materials ($600): ~$2080 total materials. **Result:** ~$2100 in materials for 35-ft backyard wall. May require permit (3.5 ft is borderline). Engineering drawings ($300-500 if required). Pro install $1500-3000 additional. Significant value: levels yard for usable space.
Engineered tall wall
**Scenario:** 40 ft long, 6 ft tall wall behind house, requires engineering. Premium SRW blocks at $12 each. **Calculation:** Per course: 40 × 12 / 18 = 26.7 → 27 blocks. Courses: 6 × 12 / 6 = 12 courses. Total: 324 blocks. With 10% waste: 357 blocks. At $12: $4280 in blocks. Plus extensive drainage, geogrid reinforcement, base prep ($1500), engineering ($800), permits ($300): ~$7000 materials and design. **Result:** ~$7000 in materials + design for 6-ft tall engineered wall. Pro install $4000-7000. Total $11000-14000. Engineering required for safety; DIY not recommended above 4 ft.
When to use this calculator
**Build a retaining wall for:**
- **Leveling sloped yard**: usable flat space. - **Garden beds**: raised planting areas. - **Tree wells**: protect trees from grade changes. - **Driveway support**: edge retention. - **Erosion control**: slope stabilization. - **Property line definition**: visual boundary. - **Aesthetic enhancement**: terraced gardens, landscape features.
**Material selection guide:**
- **Budget**: basic concrete blocks ($2-4 each). - **Aesthetic**: natural stone or premium concrete blocks. - **Tall walls**: engineered SRW with geogrid. - **Naturalistic**: boulders or stacked stone. - **Quick install**: pressure-treated timbers (shorter lifespan). - **Premium look**: cut natural stone.
**Drainage essentials:**
1. **Base drainage**: 4-6 inches crushed gravel under wall. 2. **Behind wall**: 6-12 inches gravel zone. 3. **Drain pipe**: 4" perforated at base level. 4. **Landscape fabric**: between gravel and soil. 5. **Discharge point**: pipe must flow to safe drainage location. 6. **Weep holes**: every 4-8 ft in lower courses.
**Wall lean (batter):**
Walls naturally need to lean back into the slope (batter) for stability:
- 1/8" per course is standard. - 1" per 4 ft of height total. - Steeper batter for very tall walls or weak soil.
**Geogrid for tall walls:**
For walls over 4 ft, geogrid reinforcement extends 4-8 ft into backfill at multiple levels, dramatically increasing wall stability. Required for engineered systems above 4-5 ft.
**Soil conditions:**
- **Sand/gravel**: easy to work, good drainage. - **Clay**: poor drainage, requires extensive drainage system. - **Rocky**: difficult excavation but stable. - **Wet/seepage**: especially careful drainage required. - **Frost line**: foundation must extend below.
**Site preparation:**
- **Survey**: mark wall location and elevation. - **Excavation**: dig trench 4-6 inches deeper than block height. - **Level base**: critical for first course; mistakes compound upward. - **Compact base**: stable foundation prevents settling. - **Add gravel base**: 4-6 inches of crushed stone.
**Backfilling:**
- **In 6-inch lifts**: compact each layer. - **Use crushed gravel near wall**: not native soil. - **Geotextile barrier**: between gravel zone and native soil. - **Slope backfill away from wall**: improves drainage.
**Capping:**
- **Cap blocks**: provide finished look, weight for stability. - **Adhesive**: construction adhesive for permanent install. - **Coping options**: standard cap, decorative cap, planter cap.
**Cost-saving tips:**
- **DIY**: saves 40-60% on labor for walls under 4 ft. - **Bulk block discounts**: 5-15% off for full pallet orders. - **Off-season**: lower labor rates in fall/winter. - **Combined projects**: same crew can do walls + adjacent landscaping. - **Multi-tier walls**: spread cost across multiple lower walls.
**Permitting and HOA:**
- **Under 4 ft**: often no permit, but always check. - **4+ ft**: permit, engineering drawings typical. - **HOA**: review covenants before designing. - **Setbacks**: typically 5-10 ft from property line. - **Drainage approval**: some jurisdictions require approval of drainage plan.
**Long-term considerations:**
- **Frost heave**: in cold climates, walls move with frost. - **Tree roots**: avoid placing walls near mature trees. - **Underground utilities**: call before you dig. - **Future drainage changes**: may affect wall stability. - **Settling**: expect 1-3 inches of settling in first year.
Common mistakes to avoid
- Building too tall without engineering. Walls over 4 ft need engineering and possibly permit.
- Skipping drainage. Water pressure topples walls; gravel + pipe essential.
- No setback (batter). Vertical walls fail forward.
- Skipping base gravel. Direct on soil causes settling and lean.
- No staggered joints. Lined-up joints fail at the joint line.
- Forgetting permits. Building without permit causes legal issues.
- Wrong block for application. Heavy retaining = SRW system; decorative = landscape blocks.