Skip to content

Retaining Wall Calculator

Blocks, buried course, caps, base and drainage gravel and drain pipe for a segmental retaining wall, in metric or imperial, with permit-height notes for Ontario and the US.

Calculator Details

Wall blocks:89 blocksSee results ↓

Along the face of the wall

From the finished ground in front to the top of the wall, without the cap

Metres and millimetres, or feet and inches

Pick the size of the block you are buying

Caps along the top course, one per block length

For cuts at corners and ends and broken blocks

Your Results

Wall blocks: 89 blocks

Wall blocks

89 blocks

6 courses (1 buried) × 14 per course

Caps

14

Gravel (base + drainage)

2.51 m³

About 4.01 tonnes

Drain pipe

6 m

Recommended

Wall face

5.4 m²

A gravity wall estimate. Walls holding back slopes, driveways, pools or buildings, or taller than the block maker’s gravity limit, need geogrid reinforcement and an engineered design.

This wall takes 89 blocks in 6 courses (one or more buried), 14 caps and about 2.51 m³ (4.01 t) of gravel for the base and drainage.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Materials
ItemQuantityHow it is worked out
Wall blocks896 courses (5 exposed + 1 buried) × 14 per course + 5%
Caps14One per block length along the top
Base gravel (compacted)0.28 m³457 mm wide × 102 mm deep
Drainage gravel behind the wall2.23 m³305 mm behind the block, full height of the stack
Perforated drain pipe6 mRecommended where drainage is poor

Gravel weight at 2,700 lb/yd³ (about 1.6 t/m³); your supplier’s figure may differ.

How This Calculator Works

How the materials are calculated

Courses = ⌈exposed height ÷ block height⌉ + buried courses (1 in per ft of height, at least one course)

Blocks = courses × ⌈wall length ÷ block length⌉ × (1 + extra)

Gravel = base trench + 12 in (300 mm) of drainage rock behind the wall

Your numbers: 0.9 m high = 5 exposed courses; buried allowance 75 mm → 1 buried course; 6 × 14 = 84 + 5% = 89 blocks. Base trench 457.2 × 101.6 mm = 0.279 m³; drainage rock 2.227 m³; total 2.51 m³ (3.28 yd³).

Frequently Asked Questions

How many retaining wall blocks do I need?

Work out the number of courses (the exposed height divided by the block height, rounded up, plus the buried course) and the blocks per course (the wall length divided by the block’s face length, rounded up), multiply them, and add about 5% for cuts and breakage. A 6 m wall 0.9 m high in 203 mm blocks has 5 exposed courses plus 1 buried, 14 blocks per course: 84 blocks, or 89 with 5% extra.

How much of a retaining wall should be buried?

Allan Block’s installation guide buries 1 in of block for every foot of wall height (25 mm per 300 mm), and in practice at least the first course is below grade. More may be needed on slopes, in soft soils or where frost heave is a concern; follow your block maker’s guide.

How deep and wide should the base be?

For walls under 4 ft (1.2 m), Allan Block calls for a trench about 18 in (460 mm) wide with 4 in (100 mm) of compacted wall rock; for taller walls, 24 in (600 mm) wide and at least 6 in (150 mm) deep. Compact the base with at least two passes of a plate compactor and level the first course carefully: every course above follows it.

Why do I need gravel behind a retaining wall?

Water trapped behind a wall adds pressure and, in Canadian winters, frost. A column of clean, free-draining crushed stone about 12 in (300 mm) deep directly behind the blocks lets water drain down to a perforated pipe at the base. Native soil is then backfilled and compacted behind the stone in thin lifts.

Do I need a drain pipe?

Allan Block requires one for gravity walls over 4 ft (1.2 m), reinforced walls and sites with poor drainage, placed at the back of the trench and vented to daylight about every 15 m (50 ft). It is cheap insurance on lower walls too.

Do I need a permit for a retaining wall in Ontario?

Under the Ontario Building Code, a retaining wall over 1 m (about 3 ft 3 in) of exposed height next to public property, access to a building, or private property open to the public is a designated structure: it needs a permit and a design by a professional engineer. Some municipalities apply the rule to any wall over 1 m, so ask your building department.

What about the US?

The International Residential Code exempts from permits retaining walls up to 4 ft measured from the bottom of the footing to the top of the wall, unless they hold back a surcharge such as a driveway, slope or building. Many cities and counties set their own limits, so check locally.

Base, buried block, drainage stone and drain pipe rules from the Allan Block residential installation guide; block size from the Basalite AB Classic cut sheet; gravel weight from our landscape material densities. A materials estimate for a straight gravity wall, not an engineered design. It leaves out geogrid reinforcement, curves, corners and steps in the base, stairs and columns, filter fabric, backfill and excavation volumes, surcharges (driveways, slopes, pools), frost depth and local soil conditions. Permit heights: Ontario Building Code designated structures (1 m) and IRC R105.2 (4 ft); municipalities may set stricter rules.

Retaining Wall Calculator: Blocks, Gravel and Drain Pipe

By FindMySum · Last reviewed

A segmental retaining wall, made of dry-stacked concrete blocks, is one of the most popular landscape projects, and one of the easiest to under-order for. The blocks you see are only part of it: there is at least one course below grade, a compacted gravel base, a column of drainage stone behind the wall and often a drain pipe. This calculator estimates all of them for a straight gravity wall.

Courses and blocks

The number of courses is the exposed height divided by the block height, rounded up, plus the buried course or courses. Allan Block's installation guide buries 1 in of block for every foot of wall height (25 mm per 300 mm), and in practice at least one full course always goes below grade, so it gives the wall a footing in the soil and hides the base.

Blocks per course is the wall length divided by the face length of a block, rounded up. Multiply the two and add a few percent for cuts at the ends and broken blocks.

Worked example (the calculator's defaults). A wall 6 m long and 0.9 m high, in large blocks the size of an Allan Block AB Classic (448 mm long, 203 mm high, 305 mm deep):

  • exposed courses: 900 ÷ 203 = 4.4, so 5;
  • buried allowance: 0.9 m × 25 mm per 300 mm = 75 mm, which rounds up to 1 course;
  • 6 courses × ⌈6,000 ÷ 448⌉ = 14 blocks per course = 84 blocks, or 89 with 5% extra;
  • 14 caps along the top.

Base gravel

The wall stands on a compacted base of crushed stone. For walls under 4 ft (1.2 m), Allan Block calls for a trench about 18 in (460 mm) wide with 4 in (100 mm) of compacted wall rock; for taller walls, 24 in (600 mm) wide and at least 6 in (150 mm) deep. The base has to be compacted, with at least two passes of a plate compactor, and levelled precisely: every course above follows the first.

For the example, under 1.2 m: 6 m × 0.457 m × 0.102 m = 0.28 m³.

Drainage stone and drain pipe

Water is the enemy of retaining walls. The guide fills the space about 12 in (300 mm) behind the blocks, for the full height of the stack, with clean crushed stone so water can drain down instead of building up pressure or freezing against the wall. In the example that is 6 m × 0.305 m × 1.218 m = 2.23 m³, so the total gravel is about 2.5 m³. At roughly 1.6 tonnes per cubic metre, order about 4 tonnes, or check your supplier's weight per cubic metre.

A perforated drain pipe at the base, at the back of the trench, carries the water away. Allan Block requires one for gravity walls over 4 ft, for reinforced walls and where drainage is poor, vented to daylight about every 15 m (50 ft). It costs little and is worth adding to any wall in heavy, wet soil.

Height limits, permits and engineering

Every block has a maximum height it can retain on its own, as a gravity wall. Above that, or when the wall holds back a slope, a driveway, a pool or a building, the wall needs geogrid reinforcement layered into the backfill and a design for the loads.

Building codes draw lines too:

  • Ontario: a retaining wall over 1 m of exposed height next to public property, access to a building or private property open to the public is a designated structure under the Ontario Building Code. It needs a building permit and a design by a professional engineer, and a guard may be needed at the top. Some municipalities apply the rule to any wall over 1 m.
  • United States: the International Residential Code exempts walls up to 4 ft from the bottom of the footing to the top, unless they support a surcharge. Local rules vary.

The calculator flags walls over these heights. Ask your municipality before you dig, and call before you dig for buried utilities.

What the calculator leaves out

It estimates a straight wall of one height. It does not handle curves, corners, steps in the base, stairs, geogrid, filter fabric, excavation or backfill volumes, or the effect of soil type and frost. Use the block maker's installation guide for your specific product, and an engineer for anything tall or loaded.

More questions

What kind of gravel goes behind a retaining wall?

Clean, angular crushed stone, typically 3/4 in (20 mm) clear stone with no fines, often called wall rock or drainage stone. The angular pieces lock together but leave open space for water to move down to the drain pipe. Avoid round pea gravel and screenings with lots of fines for the drainage zone.

Should I put landscape fabric behind the wall?

Many installers place a non-woven geotextile between the drainage stone and the native soil to stop fine soil washing into the stone and clogging it. Block makers' guides differ on when it is needed, so follow the guide for your product and your soil.

Can I build a retaining wall on a slope?

Yes, by stepping the base: the trench is cut in level steps the height of one block, so each section of the wall starts level. A slope above the wall adds load (a surcharge) and usually means geogrid or an engineered design even for moderate heights.

How long does a block retaining wall last?

A well-built segmental wall with a compacted base and good drainage can last for decades. Most failures come from poor drainage, a soft or uncompacted base, or a wall taller or more heavily loaded than its design. Freeze-thaw damage is reduced by using blocks rated for your climate and keeping water out of the wall.

Can I use the blocks from a big-box store for a tall wall?

Small garden blocks are made for low landscape walls, often under 2 to 3 ft. Taller walls need larger structural blocks, geogrid reinforcement and often an engineer. Check the gravity height limit in the block maker's literature for the block you buy.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy