Skip to calculator
SimpleMaterialCalc
Menu

Retaining Wall Calculator: How Many Blocks Do I Need?

Enter each wall below to get wall blocks (with the buried first course), caps, base gravel, drainage stone, drain pipe and geogrid rolls, for any block size.

One-Click Project Starters

Fills Zone A

Wall Sections

1 zone

Block Face (length × height)

Measure the front of your block or check its spec sheet. For example, Nicolock lists Alta Wall and Firma Wall at 6 × 16 in, Alta Pro and Keystone Compac III at 8 × 18 in, and Stonegate at 6 × 10 in.

Cap Blocks

in behind

Clean stone behind the blocks, full height. 12 in is the usual minimum; leave blank for 12 in.

5%
0%10%20%

Covers cut and broken blocks. Use more for curved walls and corners.

Cost Estimator (optional)

$

Cost uses the wall block count. Excludes caps, stone, pipe, geogrid, delivery and sales tax.

Don’t know local pricing? Find prices near you

Project Results

1 zone

Wall Blocks

0 blocks

incl. 5% waste

Cap Blocks

0 caps

one per block along the top

Base Gravel

0.00 tons

crusher run

Drainage Stone

0.00 tons

#57 stone

Drain Pipe

0 ft

4 in perforated, behind the bottom course

Geogrid

— sq ft

Walls over 3 ft; follow the block maker's guide

The link reopens this exact estimate: every zone, setting and price.

Collect estimates from several calculators on one page to print or send.

Spot a mistake? Report a correction

Estimates only. Based on common block-maker guidance: first course buried 6 in or 10% of the height, a 24 × 6 in gravel base, and drainage stone behind the wall. Wall heights for geogrid (over 3 ft) and engineering (over 4 ft) are measured from the bottom of the buried course.

Field Guide

How Many Retaining Wall Blocks Do I Need?

Quick answer: Blocks per course = wall length ÷ block length; courses = (wall height + the buried course) ÷ block height. A 20 ft wall 2 ft high in 16 × 6 in blocks is 15 blocks × 5 courses = 75 blocks, 79 with 5% extra, plus 16 caps.

A segmental retaining wall is stacked courses of block on a gravel base, with drainage stone behind it. Count the courses, count the blocks in each, then add the caps, base gravel, drainage stone and pipe.

1. How to Calculate a Retaining Wall (The Math Explained)

Here's the exact process this calculator uses, with a garden wall 20 ft long and 2 ft high in medium blocks (16 in long, 6 in high) as the example.

  1. 1

    Count the courses

    Bury the first course: 6 in, or 10% of the wall height if that's more. Then count the courses for the height above ground.

    Buried  = 6 in ÷ 6 in = 1 course
    Exposed = 24 in ÷ 6 in = 4 courses
    Total   = 5 courses (2.5 ft of block)
  2. 2

    Count the blocks

    Divide the length by the block length and round up, then multiply by the courses. Caps run one course along the top.

    Per course = 240 in ÷ 16 in = 15 blocks
    Blocks = 15 × 5 = 75, with 5% waste = 79
    Caps = 15, with 5% waste = 16
  3. 3

    Base gravel and drainage stone

    The base is a trench 24 in wide and 6 in deep. Drainage stone fills 12 in (you can change this) behind the wall for the full height of block.

    Base  = 20 × 2 × 0.5 = 20 cu ft = 0.74 cu yd (1.1 tons)
    Stone = 20 × 1 × 2.5 = 50 cu ft = 1.85 cu yd (2.6 tons)
    Drain pipe = 20 ft

2. Base, Drainage & Geogrid

Retaining wall materials
MaterialWhere it goesHow much
Base gravel (crusher run, 3/4 in minus)Compacted trench under the first course24 in wide × 6 in deep
Drainage stone (#57, clean)Behind the blocks and in the cores12 in wide, full wall height
Perforated drain pipe (4 in)Behind the bottom course, draining to daylightLength of the wall
GeogridBetween courses, reaching back into the soilWalls over about 3 ft; 60% of the height deep

This calculator adds geogrid for walls taller than 3 ft, counting the buried course: a layer on top of the first course and every second course after that, and works out rolls of 4 × 50 ft or 6 × 150 ft. Block makers' charts vary with soil, slope and loads above the wall, so check yours.

3. Building Tips

  • Level the first course. Every course follows it. Take your time compacting the base and leveling the first row.

  • Step the base on slopes. On sloping ground, step the base down in block-height steps so every course stays level.

  • Drain it. Most retaining walls fail from water pressure, not weak block. Use clean stone and a pipe that drains to daylight.

Pro tip: over 4 ft needs an engineer

Many building codes require a permit and an engineered design for retaining walls over 4 ft (measured from the bottom of the buried course; some codes measure from the bottom of the base), or for any wall holding up a driveway, slope or building. The calculator warns you when a wall is that tall.

4. Frequently Asked Questions

How many retaining wall blocks do I need?

Count the courses, including one buried below ground, and multiply by the blocks in each course. A 20 ft wall 2 ft high with 16 × 6 in blocks has 4 courses above ground plus 1 buried, and 15 blocks per course: 75 blocks, or 79 with 5% extra, plus 16 caps.

How deep should the first course of a retaining wall be buried?

Block makers commonly call for burying the first course at least 6 in, or 10% of the wall height, whichever is more. It sits on a compacted gravel base, typically 24 in wide and 6 in deep.

How much gravel do I need for a retaining wall?

Two kinds: a compacted base (usually crusher run) about 24 in wide and 6 in deep under the wall, and clean drainage stone such as #57 about 12 in deep behind it. For a 20 ft wall 2 ft high, that is about 1.1 tons of base and 2.6 tons of drainage stone.

How tall can a retaining wall be without an engineer?

In most places, about 4 ft measured from the bottom of the buried course, so a wall showing 3½ ft above ground can already be at the limit. Walls over that, or holding up a driveway, slope or building, usually need an engineered design and a permit. Your local building department sets the exact rule; some set it lower.

What is the 1/3 rule for retaining walls?

It's an old rule of thumb used two ways: bury about a third of the wall's height, or make the base about a third as wide as the wall is tall. Segmental block walls aren't sized by it; they follow the block maker's tables, usually one buried course (6 in or 10% of the height) on a 6 in compacted gravel base.

How deep should the trench be for a 4 ft retaining wall?

About 12 in deep and 24 in wide for 6 in tall blocks: 6 in of compacted crusher run plus the buried first course. Taller blocks or soft, wet ground need a deeper trench.

When does a retaining wall need geogrid?

Walls up to about 3 ft, counting the buried course, can often stand without it. Taller walls usually need layers of geogrid running back into the soil, typically about 60% of the wall height long, starting on top of the first course and every other course after that. Walls over 4 ft usually need an engineered design and a building permit. The calculator also counts rolls: each roll is cut into pieces that run back into the soil, so the count depends on the roll size.

Do I need a drain pipe behind a retaining wall?

Yes for most walls. A 4 in perforated pipe along the back of the bottom course, surrounded by drainage stone, carries water away so it doesn't build up pressure behind the wall. The calculator counts one pipe the length of the wall.

0 blocks

0.0 tons stone

Full Totals
Order summary copied!