Skip to content
Snapline

Retaining Wall Calculator

Blocks, caps and gravel for a segmental retaining wall.

Unit system

Above ground, not counting the base.

The length of the face, as printed on the label.

To count the cap blocks along the top.

With the trench width, this gives the base gravel.

The gravel behind the wall, as wide as the wall is tall.

Covers cut blocks, breakage and gravel that settles.

Examples: ,

??

Enter wall length, wall height, block width and block height to see what your wall needs.

Short answer

Divide the wall height by the block height, and round up, to get the courses. Divide the wall length by the block width, and round up, to get the blocks in a course. Multiply the two and add extra for cuts. This counts material and is not a wall design.

On this page

How do I use the retaining wall calculator?

  1. Enter the length and the height of the wall, and the size of one block: the length of its face and its height. The label on the block gives both.
  2. To count the cap blocks, enter the length of one cap.
  3. For the gravel, enter the width and the depth of the base trench together, and the width of the drainage gravel behind the wall.
  4. Keep the extra at 10%, or change it.

How are the blocks counted?

The calculator counts whole blocks, rows first. Block size, trench and drainage width are your design, so it has no defaults for them.

  • Courses (rows)Courses = round up (H ÷ k)
  • Blocks in a coursePer course = round up (L ÷ b)
  • Wall blocksBlocks = round up (Courses × Per course × (1 + x ÷ 100))
  • Cap blocksCaps = round up (L ÷ c × (1 + x ÷ 100))
  • Base gravelBase = L × t × d × (1 + x ÷ 100)
  • Drainage gravelDrainage = L × r × H × (1 + x ÷ 100)

Round up means to the next whole number. Caps and gravel show only when you enter c, t and d together, or r.

What the symbols mean
SymbolMeaningUnit
LLength of the wallft (m)
HHeight of the wallft (m)
bWidth of the face of one blockin (cm)
kHeight of one blockin (cm)
cLength of one cap blockin (cm)
tWidth of the base trenchin (cm)
dDepth of the base gravelin (cm)
rWidth of the drainage gravelin (cm)
xExtra for cuts, breakage and settling%

Worked example

A wall 20 feet long and 3 feet high, built of blocks 12 inches wide and 6 inches high, with 12 inch caps, a base trench 12 inches wide and 6 inches deep, a drainage zone 12 inches wide, and the default 10% extra.

You enter
Wall length20' 0"
Wall height3' 0"
Block width12"
Block height6"
Cap block length (optional)12"
Base trench width (optional)12"
Base gravel depth (optional)6"
Drainage gravel width (optional)12"
Extra for waste10%
You get
Wall blocks132
Cap blocks22
Base gravel0.41 yd³
Drainage gravel2.44 yd³
Courses (rows)6
Blocks per course20

A common mistake

Typing a size in the wrong unit. The calculator stops when one block or one cap is bigger than the wall, and it names the field to fix, so check the unit next to that number. Base gravel needs both the trench width and the depth: if you fill in only one, it asks for the other and shows no result.

Why does the calculator round up to whole blocks?

You cannot buy part of a block, so each row of the wall takes whole blocks, and the last one is cut to fit. The same goes for the height: a wall that is not an exact number of block heights needs one more course.

The table shows what happens on a 25 foot wall when the blocks do not divide it evenly. The calculator always rounds up.

Blocks in one course of a 25 ft wall
Block widthWall ÷ blockPer course
8 in (20.3 cm)37.5038
12 in (30.5 cm)25.0025
16 in (40.6 cm)18.7519
18 in (45.7 cm)16.6717

Do I count the buried course?

The calculator counts the height you enter. If your design buries the first course, or part of it, below the finished ground, add that depth to the height, or the blocks will come up one row short. Belgard's guide says to bury at least 6 inches of the block below the finished grade line. Your block maker's guide gives the number for your product.

A 20 ft wall of 12 × 6 in blocks, 3 ft above ground
Height enteredCoursesWall blocks
3 ft above ground6132
Plus 6 in buried7154

How much base and drainage gravel?

A segmental wall sits on a compacted gravel base, and gravel behind it lets water drain. The calculator turns the sizes you enter into cubic yards. The gravel calculator shows how far a cubic yard goes and how to turn it into tons or bags.

The calculator has no default for the trench or the drainage width, because they come from your wall design. The table shows what two installation guides call for. They are minimums from those makers, and your block's own guide comes first. The NCMA adds that water should be directed away from the wall whenever possible, and that the gravel fill and drain pipe should not be relied on as the primary drainage.

From the Belgard and NCMA installation guides
WhatAt least
Leveling pad depth, packed6 in (15.2 cm)
Pad past the first course, front and back6 in (15.2 cm)
Drainage gravel behind the wall12 in (30.5 cm)

When should I ask an engineer?

This calculator counts material. It does not design the wall. How tall a wall can be, how deep its base must be and whether it needs reinforcement depend on the soil, the slope above it, any load such as a driveway or a building, and your local code. Belgard says a wall without reinforcement has a height limit set by each product.

The NCMA installation guide tells the reader to learn the local code first, to see if the job needs engineering, and says site conditions should be evaluated by a qualified engineer.

Before you buy

Ask your building department what they require, and whether you need a permit. For a tall wall, or a wall that holds up a slope near a building, hire an engineer.

Frequently asked questions

How many retaining wall blocks do I need per square foot of wall?

Divide 144 square inches, one square foot, by the area of the face of one block. A block 12 inches wide and 6 inches high has a face of 72 square inches, so it takes 2 blocks per square foot. The calculator counts whole blocks in rows instead, which matters when the wall does not divide evenly.

How many cap blocks do I need?

Divide the wall length by the length of one cap block, add your extra, and round up. Enter the cap length in the calculator and it does this for you. The cap length is on the product label, and it can differ from the width of the wall block.

Does this include the drain pipe, the geogrid and the fabric?

No. It counts wall blocks, cap blocks and the volume of the base and drainage gravel. The drain pipe, the geotextile fabric and any geogrid reinforcement depend on your wall design and your local code.