Retaining Wall Calculator
Calculate blocks, cap blocks, base gravel, and backfill gravel for your retaining wall. Includes warnings for walls that may require engineering approval and permits.
Worked Example
A homeowner is building a 25 ft long, 3 ft tall retaining wall using standard 12″ × 4″ × 8″ blocks with cap blocks.
- 1 Wall dimensions: 25 ft long × 3 ft tall
- 2 Block size: Standard 12″ × 4″ × 8″
- 3 Courses: 36″ / 4″ = 9 courses
- 4 Blocks per course: 25 ft / 1 ft = 25 blocks
- 5 Base blocks: 9 × 25 = 225 blocks
- 6 Add 10% waste: 225 × 1.10 = 248 blocks
- 7 Cap blocks: 25 caps
- 8 Base gravel: ~1.1 cu yd
- 9 Backfill gravel: ~1.9 cu yd
- 10 Total gravel: ~3.0 cu yd
How Retaining Wall Materials Are Calculated
Courses: Wall height divided by block height gives the number of horizontal rows (courses). Blocks per course: Wall length divided by block width. Total blocks = courses × blocks per course, plus your waste percentage.
Cap blocks: One row of caps across the top — wall length divided by block width.
Base gravel: The trench beneath the wall is typically the block depth plus 12 inches wide, filled to your base gravel depth. Volume = length × trench width × base depth.
Backfill gravel: The drainage layer behind the wall. Volume = wall length × backfill width × wall height. This gravel allows water to drain and reduces hydrostatic pressure against the wall.
Important Building Notes
Walls over 4 feet typically require engineering approval and permits. Check with your local building department before starting construction. Unpermitted walls may need to be removed.
The first course should be buried below grade for stability. Set the first row of blocks 1–2 inches below the finished ground level on a compacted gravel base. This prevents the wall from sliding forward.
Always include drainage gravel behind the wall. Backfill with 3/4" crushed stone wrapped in filter fabric. Without proper drainage, water pressure builds up behind the wall and can cause failure, especially after heavy rain or during freeze-thaw cycles.
Frequently Asked Questions
When does a retaining wall need engineering? +
Why should I bury the first course? +
What gravel goes behind a retaining wall? +
Do I need cap blocks? +
How do I calculate geogrid? +
You May Also Need
Stone Calculator
Crushed stone and aggregate for driveways and drainage
Calculate →Gravel Calculator
General-purpose gravel for base and backfill
Calculate →Paver Base Calculator
Gravel and sand base layers for pavers
Calculate →Concrete Calculator
Concrete for footings, slabs, and post holes
Calculate →