Free · No sign-up · Feet or meters

Retaining Wall Calculator

Enter the wall length, the height above ground, and your block size to get the number of wall blocks, rows, and caps.

Enter your measurements

Results update as you type. Switch to metric with the button on the right.

Job: Retaining Wall
Estimate

Your result shows here once the page finishes loading.

How to use the retaining wall calculator

  1. Measure the wall length along its face.
  2. Enter the height you want above ground.
  3. Enter the face size of your block: its length and height.
  4. Keep the buried base row on. The first course sits below grade to lock the wall in.

The formula

Blocks per row = wall length (in) ÷ block length, rounded up. Rows = wall height (in) ÷ block height, rounded up, plus one buried base row. Blocks = blocks per row × rows. Caps = one row.

Worked example

A 20 ft long, 3 ft tall wall with 16 × 6 inch blocks needs 15 blocks per row and 6 rows above ground plus 1 buried row: 105 blocks and 15 caps.

Good to know

Common questions

How many retaining wall blocks do I need?

Divide the wall length by the block length for blocks per row, divide the height by the block height for rows, and multiply. Add a buried base row.

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

Many areas allow walls up to 3 or 4 feet without a permit or engineering, measured from the bottom of the footing. Rules vary, so check with your building department.

Do retaining walls need drainage?

Yes. Gravel backfill and a drain pipe behind the wall let water escape. Trapped water is the most common reason these walls fail.

Related guides

Related calculators

More concrete & masonry calculators →   All calculators →

Estimates are a starting point for shopping, not a substitute for a contractor's exact measurement. Always round up, check the coverage printed on your product, and keep your receipt for returns.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.