Free Retaining Wall Calculator

A retaining wall calculator estimates how many segmental wall blocks and caps you need, including the buried first course, plus the gravel base, drainage stone, drain pipe, fabric, and cost. Enter one or more wall sections for a straight or stepped wall. Everything is calculated privately in your browser.

Retaining wall calculator

Wall sections

Decimal feet. Exposed height is above finished grade, not counting the cap. Add a section for each step.

Block

Face width of one block, side to side.

Height of one course.

Front to back. Sets the base trench width.

Length of one cap unit.

Typical count. Check your supplier.

5% for straight walls, 10% with curves or corners.

Base and drainage

6 in of compacted crushed stone is typical.

12 in of clean stone behind the blocks is typical.

Unit prices (optional)

Try an example

Your estimate

Enter the wall length and exposed height, then select Calculate wall. Or load an example.

Formulas and assumptions

  • Blocks: blocks per course (length / block face length, rounded up) x (exposed courses + buried courses), then waste, rounded up.
  • Buried course: at least 6 in or 1 in per 8 in of total wall height (exposed height / 7), whichever is more, rounded up to whole courses.
  • Caps: total wall length / cap length plus waste. Adhesive assumes about 15 ft of cap per 10 oz tube.
  • Gravel base: trench as wide as the block depth plus 12 in, at the base depth you enter. Tons use 1.4 tons per cubic yard.
  • Drainage: clean stone at the width you enter for the full installed block height, a 4 in perforated pipe along the wall, and fabric between the stone and soil.
  • Not included: setback, curves, corners, stairs, geogrid quantity, excavation, backfill soil, delivery, tax, and labor. Block makers publish their own setback and height charts.

How to calculate retaining wall materials

  1. Measure each wall section

    Measure the length and the exposed height above finished grade in feet. Add a section for each height in a stepped wall.

  2. Pick the block

    Choose a block preset or enter the face length, height, depth, cap length, and pallet count from your supplier.

  3. Set base and drainage

    Keep the 6 in gravel base and 12 in drainage stone defaults or enter your own design values and waste allowance.

  4. Add prices and review

    Enter optional unit prices, calculate, then review blocks, caps, pallets, gravel, stone, pipe, fabric, adhesive, cost, and height warnings.

Retaining wall calculator FAQ

How many retaining wall blocks do I need?

Divide the wall length in inches by the block face length to get blocks per course, then multiply by the number of courses. Count the exposed courses plus at least one buried course, and add about 5 percent for cuts. A 20 ft wall of 16 in blocks needs 15 blocks per course.

How deep should the first course of a retaining wall be buried?

Most block makers say to bury at least 6 in, or 1 in for every 8 in of total wall height, whichever is more. For 4 ft of exposed wall that is about 7 in, so two courses of 6 in block. Sloped ground in front of the wall needs more.

How much gravel do I need for a retaining wall base?

A typical base trench is 6 in of compacted crushed stone, as wide as the block depth plus 6 in in front and 6 in behind. For 10 in deep block that is 22 in wide. This calculator converts the volume to tons at 1.4 tons per cubic yard.

Do I need drainage behind a retaining wall?

Yes. Place about 12 in of clean drainage stone behind the blocks for the full height, a 4 in perforated drain pipe at the base that drains to daylight, and landscape fabric between the stone and the soil so fines do not clog it.

When does a retaining wall need geogrid or an engineer?

Many segmental block systems need geogrid reinforcement above about 3 ft. Under the International Residential Code, walls retaining more than 4 ft of unbalanced soil need an engineered design, and slopes, driveways, or parked cars above the wall lower that limit. Check your local code.

Run a food truck? Find your next curb spot

My Curb Spot helps food truck owners discover and book event spots and daily locations.

Explore My Curb Spot