Retaining Wall Calculator
A 4 × 40 ft wall = 160 ft² face. 264 blocks + 30 caps + 5.93 yd³ backfill + 40 ft drain + 1 geogrid layer. Geogrid every 2 ft above 3 ft. NCMA: gravity ≤ 3 ft, geogrid > 3 ft. Backfill: 12″ washed gravel full height. Drain: 4″ pipe at base. Cap adds 2–3″.
Retaining wall materials
264 blocks + 30 caps + 5.93 yd³ backfill + 40 ft drain + 1 geogrid layer
Example values. Enter your measurements above to see your result.
- Wall face area
- 160.0 ft²
- Block face area
- 0.67 ft²
- Blocks needed (with waste)
- 264 blocks
- Cap blocks
- 30 caps
- Backfill gravel (12″ washed)
- 5.93 yd³ (160.0 ft³)
- Drain pipe (4″ perforated)
- 40 ft
- Foundation gravel base (6″ × 24″)
- 1.48 yd³
- Geogrid layers
- 1 layer
- Geogrid length per layer
- 2.40 ft
- Total geogrid area
- 10.67 yd²
Standard block: 6″ × 16″ × 12″ (H×L×D), face = 0.67 ft². Cap: 3″ × 16″ × 12″.
Backfill: 12″ min washed gravel (¾″ clean) behind full wall height. NCMA recommends 1 ft minimum.
Drain: 4″ perforated corrugated pipe at base, wrapped in filter fabric, sloped 1% to daylight or sump.
Geogrid: required for walls > 3 ft (NCMA). 1 layer at 2 ft spacing. Grid length = 0.6 × wall height = 2.40 ft. Use biaxial geogrid (Miragrid, StrataGrid).
Foundation: 6″ compacted gravel base, 24″ wide, below frost line. 1.48 yd³ gravel.
10% waste included for blocks. Complex layouts: use 15%.
Walls > 4 ft or with surcharge require engineer design (IBC 1807.2). This calculator estimates materials only.
Checked by the Yardstick Math team · How we check
Worked examples
Gravity wall — 3 ft × 30 ft, standard block, 10 % waste
- Face area = 3 × 30 = 90 ft²
- Block face = 6″ × 16″ = 96 in² = 0.67 ft²
- Blocks = ceil(90 ÷ 0.67) × 1.10 = 149 blocks
- Caps = ceil(30 ÷ 1.33) = 23 caps
- Backfill = 30 × 1 × 3 ÷ 27 = 3.33 yd³ gravel
- Drain pipe = 30 ft perforated pipe
- Geogrid = 0 (height ≤ 3 ft)
Result: 149 blocks, 23 caps, 3.3 yd³ backfill, 30 ft drain, no geogrid
Checked by the automated test “retaining-wall — 3 ft × 30 ft gravity wall → 149 blocks, 23 caps, 1.11 yd³ backfill, 30 ft drain, 0 geogrid”.
Reinforced wall — 5 ft × 50 ft, standard block, 10 % waste
- Face area = 5 × 50 = 250 ft²
- Blocks = ceil(250 ÷ 0.67) × 1.10 = 413 blocks
- Caps = ceil(50 ÷ 1.33) = 38 caps
- Backfill = 50 × 1 × 5 ÷ 27 = 9.26 yd³ gravel
- Drain pipe = 50 ft
- Geogrid layers = floor((5 - 2) / 2) = 1 layer
- Grid length = 0.6 × 5 = 3 ft → grid area = 50 × 3 = 150 ft² = 16.7 yd²
Result: 413 blocks, 38 caps, 9.3 yd³ backfill, 50 ft drain, 1 geogrid layer (16.7 yd²)
Checked by the automated test “retaining-wall — 5 ft × 50 ft reinforced wall → 412 blocks, 38 caps, 1.85 yd³ backfill, 50 ft drain, 1 geogrid layer”.
Reinforced wall — 4 ft × 40 ft, standard block, 10 % waste (transition height)
- Face area = 4 × 40 = 160 ft²
- Blocks = ceil(160 ÷ 0.67) × 1.10 = 264 blocks
- Caps = ceil(40 ÷ 1.33) = 30 caps
- Backfill = 40 × 1 × 4 ÷ 27 = 5.93 yd³ gravel
- Drain pipe = 40 ft perforated pipe
- Geogrid layers = floor((4 - 2) / 2) = 1 layer at 2 ft height
- Grid length = 0.6 × 4 = 2.4 ft → grid area = 40 × 2.4 = 96 ft² = 10.7 yd²
Result: 264 blocks, 30 caps, 5.9 yd³ backfill, 40 ft drain, 1 geogrid layer (10.7 yd²)
Checked by the automated test “retaining-wall — 4 ft × 40 ft reinforced wall (transition) → 264 blocks, 30 caps, 5.93 yd³ backfill, 40 ft drain, 1 geogrid layer”.
Metric — 1.5 m × 15 m reinforced wall, 200 mm block, 15 % waste
- Face area = 1.5 × 15 = 22.5 m²
- Block face = 200 mm × 400 mm = 0.08 m² → blocks = ceil(22.5 ÷ 0.08) × 1.15 = 324 blocks
- Caps = ceil(15 ÷ 0.4) = 38 caps (cap length 400 mm)
- Backfill = 15 m × 0.3 m (depth) × 1.5 m (height) = 6.75 m³ = 8.8 yd³ gravel
- Drain pipe = 15 m = 49 ft perforated pipe
- Geogrid: height 1.5 m > 0.9 m (3 ft) → layers = floor((1.5 - 0.6) / 0.6) = 1 layer at 0.6 m
- Grid length = 0.6 × 1.5 = 0.9 m → grid area = 15 × 0.9 = 13.5 m² = 16.1 yd²
Result: 324 blocks, 38 caps, 6.8 m³ backfill, 15 m drain, 1 geogrid layer (13.5 m²)
Checked by the automated test “retaining-wall — metric: 1.5 m × 15 m wall, 200 mm × 400 mm block, 15% waste → 324 blocks, 38 caps, 6.75 m³ backfill, 15 m drain, 1 geogrid layer”.
Low garden wall — 2 ft × 20 ft, standard block, 10 % waste
- Face area = 2 × 20 = 40 ft²
- Blocks = ceil(40 ÷ 0.67 × 1.10) = 66 blocks
- Caps = ceil(20 ÷ 1.33) = 15 caps
- Backfill = 20 × 1 × 2 ÷ 27 = 1.48 yd³ gravel
- Drain pipe = 20 ft perforated pipe
- Geogrid = 0 (height ≤ 3 ft, gravity wall per NCMA)
- Foundation gravel = 20 × 2 × 0.5 ÷ 27 = 0.74 yd³
Result: 66 blocks, 15 caps, 1.5 yd³ backfill, 20 ft drain, no geogrid, 0.74 yd³ foundation gravel
Checked by the automated test “retaining-wall — 2 ft × 20 ft garden wall → 66 blocks, 15 caps, 1.48 yd³ backfill, 20 ft drain, 0 geogrid”.
Tall reinforced wall — 6 ft × 60 ft, standard block, 10 % waste
- Face area = 6 × 60 = 360 ft²
- Blocks = ceil(360 ÷ 0.67 × 1.10) = 594 blocks
- Caps = ceil(60 ÷ 1.33) = 45 caps
- Backfill = 60 × 1 × 6 ÷ 27 = 13.33 yd³ gravel
- Drain pipe = 60 ft perforated pipe
- Geogrid layers = floor((6 − 2) ÷ 2) = 2 layers (at 2 ft and 4 ft)
- Grid length = 0.6 × 6 = 3.6 ft → grid area = 60 × 3.6 × 2 ÷ 9 = 48 yd²
Result: 594 blocks, 45 caps, 13.3 yd³ backfill, 60 ft drain, 2 geogrid layers (48 yd²)
Checked by the automated test “retaining-wall — 6 ft × 60 ft reinforced wall → 594 blocks, 45 caps, 13.33 yd³ backfill, 60 ft drain, 2 geogrid layers (48 yd²)”.
How it works
Wall face area (ft²) = height (ft) × length (ft)
Block face area (ft²) = block height (in) × block length (in) ÷ 144
Blocks needed = ceil(wall face area ÷ block face area) × (1 + waste %)
Cap blocks = ceil(wall length (ft) ÷ cap length (ft))
Backfill volume (yd³) = wall length (ft) × 1 ft (depth) × wall height (ft) ÷ 27
Drain pipe (ft) = wall length (ft)
Geogrid layers = floor((wall height (ft) - 2) / 2) if height > 3 ft else 0
Geogrid area (yd²) = sum of (wall length × grid length) per layer, grid length = 0.6 × wall height
Assumptions
- Standard block: 6″ × 16″ × 12″ (H×L×D), face area = 0.67 ft². Cap: 3″ × 16″ × 12″.
- Waste factor 10 % for cuts, corners, breakage. Complex layouts: 15 %.
- Backfill: 12″ min washed gravel (¾″ clean) behind wall, full height. NCMA recommends 1 ft min.
- Drain: 4″ perforated corrugated pipe at base, wrapped in filter fabric, sloped 1 % to daylight or sump.
- Geogrid: required for walls > 3 ft (NCMA). Place every 2 ft vertical, length = 0.6 × wall height (AASHTO/FHWA).
- Foundation: compacted gravel base 6″ thick, 24″ wide, below frost line. Not included in block count.
- This calculator estimates materials only. Walls > 4 ft or with surcharge need engineer design (IBC 1807.2).
Reference table
| Wall H × L | Blocks | Caps | Backfill yd³ |
|---|---|---|---|
| 2 ft × 20 ft | 66 | 15 | 1.48 |
| 3 ft × 30 ft | 149 | 23 | 3.33 |
| 4 ft × 40 ft | 264 | 30 | 5.93 |
| 5 ft × 50 ft | 413 | 38 | 9.26 |
| 6 ft × 60 ft | 594 | 45 | 13.33 |
Backfill = 12″ washed gravel behind wall, full height. Geogrid every 2 ft above 3 ft. Foundation gravel base not included.
How to Calculate Retaining Wall Materials
Step 1: Face Area — Wall height (ft) × wall length (ft) = face area in ft².
Step 2: Block Count — Face area ÷ block face area (0.67 ft² for standard 6″×16″ block) = raw blocks. Multiply by 1.10 for 10 % waste. Round up to full pallets (48–54 blocks/pallet).
Step 3: Cap Blocks — Wall length (ft) ÷ cap length (1.33 ft for 3″×16″ cap) = cap count. Round up.
Step 4: Gravel Backfill — Wall length × 1 ft depth × wall height ÷ 27 = yd³ of ¾″ washed gravel (AASHTO #57).
Step 5: Drain Pipe — 4″ perforated pipe = wall length (ft). Slope ⅛″ per ft to daylight.
Step 6: Geogrid (walls > 3 ft) — One layer every 2 ft of height above 3 ft. Grid length = 0.6 × wall height. Area = wall length × grid length per layer.
Worked Example — 4 ft × 40 ft Reinforced Wall
- Face area = 4 × 40 = 160 ft²
- Blocks = ceil(160 ÷ 0.67) × 1.10 = 240 × 1.10 = 264 blocks
- Caps = ceil(40 ÷ 1.33) = 30 caps
- Backfill = 40 × 1 × 4 ÷ 27 = 5.93 yd³ gravel
- Drain pipe = 40 ft perforated pipe
- Geogrid = floor((4-2)/2) = 1 layer at 2 ft height; grid length = 0.6 × 4 = 2.4 ft → 40 × 2.4 = 96 ft² = 10.7 yd²
Common Wall Sizes (Quick Reference)
| Wall H × L | Blocks | Caps | Backfill yd³ |
|---|---|---|---|
| 2 ft × 20 ft | 66 | 15 | 1.48 |
| 3 ft × 30 ft | 149 | 23 | 3.33 |
| 4 ft × 40 ft | 264 | 30 | 5.93 |
| 5 ft × 50 ft | 413 | 38 | 9.26 |
| 6 ft × 60 ft | 594 | 45 | 13.33 |
Standard 6″×16″×12″ block, 3″×16″×12″ cap, 10 % waste. Backfill = 12″ washed gravel full height. Geogrid every 2 ft above 3 ft. Foundation base not included.
Common Mistakes to Avoid
| Mistake | Why It Fails |
|---|---|
| Skipping the drainage pipe | Water behind the wall is the #1 cause of failure. A 4″ perforated pipe at the base, wrapped in filter fabric, sloped to daylight, is non-negotiable. Without it, hydrostatic pressure pushes the wall over. |
| Using native soil as backfill | Clay and silt hold water and swell — they push the wall. Use ¾″ clean washed gravel (AASHTO #57) for the full 12″ behind the wall. Native soil goes on top of the gravel, not against the block. |
| Building a gravity wall too tall | Gravity walls (no geogrid) max out at 3 ft per NCMA. At 4 ft you need geogrid reinforcement every 2 ft. At 6 ft+ you need an engineer — the forces exceed what simple grids handle. |
| Forgetting the foundation base | Blocks don’t sit on dirt. You need 6″ compacted gravel (¾″ minus), 24″ wide, level, below frost line. A 40 ft wall needs 1.8 yd³ base gravel. Skipping this = settlement = wall failure. |
| No geogrid on tall walls | Geogrid isn’t optional over 3 ft. One layer at mid-height for 4 ft walls, two layers (2 ft and 4 ft) for 6 ft walls. Grid length = 0.6 × wall height. Use Miragrid, StrataGrid, or equivalent biaxial geogrid. |
Sources
- NCMA Design Manual for Segmental Retaining Walls, 3rd Edition — https://www.ncma.org/resources/design-manuals/
- FHWA NHI-10-024 — MSE Walls and Reinforced Soil Slopes — https://www.fhwa.dot.gov/engineering/geotech/pubs/nhi10024/nhi10024.pdf
- AASHTO LRFD Bridge Design Specifications, Section 11 — https://bookstore.transportation.org/collection_detail.aspx?ID=110
- ASTM D6638 — Geogrid Tensile Properties — https://www.astm.org/d6638
Common mistakes
- Skipping the drainage pipe Water behind the wall is the #1 cause of failure. A 4″ perforated pipe at the base, wrapped in filter fabric, sloped to daylight, is non-negotiable. Without it, hydrostatic pressure pushes the wall over.
- Using native soil as backfill Clay and silt hold water and swell — they push the wall. Use ¾″ clean washed gravel (AASHTO #57) for the full 12″ behind the wall. Native soil goes on top of the gravel, not against the block.
- Building a gravity wall too tall Gravity walls (no geogrid) max out at 3 ft per NCMA. At 4 ft you need geogrid reinforcement every 2 ft. At 6 ft+ you need an engineer — the forces exceed what simple grids handle.
- Forgetting the foundation base Blocks don't sit on dirt. You need 6″ compacted gravel (¾″ minus), 24″ wide, level, below frost line. A 40 ft wall needs 1.8 yd³ base gravel. Skipping this = settlement = wall failure.
- No geogrid on tall walls Geogrid isn't optional over 3 ft. One layer at mid-height for 4 ft walls, two layers (2 ft and 4 ft) for 6 ft walls. Grid length = 0.6 × wall height. Use Miragrid, StrataGrid, or equivalent biaxial geogrid.
Frequently asked questions
How many retaining wall blocks do I need?
Divide wall face area (height × length in feet) by block face area (0.67 ft² for standard 6″×16″ block). A 3×30 ft wall = 90 ft² ÷ 0.67 = 134 blocks. Add 10 % waste = 148 blocks. Round up to full pallets (typically 48–54 blocks/pallet).
How much gravel backfill for a retaining wall?
12″ (1 ft) of ¾″ washed gravel behind the full wall height. Volume = wall length (ft) × 1 ft × wall height (ft) ÷ 27 = cubic yards. A 30 ft × 3 ft wall needs 30 × 1 × 3 ÷ 27 = 3.3 yd³. This is in ADDITION to the 6″ foundation base.
Do I need a drain pipe behind my retaining wall?
YES — always. 4″ perforated corrugated pipe at the base, wrapped in filter fabric, sloped 1 % (⅛″ per ft) to daylight or a sump. Without drainage, water builds up, hydrostatic pressure pushes the wall, and it fails. This is the #1 reason walls collapse.
When do I need geogrid for a retaining wall?
Walls over 3 ft tall (NCMA). Place geogrid every 2 ft of wall height: one layer at 2 ft for a 4 ft wall, two layers at 2 ft and 4 ft for a 6 ft wall. Grid length = 0.6 × wall height. Use biaxial geogrid (Miragrid, StrataGrid). Walls over 4 ft with surcharge need an engineer.
How much does a retaining wall cost?
DIY block wall: $15–30/ft² face (blocks, caps, gravel, pipe, geogrid). A 3×30 ft wall (90 ft²) = $1,350–2,700 materials. Installed by pro: $40–100/ft² = $3,600–9,000. Concrete/masonry walls cost more. Get 3 quotes.
Sources
Formula, examples and sources checked on by the Yardstick Math team. How we check our formulas.
- Design Manual for Segmental Retaining Walls, 3rd Edition — National Concrete Masonry Association (NCMA), accessed
- FHWA NHI-10-024 — Design and Construction of Mechanically Stabilized Earth Walls and Reinforced Soil Slopes — Federal Highway Administration, accessed
- AASHTO LRFD Bridge Design Specifications, Section 11 — Abutments, Piers, and Walls — AASHTO, accessed
- ASTM D6638 — Determining Geogrid Tensile Properties — ASTM International, accessed