ConcreteGauge / Retaining wall
Retaining wall block calculator
Enter the length of the wall, the height you want to see and the size of your block. You get the blocks, the caps and the gravel.
Blocks to buy
116 blocks, plus 17 caps
Includes 10% extra for cuts and breakages. Without it: 105 blocks in 7 courses of 15.
6 inches of the wall is below ground, so it is 3.5 feet of block for 3 feet of wall you see.
| For | Cubic feet | Cubic yards |
|---|---|---|
| Base under the wall | 22 | 0.81 |
| Drainage behind it | 66 | 2.44 |
About 4.6 US tons of gravel in all. Add a perforated drain pipe 20 feet long behind the first course.
The part you do not see
A stacked block retaining wall starts below the ground. Allan Block’s guidance is to bury 1 inch of wall for every foot of height, with 6 inches as the usual minimum, on a base of at least 6 inches of compacted gravel. The calculator adds that buried part before it counts the courses, which a plain length × height sum leaves out.
For a wall 20 feet long showing 3 feet, in blocks 16 inches long and 6 inches high:
- Buried: 1 inch per foot would be 3 inches, so the 6 inch minimum applies
- 36 inches + 6 inches = 42 inches ÷ 6 inches = 7 courses
- 20 feet ÷ 16 inches = 15 blocks to a course
- 7 × 15 = 105 blocks; with 10% extra, 116
Blocks, caps and gravel for common walls
For blocks 16 inches long, 6 inches high and 12 inches deep, with 10% extra.
| Wall | Courses | Blocks | Caps | Gravel |
|---|---|---|---|---|
| 10 ft long, 2 ft high | 5 | 44 | 9 | 1.7 tons |
| 20 ft long, 2 ft high | 5 | 83 | 17 | 3.5 tons |
| 20 ft long, 3 ft high | 7 | 116 | 17 | 4.6 tons |
| 30 ft long, 3 ft high | 7 | 178 | 26 | 6.9 tons |
| 40 ft long, 3 ft high | 7 | 231 | 33 | 9.2 tons |
| 20 ft long, 4 ft high | 9 | 149 | 17 | 5.8 tons |
| 40 ft long, 4 ft high | 9 | 297 | 33 | 11.6 tons |
| 60 ft long, 4 ft high | 9 | 446 | 50 | 17.3 tons |
The gravel
Two lots of gravel go into a wall like this, and both are counted:
- The base: a trench filled 6 inches deep with compacted gravel, reaching 6 inches in front of the block and 6 inches behind it. For the example that is 20 cubic feet.
- Drainage: a layer of clean gravel 12 inches thick behind the wall for its full height, so water drains down to a pipe and does not push on the wall. For the example, 60 cubic feet.
Use the size and depth of the block you are actually buying: retaining wall blocks come in many sizes and the count changes with every one. Some systems use a special base block or pins; follow the maker’s instructions for those.
How high can it go?
Stacked blocks hold back soil by their own weight, and that only works up to a point. The safe height depends on the block, the soil and what sits above the wall: a slope, a driveway or a fence all push harder than level ground. Block makers publish the maximum height for each of their products, and above it the wall needs reinforcing mesh in the soil and usually an engineer. Many places also require a permit once a wall passes a set height, so check before you build.
This page is for dry-stacked landscape block. A retaining wall of mortared concrete block is counted on the concrete block calculator, and a poured one on the wall calculator. For gravel on its own, see the gravel base calculator.
Questions people ask
How many retaining wall blocks do I need?
Divide the wall’s length by the block’s length for the blocks in a course, and the height including the buried part by the block’s height for the courses. A wall 20 feet long showing 3 feet needs 116 blocks of 16 × 6 inches, including 10% extra.
How deep should the first course be buried?
Allan Block’s guideline is 1 inch for each foot of wall height, with a usual minimum of 6 inches. Follow the instructions for your own block.
How much gravel goes under a retaining wall?
A base 6 inches deep, 6 inches wider than the block at front and back. For a 20 foot wall with 12 inch deep block that is 20 cubic feet, about 1.1 tons.
How many cap blocks do I need?
One for each block in the top course if the caps are the same length as the blocks. If your caps are a different length, divide the wall’s length by the cap’s length.
Do I need drainage behind a retaining wall?
Yes. Water trapped behind a wall is the usual reason one fails. Clean gravel behind the blocks and a perforated pipe at the bottom let it escape.
Where the numbers come from
- In metric countries the same rules are shown in millimetres (a 150 mm base and 300 mm of drainage gravel) and the gravel in tonnes.
- Buried depth and base: Allan Block, Typical Retaining Wall Construction.
- Base reaching 6 inches in front of and behind the block: Belgard, Segmental Retaining Wall Install Guide.
- Twelve inches of gravel behind the wall: JLC, Block Retaining Walls.
- Bag yields: a 40 lb bag makes about 0.3 cubic feet, 50 lb about 0.375, 60 lb about 0.45 and 80 lb about 0.6 (ArcSite, Concrete Network). Brands differ a little, so check the yield printed on your bag.
- Bag yields outside the United States: in the United Kingdom and Ireland a 20 kg bag makes about 0.01 cubic metres (Blue Circle, at Travis Perkins); in Australia and New Zealand 108 bags of 20 kg make a cubic metre (Boral); in Canada a 30 kg bag makes about 0.44 cubic feet (Quikrete, at Home Depot Canada). The 25 kg figures are worked out in proportion.
- Weight: 150 lb per cubic foot for normal concrete (Omni Calculator).
Every formula on this page is checked by an automatic test each time the site is updated. Last reviewed 15 November 2026.