Retaining Wall Calculator

A retaining wall is mostly blocks and gravel — get either wrong and you either run short mid-build or pay for a pile you never use. This free retaining wall calculator works out how many blocks and cap stones you need, how much base and backfill gravel to order, and what the materials will cost, using the buried-course rule that most DIY estimates forget.

For a 20 ft long × 3 ft high wall built with standard 12 × 6 in blocks, you need 154 blocks and 20 caps, plus 3.33 cubic yards (4.5 tons) of gravel — $693.00 of blocks and $189.00 of gravel, $882.00 of materials in total.

Courses (incl. buried): 7 courses

Blocks per course: 20 blocks

Total blocks (+ waste): 154 blocks

Cap stones: 20

Base gravel: 0.74 yd³

Backfill gravel: 2.59 yd³

Total gravel: 3.33 yd³ (4.5 tons)

Block cost: $693.00

Gravel cost: $189.00

Total cost: $882.00

Retaining Wall Calculator

Formula

Blocks = courses × blocks per course, + 10% waste — and always add 1 buried course

  • Courses = ceiling(wall height ÷ block height) + 1 buried course below grade. A 3 ft wall in 6 in blocks is 7 courses, not 6.
  • Blocks per course = wall length ÷ block length. Caps = 1 per foot of wall length.
  • Base gravel: trench 2 × block depth wide, 6 in deep. Backfill: 12 in wide clean gravel column, full height including the buried course.
  • Gravel weighs 1.35 tons per cubic yard (2,700 lb/yd³).
  • Walls over 4 ft usually need a licensed engineer's design plus geogrid — check local code before building.

Worked Example

Take a 20 ft long × 3 ft high wall, standard block 12 × 6 in face, 12 in deep, $4.50/block, gravel $42/ton.

  1. Step 1: Courses: 36 ÷ 6 + 1 buried = 7 courses; blocks per course = 20 → 140 blocks.
  2. Step 2: With 10% waste: 140 × 1.10 = 154 blocks. Caps = 20.
  3. Step 3: Base gravel: 20 × 2 × 0.5 ÷ 27 = 0.74 yd³; backfill: 20 × 1 × 3.5 ÷ 27 = 2.59 yd³; total 3.33 yd³ ≈ 4.5 tons.
  4. Step 4: Cost: blocks 154 × $4.50 = $693.00; gravel 4.5 × $42 = $189.00.

Answer: 154 blocks, 20 caps, 3.33 yd³ (4.5 tons) of gravel — $882.00 of materials.

Blocks and Gravel by Wall Size

The table uses a standard 12 × 6 in block, 12 in deep, with 10% waste.

Wall (L × H)CoursesBlocksCapsGravel (yd³)Gravel (tons)
10 × 2 ft555101.301.8
20 × 3 ft7154203.334.5
30 × 4 ft9297306.118.2

Larger walls need proportionally more gravel — backfill grows with the full height of the wall, including the buried course.

FAQs

How many blocks do I need for a retaining wall?

Divide the wall length by the block length for blocks per course, multiply by the number of courses — and add one buried course below grade, plus 10% waste for cuts and breakage.

Do I need a buried course?

Yes — at least one full course (or 1/10 of the wall height) sits below grade. It stops the wall sliding and is the course most DIY estimates forget.

How much gravel goes behind a retaining wall?

A 12-inch-wide column of clean gravel the full height of the wall, plus a 6-inch-deep base trench twice as wide as the block. Order by the cubic yard — gravel weighs about 1.35 tons per yard.

How high can I build a retaining wall without an engineer?

In most US jurisdictions, walls over 4 ft (48 in) need a licensed engineer's design and usually geogrid reinforcement. Check your local code — some areas set the limit lower.

More Calculators

Brick Calculator · Concrete Calculator · Deck Calculator · Fence Calculator · Stair Calculator · Tile Calculator · Flooring Calculator · Drywall Calculator

Latest Videos

How to Estimate Materials for a Block Retaining Wall — ColfaxMath