Skip to content
EasyDIYCalcs
Calculators
Language: English

Retaining Wall Calculator

Enter the wall’s length and height and the block size to see how many retaining wall blocks and caps to buy, and how much gravel for the base and drainage.

Units
Wall

The exposed height, from the finished ground in front to the top of the wall, caps not included. For a wall that steps up a slope, enter each level as its own wall.

Block

The size of the block’s face, as listed by the maker. Corners and curves take some cuts: the extra covers them.

Courses below ground

Most systems bury the first course (Allan Block: at least part of it). Check your block’s instructions.

Gravel

A compacted base under the first course (Allan Block, walls under 4 ft: 18 in wide, 4 in deep) and drainage stone behind the wall (12 in). Leave a field empty to skip it.

Result

Enter your measurements to see the result.

Something look wrong? Report a problem

How it’s calculated

  1. Courses = exposed height ÷ block height, rounded up, plus the courses buried below ground (1 by default: most systems bury the first course).
  2. Blocks per course = wall length ÷ block face length, rounded up. Blocks = courses × blocks per course, plus 5% extra by default for cuts at corners and curves (an editable estimate).
  3. Caps = wall length ÷ cap length, rounded up.
  4. Base gravel = length × base width × base depth: Allan Block’s guide for walls under 4 ft uses a trench 18 in wide with 4 in of compacted base. Drainage stone = length × 12 in × the full height of the block stack, buried courses included.

Worked example: a 30 ft garden wall, 3 ft high

  • Allan Block AB Classic, face 18 × 8 in (about 1 sq ft per block)
  • Courses: 36 ÷ 8 = 4.5 → 5, plus 1 buried = 6
  • Per course: 360 ÷ 18 = 20 → 120 blocks, 126 with 5% extra
  • Caps 12 in long: 30
  • Base 30 ft × 18 in × 4 in = 15 cu ft (0.56 cu yd); drainage stone 30 ft × 12 in × 4 ft = 120 cu ft (4.44 cu yd)

Metric example

A 10 m wall, 0.8 m high, in 455 × 200 mm blocks: 4 courses plus 1 buried = 5, 22 per course = 110, 116 with 5% extra. Base 600 × 150 mm: 0.9 m³; drainage stone 300 mm × 1 m: 3 m³.

Block sizes

  • Allan Block AB Classic: 8 in high × 18 in long × 12 in deep, about 1 sq ft.
  • Versa-Lok Standard: 6 × 16 × 12 in, 0.667 sq ft, laid with two pins.
  • Pavestone RockWall: Small 4 × 11¾ in (144 per pallet = 46.5 sq ft); Large 6 × 17.44 in.

Dimensions vary by manufacturer and region: check the face size of the block you buy.

Tips

  • Gravel is sold by the ton in many yards: convert with the gravel calculator.
  • For a wall that steps up a slope, work out each level as a separate wall.

Limits

The calculator counts blocks and gravel; it doesn’t design the wall. How high you can build without geogrid depends on the block system and the soil. Many codes require an engineered design for walls holding back more than 4 ft of soil (IRC R404.4), or less with a slope, driveway or building above: check with your building department and follow the block maker’s instructions.