Retaining Wall Calculator

Enter your wall length and height and choose a block size to find out how many retaining wall blocks to buy. You also get the caps, the base gravel and the drainage stone in cubic yards and tons.

Important: Walls over 3-4 ft, or walls holding back a slope or driveway, usually need an engineer and a permit. Check your local code.

Your measurements

Units

Below grade, usually 1.

Cap blocks

About 1.4 for crushed stone. Ask your supplier.

Results update as you type.

Results

Enter your measurements to see results.

Front view and cross-section of your wall.

How to use this calculator

  1. Enter the wall length and its height above grade, the part you'll see.
  2. Choose a block size, or enter your block's face width, face height and depth from the label.
  3. Set how many courses are buried below grade (usually 1) and the extra for breakage.
  4. Choose whether you'll use cap blocks.
  5. Check the base gravel depth and the drainage stone width behind the wall. Results update as you type.

The base trench is taken as twice the block depth wide. Drainage stone fills the full height behind the blocks; if you'll top it with soil, you'll need a little less.

Worked example

A 20 ft wall standing 2 ft above grade, using 12 × 4 in blocks 7 in deep, one buried course, caps, a 6 in base, 12 in of drainage stone and 5% extra:

  1. Blocks per course: 240 in ÷ 12 = 20
  2. Courses: 24 in ÷ 4 = 6 above grade + 1 buried = 7
  3. Blocks: 20 × 7 = 140; plus 5% = 147 blocks
  4. Caps: 240 ÷ 12 = 20; plus 5% = 21 caps
  5. Base: 20 ft × 14 in wide × 6 in deep = 11.7 ft³ = 0.43 yd³ (0.6 tons)
  6. Drainage: 20 ft × 12 in × 28 in tall = 46.7 ft³ = 1.73 yd³ (2.4 tons)

Frequently asked questions

When does a retaining wall need an engineer or a permit?

Building codes based on the International Residential Code generally require an engineered design for walls that hold back more than about 4 feet of soil, or that support extra load such as a slope, a driveway or a building. Many towns also require a permit at lower heights. Check with your local building department before you start, and follow the block maker’s instructions.

How deep should the base be for a retaining wall?

A common base is about 6 inches of compacted gravel in a trench about twice as wide as the block is deep, with the first course of block buried below grade. A rule of thumb is to bury about 1 inch of wall for every 8 inches of height, at least one course. Taller walls and soft soils need more, so follow your block maker’s guide.

Why does a retaining wall need drainage stone?

Water trapped behind a wall pushes on it and is a leading cause of bulging and collapse. Fill about 12 inches behind solid blocks with clean, angular drainage stone (about 6 inches for hollow-core units), and add a perforated drain pipe at the base of taller walls, wrapped in or separated from the soil with filter fabric.

How many extra retaining wall blocks should I buy?

Add about 5 to 10 percent for broken blocks and cuts at the ends. Walls with corners, curves or steps in the base need more, and corner blocks are often sold separately. Buy all your blocks from one batch so the color matches.

How much does the gravel for a retaining wall weigh?

Crushed stone for the base and drainage weighs about 1.4 tons per cubic yard, though it varies with the stone. The calculator lets you change the density to your supplier’s figure. Bulk delivery is usually cheapest for more than a few bags.