Retaining Wall Calculator
Estimate Retaining Wall Blocks & Base Materials
Retaining walls hold back soil on sloped properties, turning steep hillsides into flat, usable garden terraces or patio areas. Building a retaining wall requires a solid gravel foundation trench and interlocking concrete blocks. Use our free retaining wall calculator to estimate the total number of blocks needed, estimated material costs, and the weight of base leveling gravel required for your wall length and height.
What Is a Retaining Wall and Why Does It Matter?
A retaining wall is a structural feature designed to hold back soil and resist lateral earth pressure on properties with sloped terrain. By intercepting sloped ground, retaining walls convert steep, unusable hillsides into flat, terraced zones suitable for gardens, patios, pathways, or driveways. Beyond their aesthetic appeal, retaining walls serve a critical civil engineering role: they prevent soil erosion, localized landslides, and mudslides. They also safeguard nearby home foundations from water damage and shifting soil. When properly designed and constructed, retaining walls enhance both the structural integrity and the usable outdoor living area of a property, making them a valuable landscape addition.
From an engineering perspective, retaining walls must withstand significant physical forces. Gravity pulls soil downward, and rainwater increases the weight of the soil behind the wall. This combination creates lateral pressure that pushes against the wall face. Without proper design, drainage, and foundation preparation, retaining walls can tilt, slide, or collapse entirely. Most residential retaining walls are built as gravity walls using interlocking concrete blocks (segmental retaining wall units). These systems rely on the sheer weight of the heavy concrete blocks to resist the soil pressure. Gravity walls are effective for heights up to 3 to 4 feet; walls exceeding this limit require geogrid mesh reinforcement or structural tiebacks to anchor the blocks into the hillside.
Accurate material estimation is essential to keep a retaining wall project on budget and schedule. Underestimating the number of blocks leads to project delays and additional shipping fees, while over-ordering results in heavy, expensive surplus masonry. Beyond the visible block face, a durable retaining wall requires a compacted gravel base course and a buried base layer of blocks to anchor the wall toe. By calculating the total square footage of the wall, accounting for the face dimensions of the chosen block, and estimating the cubic volume of base leveling gravel, you can ensure a stable installation while optimizing material costs.
How to Calculate Retaining Wall (Mathematical Formulas)
Calculating the materials for a retaining wall involves determining the visible wall area, calculating the face area of a single block, estimating the number of blocks needed (including a waste allowance), and calculating the volume of leveling gravel required for the foundation trench.
Formula for Wall Surface Area
First, calculate the total surface area of the wall face by multiplying the length by the height:
- Total Wall Area (sq ft):
Area = Wall Length (ft) × Wall Height (ft)
Note that the wall height must include the buried base course of blocks. For safety and stability, at least 1/10th of the wall height (or a minimum of 6 inches) should be buried below the ground level.
Formula for Block Face Area
To calculate the face area of a single retaining wall block in square feet:
- Block Face Area (sq in):
Block Area (sq in) = Block Width (in) × Block Height (in) - Block Face Area (sq ft):
Block Area (sq ft) = Block Area (sq in) / 144
For example, for a standard medium block measuring 16 inches wide by 6 inches high:
Block Area (sq in) = 16 × 6 = 96 sq in.
Block Area (sq ft) = 96 / 144 = 0.667 sq ft.
Formula for Total Blocks Needed
To find the total number of blocks, divide the wall area by the single block area, and apply a 10% waste buffer to account for end cuts and accidental breakage:
- Base Block Count:
Base Count = Wall Area (sq ft) / Block Area (sq ft) - Total Blocks with Waste:
Total Blocks = Math.ceil(Base Count × 1.10)
Formula for Foundation Leveling Gravel
The foundation trench must be twice as wide as the block depth (to distribute the weight) and filled with compacted gravel. The formulas are:
- Trench Width in Feet (ft):
Trench Width = (Block Depth (in) × 2) / 12 - Gravel Base Depth in Feet (ft):
Gravel Depth (ft) = Gravel Depth (in) / 12(typically 6 inches). - Gravel Volume in Cubic Feet (cu ft):
Gravel Volume = Wall Length (ft) × Trench Width (ft) × Gravel Depth (ft) - Gravel Volume in Cubic Yards (cu yd):
Gravel Volume (cu yd) = Gravel Volume (cu ft) / 27 - Gravel Weight in Tons (tons):
Gravel Tons = Gravel Volume (cu yd) × 1.4 × 1.10(accounts for density and compaction).
Retaining Wall Sizing & Specifications Reference Chart
The table below provides a quick reference for estimating blocks and gravel requirements for typical retaining wall sizes using standard medium blocks (16"W × 6"H × 10"D), assuming a 6-inch compacted gravel base course.
| Wall Length | Wall Height (Visible) | Total Wall Area (Sq Ft) | Total Blocks Needed (10% Waste) | Base Gravel Needed (Tons) |
|---|---|---|---|---|
| 10 feet | 2.0 feet | 20 sq ft | 33 Blocks | 0.7 Tons |
| 20 feet | 3.0 feet | 60 sq ft | 99 Blocks | 1.4 Tons |
| 30 feet | 3.0 feet | 90 sq ft | 149 Blocks | 2.1 Tons |
| 40 feet | 4.0 feet | 160 sq ft | 264 Blocks | 2.8 Tons |
| 50 feet | 4.0 feet | 200 sq ft | 330 Blocks | 3.5 Tons |
Step-by-Step Installation Guide & Professional Tips
Building a retaining wall is a structured process that requires physical labor and precise measurements. A wall built on a poor foundation or without proper drainage will quickly tilt or collapse under the pressure of wet soil. Follow this step-by-step installation guide.
Step 1: Planning, Layout, and Utility Safety
Before digging, contact your local utility hotline (e.g., 811 in the U.S.) to mark any underground lines. Check with your local building department regarding permit requirements; walls over 4 feet tall usually require engineered plans. Mark the path of your wall using stakes and mason lines, ensuring the layout is straight or follows clean, flowing curves.
Step 2: Excavation of the Trench
Dig a foundation trench along the marked line. The trench must be twice as wide as the depth of your retaining blocks (for example, a 20-inch wide trench for 10-inch deep blocks). Dig the trench deep enough to accommodate a 6-inch base of compacted gravel plus the height of the buried first course of blocks (typically 3 to 6 inches). Ensure the bottom of the trench is flat and level.
Step 3: Creating the Compacted Gravel Base
Fill the bottom of the trench with 6 inches of crushed aggregate gravel (3/4-inch minus road base). Do not use pea gravel, sand, or soil. Moisten the gravel base slightly and compact it thoroughly using a mechanical plate compactor or a heavy hand tamper. This compacted gravel base distributes the weight of the wall, drains water, and prevents the wall from settling unevenly.
Step 4: Installing the Buried Base Course
Laying the first course of blocks is the most critical step of the entire project. If the base course is uneven, the error will multiply with each course. Place the first block in the center of the trench and level it from front-to-back and side-to-side using a level. Place the next block adjacent to it, checking levelness between the blocks. Use a rubber mallet to tap high blocks down, or add gravel under low blocks. Embed this first course below ground level to lock the toe of the wall in place.
Step 5: Stacking Courses and Adding Drainage Backfill
Clean any dust or grit off the top of the base course. Place the second course of blocks, staggering the vertical joints (running bond pattern) so they do not line up. Interlocking blocks feature a built-in rear lip that automatically creates a slight backward slope (batter). As you stack each course, place a 4-inch perforated drainage pipe behind the base course with the holes facing downward. Fill the space immediately behind the blocks (at least 12 inches wide) with clean, washed 3/4-inch aggregate. Do not use soil or fine sand for backfill.
Step 6: Installing Cap Blocks and Backfilling
Continue stacking blocks and backfilling with washed aggregate until you reach the desired height. Place a layer of geotextile fabric over the aggregate backfill before adding the final layer of topsoil; this prevents dirt from washing down and clogging the gravel. Secure the final course of cap blocks using heavy-duty exterior concrete adhesive. Backfill behind the cap course with native topsoil, compact it lightly, and plant sod or groundcover to stabilize the soil.
Frequently Asked Questions
Why must the first course of retaining wall blocks be buried?
The first course of blocks (the base course) must be buried (embedded) to lock the toe of the wall into the ground, preventing the bottom of the wall from sliding forward under lateral soil pressure. The standard rule of thumb is to bury at least 10% of the total wall height, or a minimum of 6 inches (one full block height), below the finished ground level.
How high can I build a retaining wall before needing a permit?
In most building codes and municipal jurisdictions, you can build a retaining wall up to 4 feet tall (including the buried base course) without a building permit or structural engineering drawings. If your wall exceeds 4 feet, or if there is a surcharge load above the wall (such as a driveway, patio, slope, or fence), you must obtain a permit and have the design stamped by a civil engineer.
What is the difference between washed gravel and crusher run for a retaining wall?
Crusher run (road base containing fine stone dust) is used for the leveling base trench because it compacts into a solid, unyielding foundation. Washed gravel (clean stone without dust) is used behind the retaining wall blocks for drainage. Crusher run should never be used as backfill behind the blocks, as the dust will compact and block water from draining, increasing hydrostatic pressure.
What is geogrid, and when do I need to use it?
Geogrid is a high-strength, flexible polymer grid used to reinforce the soil behind a retaining wall. It is sandwiched between courses of blocks and extended back into the soil backfill zone. You should use geogrid for gravity walls taller than 3 to 4 feet, or when the wall is holding back a steep slope, loose soil, or supporting a surcharge load like a driveway or building foundation.
Can I build a retaining wall using treated wood timbers?
Yes, you can build retaining walls using pressure-treated wood timbers (typically 6×6 or 8×8 timber beams). While wood walls are cost-effective and relatively easy to build, they have a shorter lifespan (typically 10 to 15 years) than concrete block walls because the wood eventually rots due to constant soil contact, even when treated.
- National Concrete Masonry Association (NCMA) - Design Manual for Segmental Retaining Walls (SRW).
- ASTM International - ASTM C1372 (Standard Specification for Dry-Cast Segmental Retaining Wall Units).
- American Society of Civil Engineers (ASCE) - Structural engineering standards for lateral earth pressure and drainage.