Masonry · Retaining wall tool

Retaining Wall Block Calculator

Estimate retaining wall blocks, cap units and base gravel from wall dimensions and block size.

What this calculator measures

Retaining wall blocks are sold by the piece, and the count depends on the wall length, height and the block dimensions, plus a waste allowance for cuts and corners. Base gravel and drainage stone are separate materials that depend on the wall length and height. This calculator converts wall dimensions into a block count, cap count and base gravel volume.

The tool keeps the block count, cap count and base gravel separate, so each material can be ordered independently.

How the calculation works

Blocks = ceil(wall length / block length) × ceil(wall height / block height) × (1 + waste). Caps = ceil(wall length / cap length). Base gravel = wall length × base width × base depth.

The calculator computes the number of blocks per course from the wall length and block length, the number of courses from the wall height and block height, and multiplies them for the total block count, applying waste. Cap units are computed from the wall length and cap length. Base gravel is computed from the wall length, base width and base depth, converted to cubic yards.

Because retaining walls require a level, compacted base and proper drainage, the base gravel and drainage stone are separate line items that must not be skipped.

Worked example

Using a 30 ft long, 3 ft high wall, 12 in × 4 in blocks, 16 in caps and a 6 in × 12 in base, the calculator returns:

Wall area90 ft²
Blocks per course30
Courses9
Blocks (with 10 % waste)297
Cap units23
Base gravel1.67 yd³

A 30 ft by 3 ft wall needs 30 blocks per course and 9 courses, or 270 blocks. Adding 10 % gives 297. Cap units at 16 in are 23. Base gravel at 6 in deep and 12 in wide is 1.67 yd³.

Reading the result: the block count is the number to order; the cap count is a separate line; the base gravel is the foundation material.

Inputs, field by field

  • Wall length and height (ft): The overall dimensions of the wall. Height is measured from the base to the top of the cap.
  • Block length and height (in): The actual block dimensions. Common sizes are 12 in × 4 in and 16 in × 6 in.
  • Cap length (in): The length of one cap unit.
  • Base width and depth (in): The dimensions of the compacted gravel base beneath the wall.
  • Waste (%): 10 % for straight walls; 12–15 % for walls with corners and curves.

Why the inputs matter

Wall dimensions drive the block count; block size determines how many fit per course. Base gravel depends on the base dimensions. Waste adjusts for cuts and corners.

Units and conversion checks

Wall dimensions in feet, block and base dimensions in inches. The calculator converts inches to feet internally.

Common mistakes with this calculation

  • Using nominal instead of actual block dimensions.
  • Forgetting the base gravel, which is essential for drainage and stability.
  • Ignoring that corners and curves waste more material.
  • Underestimating the number of courses by using the wall height without accounting for the cap.
  • Ordering blocks without checking the manufacturer's specifications for the specific product.

Ordering and materials

Order blocks by the piece or pallet, caps separately, and base gravel by the cubic yard. Add a waste allowance and one extra pallet for defects. Confirm the block's specifications and installation requirements with the manufacturer.

What this calculator does not decide

This tool does not determine structural adequacy, drainage design, geogrid requirements, or code compliance. Those depend on the wall height, soil, loads and the applicable building code. Where safety or regulated construction is involved, the project documents and qualified professionals take precedence.

Planning estimate only: Verify measurements, product data, project specifications and applicable requirements before purchasing or constructing.

Field verification checklist

Before ordering, re-measure the wall, confirm block dimensions and specifications, check the base and drainage requirements, and verify the count against the manufacturer's guide.

Practical considerations for retaining walls

A retaining wall is a structural element, and its design depends on the height, the soil, the surcharge (what is behind and above the wall) and the drainage. The quantity estimate covers only the materials. The wall must be designed by a qualified professional for anything beyond a low garden wall, and many jurisdictions require a permit and engineering for walls over 3 or 4 ft.

Drainage is the most common cause of retaining wall failure. Water behind the wall creates hydrostatic pressure that can push the wall over. A proper wall includes a drainage layer (gravel or drainage composite), a filter fabric, and weep holes or a perforated drain pipe. The base gravel in this calculator is the foundation, not the drainage layer.

Geogrid reinforcement is required for taller walls and is installed between courses at specified intervals. The type and spacing depend on the wall height and the soil. The quantity estimate does not include geogrid, which is a separate line item.

Related BuildNumeris tools

Construction estimates are interconnected. Open the related tools below to build a connected takeoff.

Practical workflow

Measure the wall, choose the block, calculate, verify against the manufacturer's guide, then order with base gravel and drainage stone.