YardAcreCalc
My Yard Area:Save your yard size once to auto-fill Acreage, Sod, Grass Seed, Fertilizer & Topsoil calculators.

Retaining Wall Calculator

Estimate segmental wall blocks (with automatic buried footing course), cap units, leveling base gravel, and drainage backfill tons.

Last verified: Dec 2026Based on CMHA Hardscape & NIST Unit Conversion100% Free & Local

Wall Dimensions & Segmental Block Specs

Block Size Preset

Worked Example: 20 ft Long × 3 ft Tall Retaining Wall (16×6" Blocks)

  1. 1Compute blocks per row: ceil((20 ft × 12) ÷ 16 in) = 15 blocks per course.
  2. 2Compute total courses: ceil((3 ft × 12) ÷ 6 in) = 6 exposed courses + 1 buried base course = 7 total courses.
  3. 3Multiply: 15 × 7 = 105 net blocks; add 5% cutting waste = 111 blocks, plus 16 cap stones for the top row.
  4. 4Calculate crushed stone: 6"×24" base trench = 0.74 cu yd (1.04 tons) + 12" drainage backfill = 2.22 cu yd (3.11 tons) → 4.15 tons total aggregate.

Result: A 20×3 ft wall using 16×6" blocks needs 111 wall blocks, 16 caps, and 4.15 tons (2.96 cu yd) of base and drainage gravel.

Segmental Retaining Wall (SRW) Block & Gravel Formulas

Blocks per Course = ceil((Wall Length ft × 12) ÷ Block Length in)
Total Courses = ceil((Exposed Height ft × 12) ÷ Block Height in) + 1 (Buried)
Wall Blocks = ceil(Blocks per Course × Total Courses × (1 + Waste %))
Base Trench Gravel (cu yd) = (Wall Length × 2 ft × 0.5 ft) ÷ 27
Drainage Backfill Stone (cu yd) = (Wall Length × 1 ft × Exposed Height) ÷ 27
  • CMHA segmental retaining wall standards require burying at least the first full course (minimum 6 inches) below finished grade on a compacted 6-inch crushed stone leveling pad.
  • Install 12 inches of clean #57 angular drainage stone behind the wall with a perforated drain pipe at the base to relieve hydrostatic water pressure.
  • Walls taller than 4 feet exposed height (or supporting a driveway/slope surcharge) generally require a building permit, geogrid reinforcement, and structural engineering approval.

Retaining Wall Blocks Needed by Wall Length & Exposed Height (16×6" Block, Incl. 1 Buried Row + 5% Waste)

Wall Length2 ft Tall (5 rows)3 ft Tall (7 rows)4 ft Tall (9 rows)Cap Stones (+5%)
10 ft42 blocks59 blocks76 blocks9 caps
20 ft79 blocks111 blocks142 blocks16 caps
30 ft121 blocks170 blocks218 blocks25 caps
40 ft158 blocks221 blocks284 blocks32 caps

Frequently Asked Questions

Why does the retaining wall calculator add 1 extra buried course?+

Segmental retaining wall standards require embedding at least one full course (minimum 6 inches) below grade so soil pressure at the toe cannot push the bottom row forward.

How much gravel do I need behind and under a retaining wall?+

Budget a 6-inch deep by 24-inch wide compacted crushed stone leveling pad beneath the base course, plus a 12-inch wide column of clean #57 washed drainage stone behind the entire exposed height of the wall.

When does a backyard retaining wall require a building permit?+

Under the International Residential Code (IRC) adopted by most US jurisdictions, retaining walls over 4 feet tall (often measured from the bottom of the footing to the top of the wall) or walls holding back a sloped surcharge typically require a permit and engineer-stamped design.

How much waste should I add for retaining wall blocks?+

Add 5% extra blocks for straight walls and 10% for walls with 90-degree corners, curves, or stepped footings that require splitting blocks.