Calcuva
CN · Construction Engine

Retaining Wall Calculator

Plan a segmental block retaining wall from its length, height and block size. Instantly get total wall blocks, the number of courses, cap blocks for the top row, cubic feet of compacted base gravel, and an optional material cost.

Wall Blueprint

Dimensions & Block Spec

Wall Dimensions (ft)
Block Size (in)
Price Per Block ($)

Optional — leave at 0 to skip cost.

Footing Protocol

Bury the first course so the buried block height roughly equals 1 inch per 8 inches of wall height. A level, compacted gravel base is what keeps a retaining wall from heaving.

How to use this tool

1
Wall Dimensions

Enter the finished length and height of the wall in feet.

2
Block Size

Input the block face length and block height in inches (defaults: 12 in face, 4 in height).

3
Review Materials

Read off the total blocks, courses, cap blocks and base gravel, then add an optional price per block for cost.

Pro Tip

Add 5-10% extra blocks for cuts and breakage at corners and curves, and buy them in the same batch so the color matches.

Total Wall Blocks
180Blocks
Estimated Material Cost
$450

Wall blocks only (excludes caps, base & adhesive)

Wall Face Area
60.0 ft²

20 ft × 3.0 ft

Courses (Rows)
9
Blocks / Course
20
Cap Blocks
20
Base Gravel
5.0ft³

Coursing Layout

9 rows × 20 wide

The wall stacks 9 courses high, each spanning 20 blocks. Add the top row of 20 cap blocks to finish and protect the wall.

Base Gravel

0.19 yd³

Wall + Caps

200 total

Build a Solid Base

This estimate assumes a 6 in deep by 6 in wide compacted gravel trench under the first course. A wider base is recommended for taller walls and clay soils.

Don't Forget Caps

Cap blocks are counted separately (20 units) because they are often a different SKU and are bonded with masonry adhesive rather than stacked dry.

Estimate a Retaining Wall Without the Guesswork

A retaining wall holds back soil, levels a slope, and creates usable garden space — but ordering the wrong amount of block is an expensive mistake. This retaining wall calculator turns four simple measurements (wall length, wall height, block face length, and block height) into a complete material list: total wall blocks, how they stack into courses, the cap blocks for the top row, and the cubic feet of compacted gravel for the base. Add an optional price per block and you'll also see the material cost in your currency.

The Formulas Behind the Numbers

The math mirrors how a wall is actually built, row by row:

Courses = ⌈ wall height × 12 ÷ block height ⌉ Blocks per course = ⌈ wall length × 12 ÷ block face length ⌉ Total blocks = courses × blocks per course Cap blocks = blocks per course Base gravel (ft³) = wall length × 0.5 × 0.5

Heights and lengths are entered in feet and converted to inches (× 12) so they divide cleanly by the block dimensions. Both block counts are rounded up with the ceiling function, because you can't buy a fraction of a block and the wall must reach full height and length. The base figure assumes a standard 6 in deep by 6 in wide gravel trench (0.5 ft × 0.5 ft) running the length of the wall.

A Worked Example: A 20 ft Garden Wall

Say you're terracing a backyard slope with a wall that is 20 feet long and 3 feet high, using common segmental blocks with a 12 in face length and 4 in height.

  • Courses: 3 ft × 12 = 36 in, ÷ 4 in = 9 courses.
  • Blocks per course: 20 ft × 12 = 240 in, ÷ 12 in = 20 blocks.
  • Total wall blocks: 9 × 20 = 180 blocks.
  • Cap blocks: 20 caps for the finished top.
  • Base gravel: 20 × 0.5 × 0.5 = 5 ft³, about 0.19 yd³.

At a price of $2.50 per block, the 180 wall blocks come to $450 in material, before caps, gravel, and adhesive. Add a 10% waste buffer and you'd order roughly 198 blocks to cover cuts and breakage.

Why Cap Blocks Are Counted Separately

Cap blocks finish the top of the wall and shed water away from the cores below. They're usually a different product — flatter and often solid — and are bonded with construction adhesive rather than dry-stacked. Because of that, the calculator lists them on their own line so you can place the right order with your supplier instead of assuming the wall blocks include a top.

Practical Tips for a Wall That Lasts

  • Level the base obsessively. Every block above sits on the first course, so a level, compacted gravel base is the single most important step.
  • Bury the first course. Embed about one block for short walls, deeper for tall ones, to anchor the wall against soil pressure.
  • Plan drainage. Add drainage gravel and a perforated pipe behind the wall; this tool sizes the base trench, not the backfill.
  • Check local rules. Walls over about 4 feet often require an engineer and a permit — keep tiers shorter or stepped where you can.

Pair It With Your Other Estimates

A retaining wall rarely stands alone. If you're pouring a concrete footing for a taller or engineered wall, size it with the concrete calculator. Building a matching mortared garden wall on top? Cross-check unit counts with the brick calculator. Used together, these tools give you a defensible material order before you ever call the yard.

Common Questions

Expert FAQ

Expert Analysis

Related Reading