Retaining Wall Block Calculator

Plan a segmental block retaining wall or raised garden wall: enter the wall and block sizes to get the number of blocks, courses and caps — and the volume of drainage gravel behind it.

Formulas tested · engine v1.0.0Runs on your deviceHow we calculate

Measurement system

Changing system converts the numbers you’ve entered, so your project stays the same size.

Most systems bury the first course; include it here. Walls over a modest height may need engineering — check the manufacturer’s limits and local code.

The visible face width of one block, from the product sheet.

%

For cuts at ends, curves and breakage.

If the system calls for a zone of drainage aggregate behind the blocks, enter its width to estimate its volume.

Your result—

Your estimate

—

Enter your measurements to see the quantity.

Blocks per course, courses, total blocks, caps and drainage gravel for a straight wall.

Find suppliers near you

Take your retaining wall block numbers to a local supplier and ask for a quote. Each button opens a search in your map app.

Leave empty to search near you. Only added to the map search — YardCalio never sees it or your location.

Opens Google, Apple or Bing Maps in a new tab. YardCalio does not recommend or rank businesses and is not paid by them. What to ask a supplier →

How to use the retaining wall calculator

  1. Measure the wall length along its face, and its total height including any course buried below ground.
  2. Enter the face length and height of one block from the product sheet.
  3. Add an allowance for cuts at ends and curves.
  4. Optionally enter the cap unit length and the width of the drainage aggregate zone your block system specifies.

Retaining wall formulas

Blocks per course = Wall length ÷ Block face length (round up)
Courses = Wall height ÷ Block face height (round up)
Blocks = Blocks per course × Courses × (1 + allowance)
Caps = Wall length ÷ Cap length
Drainage gravel = Length × Height × Gravel width

Worked example

A 24 ft garden wall, 30 in high including a buried course, with 16 × 6 in blocks, 16 in caps, 5% extra and 12 in of drainage gravel behind.

  1. Blocks per course = 288 ÷ 16 = 18
  2. Courses = 30 ÷ 6 = 5
  3. Blocks = 18 × 5 = 90; with 5% = 95 blocks
  4. Caps = 18 × 1.05 → 19
  5. Drainage gravel = 24 × 2.5 × 1 = 60 cu ft = 2.22 cu yd

Planning your wall

  • Follow the block system: base depth, leveling pad, setback, geogrid and drainage are specified by the manufacturer for each product — they differ between systems.
  • Height limits: manufacturers state the maximum height for a wall without reinforcement; taller walls, and walls carrying slopes, driveways or buildings, need an engineered design and may need a permit.
  • Stepped walls: where the ground slopes along the wall, calculate each stepped section at its own height and add them up.
  • Base and backfill: use the Gravel Calculator for the leveling pad and the Cubic Yards to Tons Calculator if aggregate is sold by weight.

Frequently asked questions

How many retaining wall blocks do I need?

Divide the wall length by the block face length to get blocks per course, divide the height by the block height to get courses, multiply, and add a small allowance for cuts.

Should I include the buried course in the wall height?

Yes. Most block systems bury at least part of the first course; include it so you order enough blocks.

How much gravel goes behind a retaining wall?

Multiply the wall length × height × the width of the drainage zone your block system specifies. The calculator does this when you enter the width.

Sources & methodology

Unit conversions use exact legal definitions. Material densities are typical planning values that vary in practice — see the calculation methodology for every constant, rounding rule and test.

  1. NIST Special Publication 811 — Guide for the Use of the International System of Units (SI) — Exact definitions of the inch, foot, yard, acre, pound and US gallon used for every conversion.