ToolNimba Browse

🧱 Retaining Wall Block Calculator

By ToolNimba Editorial Team · Updated 2026-06-19

Wall blocks to buy
-
-
Rows high
-
-
Cap blocks
-
top row, optional

Counts are rounded up to whole blocks, since you cannot lay part of a block. This estimate assumes a straight wall with no curves, gaps for steps or pillars, and ignores the buried base course, mortar or gravel. Confirm with your block supplier and local building rules before ordering.

This retaining wall calculator works out how many blocks you need to build a wall of a given length and height. Enter the wall length and height, the face size of one block (length by height), and a waste percentage for cuts and breakages. You will see the blocks per row, the number of rows, the total blocks to buy, and an optional cap-block count, so you can order with confidence and avoid a second trip to the yard.

What is the Retaining Wall Calculator?

Estimating a block retaining wall is a grid problem. A wall is a rectangle of blocks: the number across each row is the wall length divided by the length of one block, and the number of rows stacked up is the wall height divided by the height of one block. Multiply the two and you have the bare block count, before you add a margin for the blocks that get cut, chipped or rejected on site. This calculator does each step and shows the intermediate numbers so you can check the logic.

Units have to match before you divide. A wall is usually measured in feet or metres, while a block is sized in inches or centimetres. A common segmental wall block has a 16 in (about 1.33 ft) face length and an 8 in (about 0.67 ft) face height, so it is roughly 1.33 ft wide and 0.67 ft tall once converted. The tool converts the block face into the wall unit for you (dividing inches by 12 or centimetres by 100), which is the single most common place a hand estimate goes wrong.

There are a few real-world details this estimate deliberately leaves out, and you should plan for them. The bottom course of a retaining wall is normally buried below grade for stability, so a wall that stands a given height above ground actually needs an extra hidden row, build in one more row than the visible height suggests. The figure also ignores mortar or pin joints, the compacted gravel base, drainage stone and any geogrid reinforcement. Cap blocks, the finishing units laid flat along the top, are counted separately because they often have a different length from the wall blocks.

When to use it

  • Estimating how many blocks to order for a garden or landscape retaining wall before a trip to the yard.
  • Pricing a wall job by turning the length, height and block size into a block and cap count.
  • Comparing two block sizes to see how the count changes for the same wall footprint.
  • Sanity-checking a contractor or supplier quote so you know roughly how many blocks the wall should take.

How to use the Retaining Wall Calculator

  1. Choose imperial (feet and inches) or metric (metres and centimetres) units.
  2. Enter the finished wall length and height.
  3. Enter the face length and face height of one block.
  4. Set a waste percentage for cuts and breakages (10% is a sensible default).
  5. Optionally enter the cap block length to get a top-row cap count.
  6. Read off the blocks per row, the number of rows, and the total blocks to buy.

Formula & method

blocks per row = ceil(wall length ÷ block length). rows = ceil(wall height ÷ block height). base blocks = blocks per row × rows. total = ceil(base × (1 + waste ÷ 100)). cap blocks = ceil(wall length ÷ cap length).

Worked examples

A wall 20 ft long and 3 ft high, built from blocks with a 16 in (1.333 ft) face length and an 8 in (0.667 ft) face height, with a 10% waste allowance.

  1. Convert block face: 16 in ÷ 12 = 1.333 ft long, 8 in ÷ 12 = 0.667 ft high
  2. Blocks per row = 20 ÷ 1.333 = 15.0, round up to 15
  3. Rows = 3 ÷ 0.667 = 4.5, round up to 5
  4. Base blocks = 15 × 5 = 75
  5. Add 10% waste = 75 × 1.10 = 82.5, round up to 83

Result: 15 blocks per row, 5 rows, 83 blocks to buy

A wall 10 m long and 1 m high, built from blocks with a 40 cm face length and a 20 cm face height, with a 10% waste allowance.

  1. Convert block face: 40 cm ÷ 100 = 0.40 m long, 20 cm ÷ 100 = 0.20 m high
  2. Blocks per row = 10 ÷ 0.40 = 25, round up to 25
  3. Rows = 1 ÷ 0.20 = 5, round up to 5
  4. Base blocks = 25 × 5 = 125
  5. Add 10% waste = 125 × 1.10 = 137.5, round up to 138

Result: 25 blocks per row, 5 rows, 138 blocks to buy

Approximate blocks needed for a 16 in × 8 in face block at 10% waste (above-grade height only)

Wall lengthWall heightPer rowRowsTotal blocks
10 ft2 ft8327
20 ft3 ft15583
30 ft4 ft236152
40 ft4 ft306199

Suggested waste allowance by wall type

SituationSuggested waste
Straight wall, simple rectangle5% to 10%
Curved or stepped wall10% to 15%
Many corners or returns10% to 15%
First-time DIY build15%

Common mistakes to avoid

  • Forgetting the buried base course. A retaining wall is normally set with its first row below ground level for stability. A wall meant to stand 3 ft above grade often needs an extra hidden row, so enter the full built height (above plus below grade), not just the visible part.
  • Mixing up wall units and block units. The wall is in feet or metres but the block is in inches or centimetres. Dividing 20 ft by a 16 (inches) instead of 1.333 ft gives a wildly wrong count. This tool converts for you, but a hand calculation must use the same unit on both sides.
  • Skipping the waste allowance. Blocks get cut at corners and ends, and some arrive cracked. Ordering the exact bare count almost always leaves you short. A 10% margin is a sensible minimum, more for curves, steps or first-time builds.
  • Counting cap blocks as wall blocks. Cap blocks finish the top and often have a different length from the wall blocks. Count them as a separate single row using the cap length, not lumped in with the body of the wall.

Glossary

Course (row)
One horizontal layer of blocks running the length of the wall. The wall height divided by the block height gives the number of courses.
Cap block
A finishing unit laid flat along the top of the wall to cap it off, often a different size from the main wall blocks.
Face dimensions
The length and height of the visible front of one block, which is what sets how many blocks fit per row and per course.
Base course
The bottom row of a retaining wall, usually buried below ground level on a compacted gravel base for stability.
Waste allowance
An extra percentage added to the bare block count to cover cuts, breakages and a few spares.

Frequently asked questions

How many blocks do I need for a retaining wall?

Divide the wall length by the block face length to get blocks per row, divide the wall height by the block face height to get the number of rows, multiply the two, then add a waste allowance and round up. This calculator does all of that once you enter the wall and block sizes.

What waste percentage should I use?

For a straight, simple wall 5% to 10% is usually enough. Curved, stepped or corner-heavy walls and first-time DIY builds waste more, so 10% to 15% is safer. The waste covers cut blocks, breakages and a few spares for later repairs.

Do I need to count the buried bottom row?

Yes. A retaining wall is normally set with its first course below ground level for stability, so the built height is taller than the height you see above grade. Enter the full built height (above plus below ground) so the row count includes that hidden base course.

What are cap blocks and how many do I need?

Cap blocks are the flat finishing units laid along the very top of the wall. Because they often have a different length from the wall blocks, this tool counts them separately: divide the wall length by the cap block length and round up. Enter a cap length to see the count.

Does this calculator account for mortar, gravel or drainage?

No. It estimates the block count only. The compacted gravel base, drainage stone, any mortar or pins, geogrid reinforcement and backfill are separate materials. Treat the result as a block order estimate, not a full bill of materials.

Can I use this for both segmental and standard blocks?

Yes. The calculator works from whatever block face length and height you enter, so it suits segmental retaining wall units, concrete masonry units (CMU) and most rectangular block. Just enter the actual face size of the block you plan to buy.