Retaining Wall Calculator

Calculate concrete retaining wall blocks, cap stones, compacted base gravel and drainage stone backfill with critical structural engineering height warnings.

✓ Imperial and metric✓ Package size results✓ Private by design
01
Enter your projectWall dimensions and block size
Waste allowance5%
0%Recommended 5%15%
02
Your resultUpdates as you type
Retaining wall blocks needed 0

Base trench gravel0

6in compacted foundation

Drainage backfill0

12in gravel column behind wall

Buy this0

Rounded up to whole packages.

Total courses (including buried)0
Blocks per course0
Exact wall blocks0
Wall face area0
Total blocks with waste0
How this was calculated
Compacted GravelGradeDrain Gravel3 ft WallCoursesBlocks
Live Retaining Wall Elevation & Trench Section
Advertisement

Anatomy of a durable retaining wall

Segmental retaining walls rely on their own weight (gravity) and interlocking setback pins or rear lips to hold back soil. Unlike freestanding garden borders, retaining walls face immense hydrostatic pressure from wet soil behind the wall. To build a wall that will last decades without tilting, bowing, or collapsing, four structural elements are essential:

  1. Compacted Gravel Base: A trench excavated at least 24 inches wide and 12 inches deep, filled with 6 inches of compacted angular crushed stone (dense grade aggregate / road base).
  2. Buried Base Course: The bottom course of blocks must be buried below the finished soil line. For walls up to 3 feet high, bury one course (typically 6 inches). For walls over 3 feet high, bury at least 10% of total wall height.
  3. Drainage Stone Backfill: A clean 12-inch column of 3/4-inch washed crushed stone placed directly behind the blocks, wrapped in geotextile fabric. This prevents water from building up pressure against the wall face.
  4. Perforated Drain Pipe: A 4-inch perforated PVC or corrugated drain pipe placed at the base of the drainage gravel column, sloped to daylight to evacuate ground water.
The formulaTotal Blocks = (Wall Length / Block Width) x ((Exposed Height + Buried Depth) / Block Height) + Waste

Base Gravel Tons = (Length x 2 ft width x 0.5 ft depth / 27) x 1.4 tons/yd3. Drainage Stone Tons = (Length x 1 ft width x Height / 27) x 1.4 tons/yd3.

A worked retaining wall example

Suppose you are building a 30-foot long landscape retaining wall with 3 feet of exposed height using medium 6-inch high by 16-inch wide blocks with cap stones.

  • Exposed courses: 36 inches / 6 inches = 6 exposed courses.
  • Buried courses: 1 buried base course = 7 total courses.
  • Blocks per course: (30 feet x 12 inches) / 16 inches = 360 / 16 = 22.5 -> 23 blocks per row.
  • Net wall blocks: 7 courses x 23 blocks = 161 blocks.
  • With 5% waste: 161 x 1.05 = 169.05 -> Order 170 wall blocks.
  • Cap stones: 23 cap stones covering 30 linear feet.
  • Base gravel: 30 ft x 2 ft wide x 0.5 ft deep = 30 cu ft = 1.11 cu yd x 1.4 = 1.56 tons crushed aggregate.
  • Drainage backfill: 30 ft x 1 ft wide x 3 ft high = 90 cu ft = 3.33 cu yd x 1.4 = 4.67 tons washed 3/4-inch stone.
Critical safety note for walls over 4 feet tallMost municipal building codes mandate that retaining walls 4 feet and taller (measured from the bottom of the footing to the top of the wall) must be engineered by a licensed structural engineer and require building permits. Taller walls require geogrid soil reinforcement sheets extended horizontally into the backfill soil mass.

Standard retaining wall block sizes

Block TypeHeightWidthDepthWeightBlocks / Sq Ft
Standard Commercial8 inches18 inches12 inches75 to 85 lb1.0 blocks
Medium Residential6 inches16 inches10 inches30 to 40 lb1.5 blocks
Small Garden4 inches12 inches8 inches18 to 24 lb3.0 blocks
Cap Stone3 inches12 to 14 in10 to 12 in25 to 30 lbN/A (Linear)

Common mistakes in retaining wall installation

  • Building directly on dirt. Dirt settles and softens with rain. Without a 6-inch compacted crushed stone leveling pad, the wall will settle unevenly and crack.
  • Skipping drainage gravel. Backfilling directly with native soil or clay traps hydrostatic water pressure, which is the number one cause of retaining wall blowouts.
  • Failing to step down on slopes. When building on an incline, create stepped trenches so each base block sits perfectly level on compacted gravel rather than tilted along the slope.
  • Not using masonry adhesive on cap stones. Cap stones must be secured with high-strength polyurethane landscape block adhesive to keep them locked in place.

Common retaining wall block counts and backfill

Block counts (based on standard 6x16 inch residential retaining wall units) including 1 buried base course and 5% waste:

Wall Dimensions (L x H)Exposed CoursesTotal CoursesWall Blocks NeededBase Gravel (Tons)
20 ft long x 2 ft high4 courses5 courses80 blocks1.04 tons
30 ft long x 2 ft high4 courses5 courses120 blocks1.56 tons
20 ft long x 3 ft high6 courses7 courses111 blocks1.04 tons
30 ft long x 3 ft high6 courses7 courses166 blocks1.56 tons
40 ft long x 3 ft high6 courses7 courses221 blocks2.07 tons
50 ft long x 3 ft high6 courses7 courses276 blocks2.60 tons
Advertisement
Common questions

Retaining Wall Calculator FAQ

Straight answers to the questions people ask most about this calculation.

How many retaining wall blocks do I need?

Divide the wall face square footage (length times total height including buried courses) by the square footage of one block face, then add 5% to 10% for cuts and end caps.

How deep should the base course be buried?

Bury at least one full course (typically 4 to 6 inches) for walls up to 3 feet high. For taller walls, bury 1 inch for every 8 inches of wall height to resist lateral kickout.

Do I need gravel behind a retaining wall?

Yes. A minimum 12-inch wide column of clean, washed 3/4-inch crushed drainage stone is essential directly behind the wall to allow water to drain freely to the perforated pipe.

When is a building permit required for a retaining wall?

Most local building departments require permits and engineered plans for any retaining wall 4 feet or taller (measured from bottom of footing to top of cap).

What kind of gravel goes under a retaining wall?

Use dense-grade angular aggregate such as crushed gravel road base (3/4-inch minus with fines) compacted in 2-inch lifts. Do not use round pea gravel, which rolls under pressure.

How do I calculate cap stones for a retaining wall?

Divide the total linear footage of the wall by the width of one cap stone. For curved walls, cap stones must be trimmed with a masonry saw.

What is geogrid and when do I need it?

Geogrid is a high-tensile polymer mesh laid between block courses and extended back into compacted soil to anchor tall retaining walls. It is typically required on walls over 3 to 4 feet high.

Can I build a retaining wall with vertical faces?

Gravity retaining walls should have a backward batter (typically 1/2 to 1 inch of setback per vertical foot) so the wall leans into the retained slope for stability.

Advertisement
Result 0