Skip to content

Retaining Wall Block Calculator

Building a retaining wall to level a slope or hold back a garden bed? Enter the wall length and height, pick your block size and get the number of blocks (including the buried first course), the compacted gravel for the base trench, the drainage stone for behind the wall and a full cost estimate.

ft
ft

The calculator adds one buried course below grade.

%
$
$

Your estimate

Blocks needed
111 blocks
Estimated total cost
$618.88
Courses (incl. one buried)
7 courses
Blocks per course
15 blocks
Base gravel (6″ trench)
0.89 tons
Drainage stone (12″ column)
3 tons
Block cost
$444.00
Gravel cost
$174.88

The first course is fully buried for stability — 1 course deep, or about 1″ per foot of wall height on slopes.

Walls over 3–4 ft (0.9–1.2 m), walls holding a driveway or slope above, and terraced walls usually need a permit, geogrid reinforcement and an engineered design.

Drainage assumes a 12″ (300 mm) column of clean stone behind the wall with a perforated drain pipe at the base. Without drainage, water pressure is what knocks walls over.

How to use this calculator

  1. Measure the wall length and the exposed height — the part you'll see. The calculator adds one buried course automatically.
  2. Choose your block size. Standard 16 × 6 × 12″ blocks cover 0.67 sq ft of face; the 18 × 8″ size covers a full square foot.
  3. Keep 5% waste, or raise it to 10% if your wall has corners, curves or steps.
  4. Enter local prices for blocks and gravel to see the total material cost.

How the retaining wall calculation works

The wall is built course by course: the exposed height divided by the block height gives the visible courses, plus one fully buried course for stability. A 20 ft long, 3 ft high wall in standard 16 × 6″ blocks takes 6 exposed courses plus 1 buried, and 15 blocks per course: 7 × 15 = 105 blocks, or 111 with 5% waste.

The base is a trench about 18″ wide with 6″ of compacted gravel — for this wall that's 15 cu ft, roughly 0.9 tons of road base. Behind the wall sits a 12″ column of clean drainage stone from base to top: about 3 tons for a 20 × 3 ft wall, plus a perforated drain pipe at the bottom.

At $4 per block and $45 per ton of gravel, the materials come to about $444 for blocks and $175 for gravel — roughly $620 for the whole wall.

In metric, a 6 m wall 0.9 m high in 400 × 200 mm blocks takes 6 courses of 15 blocks (90, or 95 with waste), about 0.8 tonnes of base gravel and 2.6 tonnes of drainage stone.

Pro tips

  • Bury the first course completely, and step the base uphill when the ground slopes — each step is one block height.
  • Compact the base gravel with a plate compactor and check level in both directions; every error in the base course is visible at the top.
  • Stack the drainage stone and wrap it in landscape fabric where it meets soil, so fines don't clog it. Add a 4″ perforated pipe at the base, draining to daylight.
  • Sweep and check each course before starting the next; most blocks interlock with a lip or pins that set the batter (backward lean) automatically.
  • Anything over 3–4 ft, supporting a driveway, or terraced is structural: expect permits, geogrid every other course and an engineered design.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall face area by the block face. Standard 16 × 6″ blocks cover 0.67 sq ft, so a 20 × 3 ft wall (60 sq ft) takes 90 visible blocks, plus one buried course of 15: 105 total, or 111 with 5% waste.

How high can I build a retaining wall without a permit?

Most US jurisdictions allow 3–4 ft (measured including the buried course) before requiring a permit and engineering. Walls holding a slope above, a driveway or a structure need a design at any height. Always call your building department first.

How much gravel do I need behind a retaining wall?

A 12″ (300 mm) column of clean ¾″ drainage stone from the base to the top of the wall: about 0.5 tons per 10 sq ft of wall face. A 20 × 3 ft wall needs roughly 3 tons, plus about 0.9 tons for the 6″ compacted base trench.

Do I need drainage behind a retaining wall?

Yes — trapped water is what knocks retaining walls over. Use clean angular stone behind the wall, a perforated drain pipe at the base sloped to daylight, and landscape fabric between the stone and the soil.

What is the best block for a retaining wall?

Segmental concrete blocks with an integral lip or pins (Allan Block, Versa-Lok and similar) are the DIY standard: they self-align, lean into the hill correctly and need no mortar. Standard 16 × 6 × 12″ blocks weigh about 40 lb each.

How much does a retaining wall cost per foot?

Materials for a DIY segmental wall run about $25–35 per linear foot for a 3 ft high wall: roughly $22 of blocks plus $9 of gravel per foot. Professionally installed walls typically cost $40–60 per linear foot.

These results are estimates for planning and budgeting. Actual quantities depend on site conditions, products and workmanship. Check structural and code requirements with a licensed professional before you build.