A garden retaining wall is mostly hidden work: a trench, a compacted gravel base, a buried first course, clean stone behind the blocks and a perforated pipe at the bottom. This retaining wall calculator turns the wall’s length and height into a shopping list — wall blocks, cap blocks, base gravel, drainage stone, drain pipe and the volume to dig — so you can price the job and order once.
It is designed for dry-stacked segmental retaining wall (SRW) blocks, the interlocking concrete units sold for landscaping, but works for any modular block if you enter its face dimensions.
Important: this tool estimates materials; it does not check whether a wall will stand. Retained soil pushes hard, especially when wet. In the US, the International Residential Code (R404.4) requires an engineered design when a wall retains more than 48 inches (about 1.2 m) of soil, and walls with slopes, driveways or buildings above them need one even when lower. Treat this page as the quantity survey for small walls, and for anything taller, as a first budget before the engineer’s drawings.
How to use this calculator
- Enter the wall length and the exposed height from finished ground to the top of the blocks.
- Enter the buried depth: manufacturers usually ask for at least 15 cm (6 in) of block below ground, more for taller walls.
- Enter the block face length and height from the product sheet, and the cap length if you use caps.
- Adjust the base trench width and gravel thickness, and the width of the drainage zone behind the blocks (30 cm / 12 in is common).
- Set an allowance for cuts and breakage, then read the quantities. Switch volume and weight units as needed.
The formula
With length , exposed height , buried depth , block face and waste allowance :
Caps: . Gravel base: (trench width , base thickness ). Drainage stone: (zone width ). Trench: . Drain pipe: about , plus outlets to daylight. Stone weight uses a typical 1,500 kg/m³ for clean crushed stone.
Worked example
A 10 m garden wall, 80 cm visible, 15 cm buried, with 40 × 20 cm blocks: , so 5 courses of 25 blocks. With 5 % extra, order 132 blocks and 27 caps. The 60 × 15 cm base takes 0.9 m³ of gravel and a 30 cm drainage zone 2.85 m³, about 5.63 t of stone, plus 10 m of perforated pipe.
In US units, a 30 ft wall 3 ft high with 6 in buried and 16 × 8 in blocks needs 6 courses, 145 blocks, 25 caps and about 5 cu yd of stone for the base and drainage.
When a retaining wall needs an engineer
The forces behind a wall grow roughly with the square of its height, so doubling the height roughly quadruples the push. That is why codes draw a line. The International Residential Code (R404.4) requires design to accepted engineering practice when a wall that is not supported at the top retains more than 48 in (1.2 m) of unbalanced fill, or when it also carries extra loads such as traffic. Many building departments require a permit from the same height. In Europe, retaining structures are designed to Eurocode 7 (geotechnical design), and in France a structural and soil study (bureau d’études) is the norm for walls above about 1 m or near a boundary. Manufacturers’ installation guides add their own limits for each block type, with geogrid reinforcement for taller walls. Below those heights, good practice still matters: a level, compacted base, a buried first course, set-back between courses and drainage.
Drainage: the part that saves walls
Most small walls that fail do so because of water, not because the blocks were too weak. Saturated soil is heavier and pushes harder, and freezing water can heave the blocks. Place a perforated drain pipe at the back of the base, wrapped in filter fabric or laid in clean stone, and lead it to daylight or a drain at least every 15 m or so. Fill at least 30 cm (12 in) behind the blocks with clean crushed stone up to a little below the top, then cap with compacted soil so surface water does not flood the drainage zone. For the gravel orders themselves, the gravel calculator converts volumes to tonnes for other stone types.
Frequently asked questions
How many blocks do I need for a retaining wall?
Divide the wall length by the block face length (rounded up) to get blocks per course, and the total height including the buried course by the block height (rounded up) to get the number of courses. Multiply, then add 5 to 10 % for cuts and breakage.
How deep should the first course be buried?
A common manufacturer rule is at least 6 in (15 cm) of buried block, plus about 1 in per foot of wall height on taller walls. Slopes below the wall, soft soil or erosion call for deeper embedment set by an engineer.
How much gravel goes behind a retaining wall?
A zone about 30 cm (12 in) wide behind the blocks over the full height, plus a compacted base usually 10 to 15 cm thick. For a 10 m wall 95 cm high including the buried part, that is about 2.85 m³ of drainage stone and 0.9 m³ of base.
What height of retaining wall needs an engineer?
In the US, the IRC requires an engineered design above 48 in (1.2 m) of retained soil, or when the wall supports extra loads such as a driveway. Local rules may be stricter; in France, call in a design office for walls above about 1 m or near a neighbour’s boundary.
Do I need a drain pipe behind a short wall?
It is strongly recommended for any wall that holds back soil, and essential where the ground is clay or the area collects run-off. A perforated pipe at the base, with outlets to daylight, keeps water pressure from building up.
Sources
- ICC — 2021 International Residential Code, Chapter 4, R404.4 Retaining walls
- Allan Block — Proper embedment guidelines for segmental retaining walls
- European Commission JRC — Eurocode 7: Geotechnical design
Last updated: