Concrete & masonry

Retaining Wall Calculator

Estimate retaining wall blocks, caps, and base and drainage gravel for a segmental block wall of any length and height.

  • Free
  • No sign-up
  • US & metric units
  • Instant results
Wall size
ft
ft
Block size
in
in
in
in
%
$
$

You need

0
wall blocks (incl. waste)
  • Courses—
  • Blocks per course—
  • Cap blocks—
  • Drainage gravel (12 in behind wall)—
  • Base gravel (6 in deep)—
  • Wall face area—
  • Block & cap cost—

Follow the block manufacturer's installation guide for setback, geogrid and drainage.

How to estimate a block retaining wall

  1. Measure the length along the face of the wall, and the height you want above finished grade.
  2. Enter your block size. The face length and height are printed on the product listing — common segmental blocks are around 16–18 in long and 4–8 in high.
  3. Bury the first course. Most manufacturers recommend burying the base course (about 1 in of buried depth per 8 in of wall height, with a minimum of about 6 in). One buried course is typical for short walls.
  4. Add caps if you want a finished top, and a small waste allowance for cut blocks at the ends and corners.

Retaining wall formulas

Blocks per course = Wall length (in) ÷ Block length (in), rounded up
Courses = Height (in) ÷ Block height (in), rounded up + buried courses
Blocks = Blocks per course × Courses
Caps = Wall length (in) ÷ Cap length (in)

Worked example

A 30 ft wall standing 3 ft above ground, using 16 × 6 in blocks: 360 ÷ 16 = 23 blocks per course; 36 ÷ 6 = 6 visible courses plus 1 buried = 7 courses. That's 161 blocks before waste, plus 23 caps.

Block quantity chart

16 × 6 in blocks, one buried course, no waste:

Wall (length × height)Blocks / courseCoursesTotal blocksCaps
20 ft × 2 ft1557515
20 ft × 3 ft15710515
30 ft × 3 ft23716123
40 ft × 3 ft30721030
50 ft × 4 ft38934238

Base and drainage

Most retaining walls that fail do so because of water pressure behind them, not the blocks. A typical gravity-wall build includes:

  • A leveling base of compacted crushed stone about 6 in deep and roughly 12 in wider than the block depth.
  • Drainage aggregate — clean ¾ in crushed stone — filled at least 12 in behind the blocks for the full height.
  • A perforated drain pipe at the base of the drainage stone, outletting to daylight.
  • Filter fabric between the drainage stone and the native soil to keep fines out.

The calculator estimates both gravel volumes; use the gravel calculator to convert them to tons.

Height limits and permits

In many US jurisdictions, retaining walls over 4 ft — measured from the bottom of the footing — need a permit and a design by a licensed engineer, as do shorter walls holding back a slope, a driveway or a building. Taller walls also typically need geogrid reinforcement layered into the backfill. Check local rules before you dig.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall length in inches by the block length to get blocks per course, divide the height in inches by the block height (plus any buried courses) to get the number of courses, and multiply. Add about 5% for cuts.

How many blocks are in a 3 ft tall wall?

With 6 in high blocks, a 3 ft wall has 6 visible courses plus one buried — 7 courses. Each 10 ft of wall with 16 in blocks needs 8 blocks per course, so about 56 blocks per 10 ft.

How much gravel do I need behind a retaining wall?

Plan on a 12 in wide zone of drainage stone for the full wall height. For a 30 ft wall with 7 courses of 6 in block (3.5 ft), that is about 3.89 cubic yards, plus a 6 in leveling base.

How deep should the first course be buried?

A common guideline is 1 in of embedment for every 8 in of wall height, with a minimum of about 6 in — in practice, one full course for most short walls. Follow your block manufacturer's guide.

Do I need a permit for a retaining wall?

Often for walls over 4 ft tall (measured from the bottom of the footing) or any wall supporting a surcharge such as a driveway, slope or structure. Requirements vary — check with your local building department.

Last updated November 10, 2026. Results are estimates; always confirm quantities with your supplier before ordering.

Related calculators