Quick Answer: To calculate retaining wall blocks, divide wall length by block length for blocks per row, then divide wall height by block height for rows. Multiply together and add 5% waste. For a 20 ft long, 3 ft tall wall with standard 12"x4"x8" blocks: 30 blocks/row x 9 rows = 270 blocks, plus 5% waste = 284 blocks. You also need approximately 0.74 cu yd of base gravel (6" deep x 24" wide), 2.22 cu yd of drainage gravel, and 120 sq ft of filter fabric.
Calculate exactly how many retaining wall blocks, cap stones, gravel, and filter fabric you need for your project. Enter your wall dimensions and block size to get a complete materials list with estimated cost.
How to Calculate Retaining Wall Blocks
The formula for calculating retaining wall blocks:
- Measure the total wall length along the face and the desired finished height.
- Divide the wall length by the block length (in matching units) to find blocks per row.
- Divide the wall height by the block height to find the number of courses (rows).
- Multiply blocks per row by rows for the base block count.
- Add 5-10% for waste from cuts, breakage, and irregular terrain.
- Add one row of cap stones if finishing the top of the wall.
Block Size Reference
Common retaining wall block sizes and their characteristics:
| Size (W x H x L) | Blocks / lin ft | Rows / ft height | Best For |
|---|---|---|---|
| 12" x 4" x 8" | 1.5 | 3 | Small walls under 2 ft, garden borders |
| 12" x 6" x 8" | 1.5 | 2 | Standard residential walls 2-4 ft |
| 18" x 6" x 12" | 1 | 2 | Large walls, heavy-duty applications |
Wall Types Comparison
Choosing the right retaining wall material depends on your budget, wall height, and aesthetic preference:
| Type | Max Height | Lifespan | DIY Friendly | Cost Range |
|---|---|---|---|---|
| Interlocking Block | 4 ft (DIY) | 50+ years | Yes | $10-15/sq ft |
| Concrete Block (CMU) | 6+ ft (engineered) | 75+ years | Moderate | $12-20/sq ft |
| Natural Stone | 3 ft (dry stack) | 100+ years | Moderate | $15-30/sq ft |
| Timber | 4 ft | 15-20 years | Yes | $8-12/sq ft |
Drainage Requirements
Proper drainage is the single most important factor in retaining wall longevity. Without it, hydrostatic pressure from trapped water will push the wall forward and cause failure. Every retaining wall needs these three drainage components:
- Gravel base: A 6-inch deep compacted gravel pad in a trench at least 24 inches wide. This provides a level, stable foundation and allows water to drain away from the base.
- Drainage gravel: A 12-inch layer of clean crushed stone (3/4-inch minus) behind the entire wall face. This creates a channel for water to flow downward to the drain pipe.
- Perforated drain pipe: A 4-inch perforated pipe at the base of the wall, laid on top of the gravel base with holes facing down. Route to daylight or a storm drain.
- Filter fabric: Landscape fabric between the drainage gravel and the backfill soil. This prevents fine soil particles from migrating into and clogging the gravel. Wrap it over the top of the gravel before backfilling.
When to Hire a Structural Engineer
Retaining walls over 4 feet tall carry significant structural loads and can be dangerous if they fail. You should hire a structural engineer if:
- The wall will be taller than 4 feet (some jurisdictions require engineering at 3 feet).
- The wall supports a slope, driveway, or structure above it (surcharge loading).
- The soil is clay-heavy, expansive, or has a high water table.
- The wall is near a property line, septic system, or underground utilities.
- You plan to build tiered walls (multiple walls stacked on a slope).
An engineer will design the wall with proper footing depth, reinforcement, and drainage specifications. Engineering fees typically run $500-$2,000 for residential retaining walls and are well worth the investment for walls that need to last decades.
Formula Summary
Block Count Formula: Calculate retaining wall blocks by dividing wall dimensions by block dimensions, then applying a waste factor.
N(blocks) = ceil(L(wall) / L(block)) x ceil(H(wall) / H(block)) x (1 + W%)
Cap Stones: Cap stones = ceil(L(wall) / L(block)) — one row along the top.
Base Gravel: V(base) = L(wall) x W(base) x D(base) / 27 [cu yd]
Default: W(base) = 24 in, D(base) = 6 in
Drainage Gravel: V(drainage) = L(wall) x H(wall) x 1 ft / 27 [cu yd]
Filter Fabric: A(fabric) = L(wall) x (H(wall) + 3 ft) [sq ft]
| Block Size | Width (in) | Height (in) | Length (in) |
|---|---|---|---|
| Standard | 12 | 4 | 8 |
| Large | 12 | 6 | 8 |
| Jumbo | 18 | 6 | 12 |
Standard Assumptions: Default waste factor is 5%. Gravel base is 6 inches deep by 24 inches wide. Drainage gravel is 12 inches deep behind the wall. Filter fabric extends 3 feet beyond the wall height to wrap over the gravel backfill. All gravel volumes converted to cubic yards (divide cubic feet by 27).
Related Calculators
- Retaining Wall Cost Calculator — estimate the total installed cost of a retaining wall
- Concrete Block Calculator — calculate CMU blocks for walls, foundations, and columns
- Gravel Calculator — estimate gravel volume and weight for any project
- Brick Calculator — calculate bricks for walls, patios, and walkways
Estimates are for planning purposes only. Consult a qualified contractor for critical projects. Actual material requirements may vary based on site conditions, waste, and installation methods.
Pricing last verified: February 2026. Material prices vary by region, season, and supplier. Prices shown are national averages for planning purposes.