Retaining Wall Calculator
Calculate blocks, gravel backfill, drainage pipe, cap stones, and total cost for any retaining wall project. Supports concrete block, interlocking block, timber, and natural stone walls.
Wall Dimensions
Wall Type
Options
🧱
Enter your wall dimensions
Get a complete material list and cost estimate instantly
How to Use the Retaining Wall Calculator
Our retaining wall calculator gives you a complete material list and cost estimate for any retaining wall project. Simply enter the wall length and total height, choose your wall material, and the calculator instantly computes everything you need: blocks or timbers, cap stones, gravel for the base and backfill, drainage pipe, filter fabric, adhesive, and even rebar for taller walls. Toggle the labor estimate to see full installed costs, or keep it materials-only for DIY budgeting.
For terraced walls, select the number of terraces and the calculator splits the total height evenly between them. This is a popular approach for walls over 4 feet because each terrace stays within safe DIY limits while the overall grade change is much larger. A 6-foot total height split into 2 terraces gives you two 3-foot walls with a flat planting area between them.
Complete Guide to Building a Retaining Wall
Choosing the Right Retaining Wall Material
The four most common retaining wall materials for residential projects are concrete block (CMU), interlocking segmental blocks (brands like Allan Block, Versa-Lok, or Pavestone), landscape timbers, and natural stone. Each has different strength, cost, and aesthetic characteristics.
Concrete blocks are the most versatile and cost-effective option for walls up to 4 feet. Standard 8x8x16 CMUs cost $2.50-$4.00 each and are easy to stack in a running bond pattern. They can be reinforced with rebar and filled with concrete for taller walls. The main downside is their utilitarian appearance, though they can be faced with stone veneer or stucco.
Interlocking blocks are the most popular choice for residential retaining walls because they look great and interlock without mortar. Brands like Allan Block and Versa-Lok have a built-in lip or pin system that automatically creates the batter (backward lean) needed for structural stability. They cost $4.50-$7.00 per block but save significant labor compared to mortared block walls.
Landscape timbers (typically 6x6 or 6x8 pressure-treated lumber) are the cheapest option at $10-$18 per 8-foot timber. They work well for low walls (under 3 feet) in garden beds and informal landscapes. However, they have the shortest lifespan (15-20 years vs. 50+ for block) and are prone to rot, even when pressure-treated. Timbers are connected with galvanized spikes or rebar driven through pre-drilled holes.
Natural stone provides the most attractive appearance but is the most expensive and labor-intensive. Fieldstone, limestone, bluestone, and granite are popular choices. Natural stone walls are typically dry-stacked (no mortar) with careful fitting of irregular shapes. Material costs range from $4-$12 per square foot of face area, and professional installation is usually recommended due to the skill required.
Preparing the Foundation: The Most Critical Step
A proper foundation is the single most important factor in retaining wall longevity. Over 90% of retaining wall failures trace back to inadequate base preparation or poor drainage. The base trench should be 24 inches wide (12 inches in front of and behind the first course) and deep enough for 6 inches of compacted gravel plus the buried portion of the first course.
Bury the first course at a rate of 1 inch for every 8 inches of exposed wall height. A 32-inch-tall wall should have its first course buried 4 inches below grade. Use angular, crushed gravel (like #57 stone or 3/4-inch crusher run) — never round pea gravel, which does not lock together and cannot be compacted. Compact the gravel in 2-3 inch lifts using a plate compactor, checking level frequently with a 4-foot level.
The base must slope very slightly from back to front (about 1/4 inch per foot) to encourage water to drain forward rather than pooling behind the wall. This is separate from the drainage system behind the wall, which handles water from the retained soil above.
Drainage: Preventing the #1 Cause of Failure
Water is the enemy of every retaining wall. When soil behind the wall becomes saturated after heavy rain, it exerts enormous hydrostatic pressure — up to 60 pounds per cubic foot. A 4-foot wall retaining saturated soil can experience over 1,000 pounds of lateral force per linear foot. Without proper drainage, this force will push the wall forward, causing it to lean, crack, or collapse entirely.
Every retaining wall needs three drainage components: (1) a perforated drain pipe at the base of the wall, laid on top of the base gravel with the holes facing down, running the full length of the wall and daylighting at one or both ends; (2) a drainage gravel zone at least 12 inches wide behind the wall, running from the base to within 6 inches of the top; and (3) geotextile filter fabric between the drainage gravel and the native soil to prevent fine particles from migrating into and clogging the gravel.
Use the same clean, angular crushed stone for the drainage backfill as for the base. The top 6 inches behind the wall should be native soil or topsoil to prevent surface water from flowing directly into the drainage zone. If your site has clay soil (which drains very poorly), consider upgrading to a larger drain pipe (6 inch) and wider gravel zone (18-24 inches).
Building the Wall: Course by Course
Start by laying the first course on the compacted gravel base, checking level in all directions. This course is the most important — if it is not perfectly level and aligned, every course above it will amplify the error. Use a string line along the front face to keep the course straight. For interlocking blocks, ensure the lip or pin is fully seated against the course below.
Stack subsequent courses in a running bond pattern, offsetting each course by half a block width from the one below (like a brick wall). This distributes loads evenly and prevents vertical crack lines. Cut blocks as needed at the ends using a masonry saw or a cold chisel and hammer. Most interlocking block systems are designed with a slight batter (backward lean of about 1 inch per foot of height), which dramatically increases the wall's resistance to the retained soil.
As you build each course, backfill behind it with drainage gravel and compact lightly. Do not wait until the wall is fully built to backfill — the wall needs the gravel behind it to resist forward pressure during construction. Apply construction adhesive to the top two courses and the cap stones to prevent them from being dislodged by frost heave, settling, or foot traffic.
When to Hire a Professional
A retaining wall is a structural element that must resist thousands of pounds of lateral soil pressure. While walls under 3-4 feet are generally safe DIY projects for handy homeowners, several situations call for professional help:
- Wall height exceeds 4 feet: Most building codes require engineered drawings from a licensed structural engineer for walls over 4 feet. This typically costs $500-$2,000 for the engineering alone.
- Surcharge loads: If a driveway, patio, pool, or building will sit on top of or near the wall, the additional weight (surcharge) significantly increases the forces on the wall and usually requires engineering.
- Sloped ground: Building on a slope or retaining a hillside adds complexity that can be dangerous without proper analysis.
- Water table issues: If you hit water while digging the base trench, a professional drainage design is essential.
- Clay or expansive soils: These soil types exert much higher lateral pressures than sandy or gravelly soils and may require deeper bases or geogrid reinforcement.
Retaining Wall Cost Factors
The total cost of a retaining wall depends on five main factors: material choice, wall height, wall length, site conditions, and labor. Materials account for 40-60% of the total installed cost, with the rest going to labor, equipment rental (plate compactor, masonry saw), and delivery fees.
As a general rule, expect to pay $10-$25 per square foot of wall face for materials and $20-$45 per square foot installed by a professional. A typical residential retaining wall is 20-40 feet long and 2-4 feet tall, putting the total project cost in the $1,500-$8,000 range for materials or $3,000-$15,000 installed. Walls over 4 feet that require engineering add $500-$2,000 for the design and may require geogrid reinforcement, which adds $1-$3 per square foot.
Don't forget to budget for delivery. Gravel is typically delivered by the truck-load (10-15 tons), and blocks/timbers are heavy — a 20-foot, 3-foot-tall block wall weighs approximately 2-3 tons in blocks alone. Most landscape supply yards offer delivery for $75-$200 depending on distance and load size. Use our Gravel Calculator to estimate backfill quantities, and our Concrete Calculator if you are building a poured concrete retaining wall or need concrete for footings.
Terraced vs. Single Retaining Walls
When you need to retain a grade change greater than 4 feet, building a terraced (stepped) wall system is almost always better than a single tall wall. Two 3-foot walls with a 3-4 foot planting area between them handle the same 6-foot grade change as a single 6-foot wall, but each individual wall stays within safe DIY limits and avoids the need for engineering.
Terraced walls also create usable planting areas between levels, improve the visual appearance of the retaining system, and distribute the soil pressure across a wider horizontal distance. The planting areas between terraces should be at least as wide as the height of the lower wall. Our calculator adjusts all material quantities automatically when you select multiple terraces, including separate drainage for each terrace level.
Retaining Wall Maintenance
A well-built retaining wall requires minimal maintenance, but annual inspections are important. Check for these warning signs: leaning or bulging (the wall is being pushed forward by soil or water pressure), cracking (especially horizontal cracks, which indicate excessive lateral force), settling (one section sinking lower than adjacent sections), and drainage outlet blockage (ensure water can flow freely from the drain pipe outlet).
Keep the drain pipe outlets clear of debris, leaves, and soil. Direct surface water away from the wall with proper grading. Avoid planting trees or large shrubs within 3 feet of the wall, as roots can displace blocks and damage the drainage system. For timber walls, inspect for rot and insect damage annually — replace any compromised timbers before the structural integrity is affected.
If you are also planning a fence on top of the retaining wall, never attach fence posts directly to the wall blocks. Instead, core-drill into the footing or set independent posts behind the wall. Adding fence posts to the wall face creates a lever arm that can topple the wall in high winds. For deck projects near retaining walls, use our Deck Calculator to plan your materials.