Retaining Wall Calculator
Calculate exactly how many blocks, gravel, backfill, and drainage pipe you need for your retaining wall project, plus a full material cost estimate.
Quick Answer
A standard 20 ft long, 4 ft high retaining wall requires approximately 90 blocks, 0.7 cubic yards of base gravel, 1.8 cubic yards of backfill, and 24 feet of drainage pipe. Total material cost typically runs $400-$700 depending on block style. Always add 10% extra for breakage and cuts.
Material Estimate
Materials Breakdown
| Material | Quantity | Est. Cost |
|---|---|---|
| Wall Blocks (Standard (8" x 6" x 16")) | 105 blocks | $262.50 |
| Cap Blocks | 15 blocks | $45.00 |
| Base Gravel (6" bed) | 0.49 cu yd | $22.22 |
| Backfill (crushed stone) | 2.96 cu yd | $103.70 |
| Drainage Pipe (perforated) | 24 ft | $36.00 |
| Landscape Fabric | 120 sq ft | $30.00 |
| Total Estimated Cost | $499 |
Cost Breakdown
Pro Tips
- Order 10% extra blocks for cuts, breakage, and pattern matching.
- Walls over 4 feet tall typically require a building permit and may need a structural engineer.
- Install drainage pipe with 1% slope (1 inch per 8 feet) toward the outlet.
- Compact each layer of gravel with a plate compactor for stability.
- Use construction adhesive between the cap blocks and the top course.
About This Tool
The Retaining Wall Calculator helps homeowners, landscapers, and contractors estimate all the materials needed for a retaining wall project. Whether you are building a small garden wall or a large hillside retaining structure, this tool provides accurate block counts, gravel volumes, and cost estimates so you can plan your budget before breaking ground.
How the Calculator Works
The calculator takes three key inputs: wall length, wall height, and block size. From these dimensions, it computes how many blocks you need per row, how many rows high the wall will be, and the total number of wall blocks and cap blocks required. It also calculates the volume of base gravel for the foundation trench (assuming a standard 6-inch deep bed at twice the block width), the backfill volume behind the wall (assuming 12 inches of drainage aggregate), and the length of perforated drainage pipe needed to channel water away from the structure.
Choosing the Right Block Size
Standard concrete retaining wall blocks (8 by 6 by 16 inches) are the most common choice for residential projects. They are affordable, widely available at home improvement stores, and manageable for DIY installation at around 35 pounds each. Large blocks (12 by 8 by 18 inches) are heavier but cover more area per block, making them better suited for taller walls or commercial applications. Split-face blocks have a textured front that mimics natural stone, adding visual appeal to garden walls and landscape features. Allan Block style units are engineered with a built-in lip system that provides automatic setback for gravity wall construction.
Why Proper Drainage Matters
The number one cause of retaining wall failure is water pressure building up behind the wall. Hydrostatic pressure can push a wall forward, crack blocks, and eventually cause a collapse. That is why every retaining wall needs three drainage components: a gravel base for the foundation that allows water to flow under the wall, backfill aggregate behind the wall that prevents soil from holding water against the blocks, and a perforated drainage pipe at the base that channels water to a safe outlet. Landscape fabric between the backfill and native soil prevents fine particles from clogging the drainage aggregate over time.
Permits and Engineering Requirements
Most municipalities require a building permit for retaining walls over 4 feet tall (measured from the bottom of the footing to the top of the wall). Walls taller than 4 feet often require engineering by a licensed professional who will specify the footing depth, block type, geogrid reinforcement spacing, and drainage requirements for your specific soil conditions and surcharge loads. Even if your wall is under the permit threshold, it is wise to check local building codes as requirements vary by jurisdiction. Walls near property lines, public sidewalks, or utility easements may have additional setback requirements.
Cost Factors to Consider
The material cost estimate provided by this calculator covers blocks, gravel, backfill aggregate, drainage pipe, and landscape fabric at typical retail prices. However, your actual project cost will depend on several additional factors: delivery charges for heavy materials (blocks and gravel are typically delivered by truck), equipment rental if you need a plate compactor or mini excavator, geogrid reinforcement for taller walls, and labor if you hire a contractor. Professional installation typically adds $10 to $25 per square face foot of wall. For a DIY project, the materials shown in this calculator represent the majority of your total cost, though you should budget an additional 10 to 15 percent for miscellaneous supplies like adhesive, rebar pins, and filter fabric.