How Many Retaining Wall Blocks Do I Need?
A 30 ft wall 3 ft high in 8 × 18 in block takes 20 blocks a course and 6 courses, one of them half buried: 120 blocks, 126 with 5% extra, plus 20 caps. Behind and under it go 10.17 tons of wall rock, and the whole wall comes to about $1,986 in materials.
The same 30 ft wall at other heights, 8 × 18 in block, 5% extra:
| Height | Blocks | Rock, t | Permit |
|---|---|---|---|
| 1 ft 6 in | 63 | 6.39 | Not needed |
| 2 ft | 84 | 7.65 | Not needed |
| 3 ft | 126 | 10.17 | Not needed |
| 4 ft | 147 | 13.14 | Permit |
| 4 ft 6 in | 168 | 14.40 | Permit, engineer |
| Height above ground | Courses × blocks | Blocks | Wall rock, tons | Permit |
|---|---|---|---|---|
| 1 ft 6 in | 3 × 20 | 63 | 6.39 | Not needed |
| 2 ft | 4 × 20 | 84 | 7.65 | Not needed |
| 3 ft | 6 × 20 | 126 | 10.17 | Not needed |
| 4 ft | 7 × 20 | 147 | 13.14 | Permit |
| 4 ft 6 in | 8 × 20 | 168 | 14.40 | Permit, engineer |
The course count rounds up: a wall 4 ft high plus 6 in buried is 54 in, which takes 7 courses of 8 in block, the top one partly above the planned height before the cap.
Retaining Wall Blocks by Size
Segmental retaining wall blocks are dry-stacked, with a lip or pins that set each course back. The common sizes for a 30 × 3 ft wall:
| Block | Per sq ft | Blocks | Price |
|---|---|---|---|
| 8 × 18 in, 1 sq ft face | 1.00 | 126 | $9.79 |
| 6 × 18 in, ¾ sq ft face | 1.33 | 147 | $6.99 |
| 3½ × 11½ in garden block | 3.58 | 404 | $1.98 |
| Block (face) | Per sq ft of face | Courses × blocks | Blocks | Price each |
|---|---|---|---|---|
| 8 × 18 in, 1 sq ft face | 1.00 | 6 × 20 | 126 | $9.79 |
| 6 × 18 in, ¾ sq ft face | 1.33 | 7 × 20 | 147 | $6.99 |
| 3½ × 11½ in garden block | 3.58 | 12 × 32 | 404 | $1.98 |
The 8 × 18 in block, about 80 lb, covers 1 sq ft of wall face and is the size most walls up to 3 or 4 ft use. Small 3-1/2 in garden blocks are made for edging, raised beds and low walls; check the maker's height limit before you stack them 3 ft high.
How to Calculate a Retaining Wall
Count the blocks course by course, with the buried part, then add 5%, as Allan Block's estimating worksheet does:
How Much Gravel Behind a Retaining Wall
Allan Block fills the cores and a zone 12 in deep behind the block with wall rock, and sets the first course on at least 6 in of it, compacted:
A taller wall, 4 ft 6 in above ground, in section:
- Base: 6 in of compacted wall rock in a trench 18 in wide for walls under 4 ft, 24 in wide at 4 ft and over.
- Buried course: 6 in, or 1 in per foot of height if that is more, so the wall can't kick out at the bottom.
- Wall rock: in the cores and 12 in behind, placed and compacted in lifts of no more than 8 in as the courses go up.
- Drain pipe: at the back of the base for walls over 4 ft, walls with geogrid and wet sites, vented to daylight at least every 50 ft.
Order the rock by the ton, and work out the trench and backfill digging.
Retaining Wall Height, Permits and Engineering
Under the 2021 IRC, a retaining wall up to 4 ft, measured from the bottom of its footing to the top, needs no permit unless it holds back a surcharge such as a driveway, a building or a slope (R105.2). For a block wall the footing is the gravel base, so 6 in of base and 6 in buried leave about 3 ft of wall above ground. The calculator measures it that way: the default wall is exactly 48 in from the base.
A wall that retains more than 48 in of soil, or more than 24 in with a surcharge, must be designed by an engineer, with a safety factor of 1.5 against sliding and overturning (R404.4). Local codes may be stricter, so check before you dig.
How tall a wall stands without geogrid, as a gravity wall, depends on the block's setback and the soil. Allan Block's figures for level ground above, no surcharge, cap included:
| Block setback | Clay | Silty sand | Sand and gravel |
|---|---|---|---|
| 12° | 3' 6" | 5' 4" | 5' 10" |
| 6° | 3' 2" | 4' 7" | 5' 2" |
| 3° | 2' 11" | 3' 9" | 4' 3" |
Above those heights, or with a driveway or slope above, the wall needs layers of geogrid reaching back into the soil, which is an engineered design.
How to Build a Block Retaining Wall
- 1Dig the trench: 18 in wide for this wall, deep enough for 6 in of rock plus the buried block, 12 in here.
- 2Spread and compact 6 in of wall rock, then level it; the first course decides how straight the whole wall is.
- 3Set the first course on the base, level front to back and side to side, and fill the cores and 12 in behind it with wall rock.
- 4Stack the next courses with the vertical seams offset by at least a quarter of a block, backfilling and compacting in lifts of no more than 8 in.
- 5Run the drain pipe at the back of the base where the wall needs one, out to daylight.
- 6Glue the caps on with a flexible masonry adhesive, overhanging the face by about 1-1/2 to 2 in.
A mortared wall of concrete block with a footing is a different structure; count its blocks and mortar separately. A paver patio behind the wall sits on its own compacted base; count the pavers and base for it.
What a Retaining Wall Costs
Per linear foot, a 30 ft wall of 8 × 18 in block with its caps, wall rock and rock delivery comes to:
The default 3 ft wall comes to $1,986: 126 blocks at $9.79, 20 caps at $7.19, 10.17 tons of rock at $50 and $100 for delivery. Over 4 ft, add drain pipe at $1.50 a foot, the geogrid and the engineering. Excavation, a plate compactor and labor are not in these figures.
Frequently Asked Questions
How many retaining wall blocks do I need?
Divide the wall length by the block length for each course and multiply by the courses, counting the buried one. A 30 ft wall 3 ft high in 8 × 18 in block has 20 blocks a course and 6 courses with 6 in buried: 120 blocks, 126 with 5% extra, plus 20 caps.
How much gravel goes behind a retaining wall?
Allan Block fills the block cores and 12 in behind the wall with wall rock and sets the wall on 6 in of it: about 1.4 cu ft per foot of length per foot of height, plus the base. The 30 × 3 ft wall takes 6.28 cu yd, about 10.17 tons.
How deep should the first course be buried?
6 in or 1 in for every foot of wall height, whichever is more, on top of 6 in of compacted wall rock in the trench. A 3 ft wall buries 6 in; an 8 ft wall would bury 8 in.
How tall can a retaining wall be without a permit?
Under the IRC, up to 4 ft measured from the bottom of the footing, which for a block wall is its gravel base, to the top of the wall, unless it holds back a surcharge such as a driveway or a slope. With 6 in of base and 6 in buried, that leaves about 3 ft above ground. Local codes can be stricter.
When does a retaining wall need an engineer?
When it retains more than 48 in of soil, or more than 24 in with an extra load such as a driveway, a building or a slope above it (IRC R404.4). The design must give a safety factor of 1.5 against sliding and overturning.
How tall can a block retaining wall be without geogrid?
It depends on the block's setback and the soil. For Allan Block's 12° units with level ground above, about 3 ft 6 in in clay, 5 ft 4 in in silty sand and 5 ft 10 in in sand and gravel; with a 3° near-vertical block, 2 ft 11 in, 3 ft 9 in and 4 ft 3 in.
Does a retaining wall need a drain pipe?
Allan Block requires one for walls over 4 ft, for walls with geogrid and on poorly draining sites, vented to daylight at least every 50 ft. It runs at the back of the base, inside the wall rock.
How many retaining wall blocks do I need for a fire pit?
Count by the outside circle. With garden blocks 11-1/2 in long and 7 in deep around a 36 in opening, the outside is 50 in across, 157 in around: 14 blocks a course and 56 for 4 courses, about 14 in high. Line the inside with a steel ring or firebrick.
How much does a retaining wall cost per linear foot?
About $66.19 a linear foot in materials for a 3 ft wall of 8 × 18 in block: blocks, caps, wall rock and its delivery. A 2 ft wall comes to about $48.29. Excavation, a plate compactor and labor are extra.
What gravel is used for a retaining wall?
Clean, well-graded crushed stone from about 1/4 to 1-1/2 in with less than 10% fines, which Allan Block calls wall rock. It drains and compacts; round pea gravel and stone dust are poor choices.
Sources
- Allan Block Corporation. (n.d.). AB commercial installation manual.
- Allan Block Corporation. (2025). Basic installation [Residential installation manual].
- International Code Council. (2020). 2021 International Residential Code (Sections R105.2 and R404.4).
Updated .
Cite this page as:
Daniel, P. Retaining Wall Calculator. Available at: https://constructioncalculators.com/retaining-wall-calculator/. Accessed: October 28, 2026.