Skip to content
Omnikalc

Retaining wall calculator: blocks, caps and gravel

Estimate the blocks, cap units, base gravel and drainage stone for a segmental retaining wall from its length and height.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

%

Value out of range

$

Value out of range

Results

Wall blocks

170

Cap units
23
Courses (rows)
7
Base gravel (compacted pad)
1.11
Drainage stone behind the wall
3.89
Perforated drain pipe
30.0
Cost of the blocks
$765
Wall face area
105.0
DIY-friendly height

Blocks for other wall lengths

Wall blocksDrainage stone behind the wall
10 ft current591.30
20 ft current1112.59
30 ft current1703.89
40 ft current2215.19
60 ft current3317.78
100 ft current55212.96

Planning a block retaining wall

A segmental retaining wall is built from dry-stacked concrete blocks that interlock or use pins, set on a compacted gravel base and backed by drainage stone. It is one of the most popular DIY landscape projects for walls up to about 3 or 4 ft. The calculator counts the blocks and cap units, the courses, the base gravel, the drainage stone and the drain pipe, so you can order everything at once.

How the estimate works

  • Total height = exposed height + buried courses
  • Courses = total height ÷ block height, rounded up
  • Blocks per course = wall length ÷ block length, rounded up
  • Blocks = courses × blocks per course, plus a margin for cuts
  • Cap units = one per block length along the top
  • Base gravel: a trench 24 in wide and 6 in deep of compacted crushed stone
  • Drainage stone: a zone 12 in wide behind the wall, the full height

Worked example

A homeowner wants a wall 30 ft long and 3 ft high above grade, using standard blocks with a 16 × 6 in face and one buried course.

  1. Total height: 36 + 6 = 42 in, or 7 courses.
  2. Blocks per course: 360 ÷ 16 = 22.5, so 23.
  3. Blocks: 7 × 23 = 161, plus 5% = 170 blocks, or about $765 at $4.50 each.
  4. Caps: 23.
  5. Base gravel: 30 × 2 × 0.5 ft = 30 cubic feet, about 1.1 cubic yards.
  6. Drainage stone: 30 × 1 × 3.5 ft = 105 cubic feet, about 3.9 cubic yards, plus 30 ft of perforated drain pipe.

Building it right

  • Dig and compact. Excavate for the base and the buried course, then compact the soil and lay 6 in of crushed stone in thin, compacted lifts.
  • Level the first course carefully. Every error is multiplied as the wall rises.
  • Set back each course. Most blocks have a lip that creates a slight backward lean, which helps the wall resist the soil.
  • Drain the water. Clean crushed stone behind the blocks and a perforated pipe at the base, routed to daylight, relieve water pressure, the main cause of bulging and collapse. Wrap the stone in filter fabric to keep soil out.
  • Glue the caps with a concrete adhesive.

When to call an engineer

Most US building codes require a permit and an engineered design for walls over 4 ft, measured from the bottom of the footing, and for walls that hold back a slope, a driveway, a pool or a building. Taller walls usually need geogrid reinforcement layers extending into the backfill. Check with your local building department and call 811 before you dig to locate buried utilities.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall length by the block length to get the blocks per course, multiply by the number of courses including the buried one, and add about 5% for cuts. A 30 ft wall 3 ft high in 16 × 6 in blocks takes about 170 blocks.

How deep should the first course be buried?

Most block manufacturers ask for at least one full course below grade, or 1 in for every 8 in of wall height, on a compacted gravel base about 6 in thick.

Do retaining walls need drainage?

Yes. Water pressure behind the wall is the main cause of failure. Use about 12 in of clean crushed stone behind the blocks and a perforated drain pipe at the base, routed to daylight.

When does a retaining wall need a permit?

Most US building codes require a permit and an engineered design for walls over 4 ft, measured from the bottom of the footing, or for walls that support a driveway, a slope or a building. Check with your local building department.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.