Retaining wall calculator
How many blocks a straight segmental retaining wall takes, from its length and height, and the caps, base gravel, drainage stone, drain pipe, filter fabric and cap adhesive that go with them.
End to end along the wall, measured straight
Wall 12 ft 6 in long: type 12 in the feet box and 6 in the inches box.
From the ground in front to the top of the blocks
Height × face length of one block
More options
Solid units glued on the top course
Perforated pipe at the base, behind the wall
Fabric between the drainage stone and the soil
Retaining wall blocks
What the results mean
- Retaining wall blocks
- The blocks of every course of the wall, the buried courses included. Each course is rounded up to a whole block, and no waste is added.
- Height limit
- Shown when the wall is higher than the block is rated for without reinforcement, or when its height with the buried part is over the height above which the cited association recommends an engineered design. The quantities are still those of the facing; a design may add reinforcement.
- Courses
- The rows of blocks. The courses above the ground are the wall height divided by the block height, rounded up. The buried courses cover the embedment of the cited rule; caps add their own height on top.
- Caps
- The cap units for the top of the wall, from the number of caps the block maker states for a length of wall, rounded up. Shown when Caps is on.
- Base gravel
- Crushed stone under the first course, as the loose volume to order. The wall length times the width of the base times its thickness is the volume compacted in place. Times the compacted weight per cubic yard and divided by the loose weight of the same stone, it is the volume the truck delivers. The weight is for the compacted stone and is approximate.
- Drainage stone
- Clean crushed stone behind the wall: the wall length times the thickness of the drainage column times the height above the ground. Stone inside hollow blocks is not counted. The weight is approximate.
- Not included
- Geogrid and any other reinforcement, stone inside hollow blocks, excavation, backfill soil and its compaction, curves and corners of the wall, steps in the wall, corner and half blocks, outlets of the drain pipe, delivery, labor and any prices. The count is for one straight wall and adds no waste.
How it's calculated
Blocks = courses × blocks per course; courses = wall height ÷ block height, rounded up, plus the buried courses
- 1Find the buried depth36 ÷ 20 = 1.8 in; the minimum is 6 in, so 6 in
- 2Turn it into buried courses6 ÷ 8 = 0.75, rounded up to 1
- 3Count the courses above the ground36 ÷ 8 = 4.5, rounded up to 5
- 4Count the blocks in one course240 ÷ 18 = 13.33, rounded up to 14
- 5Multiply the courses by the blocks per course(5 + 1) × 14 = 84 blocks
Measuring the wall
Measure the wall length end to end along the wall, in a straight line. Measure the wall height from the ground in front of the wall to the top of the blocks. It is the part of the wall you will see, without the buried courses and the caps.
A block is named by its height and the face length of one unit, as the section on block sizes below explains.
How many blocks a retaining wall takes
A segmental retaining wall is stacked dry, so it takes whole courses and whole blocks in a course, with no mortar joint between them.
The count goes like this:
- The buried depth is found from the wall height, by the rule of the next section.
- The buried depth is divided by the height of one block and rounded up. These are the buried courses.
- The wall height is divided by the height of one block and rounded up. These are the courses above the ground.
- The wall length is divided by the face length of one block and rounded up. These are the blocks of one course.
- The courses above the ground and the buried courses are added, and the sum is multiplied by the blocks of one course.
The caps are not in the wall height: they add their own height on top.
No waste is added, because none of the sources gives a waste percentage for these blocks. A block that is cut at the end of a course is counted as a whole one.
| Wall, length × height | Blocks | Courses | Caps |
|---|---|---|---|
| 10 × 2 ft | 28 | 4 | 7 |
| 20 × 2 ft | 56 | 4 | 14 |
| 20 × 3 ft | 84 | 6 | 14 |
| 40 × 3 ft | 162 | 6 | 28 |
| 60 × 3 ft | 240 | 6 | 42 |
Blocks, courses and caps are rounded up. The courses include the buried ones. The rows are examples chosen for the table.
How deep the first course is buried
The bottom of a segmental wall sits below the ground in front of it. The depth comes from the tech note “Segmental Retaining Wall Design” of the Concrete Masonry and Hardscapes Association (CMHA). Table 2 of that note gives it as “H’/20, 6 in. (152 mm) min.”, and explains that “H’ is the exposed height”. The larger of the two is used.
That depth is then turned into whole courses: it is divided by the height of the block and rounded up.
A block maker’s guide can ask for a different depth than the association’s rule. The Versa-Lok guidelines, for one, say that “one-tenth of the exposed wall height should be buried”. The count always uses the CMHA rule. Follow the installation guide of the block you buy, and if it buries more courses than the note under the result names, add the blocks of the extra courses to the count.
Retaining wall block sizes
The block sizes on offer are the sizes of blocks in the guides of three manufacturers, named by size only. The “How?” text of the block line names the product each size was taken from, and the documents are listed under “Sources and methodology”.
The height of the block decides the number of courses, above the ground and buried. The face length decides the blocks of one course. Each size comes with its own cap rule, so the caps can differ between sizes.
| Block size | Blocks | Courses | Caps |
|---|---|---|---|
| 4 × 18 in | 154 | 11 | 14 |
| 6 × 16 in | 105 | 7 | 18 |
| 6 × 17 in | 105 | 7 | 15 |
| 8 × 18 in | 84 | 6 | 14 |
The rows are alternatives for the same wall, not additions.
Base gravel and drainage stone
The base is the pad of compacted crushed stone under the first course, sized by the installation guide of the CMHA: “The leveling pad typically extends a minimum of 6 in. (152 mm) from the toe and heel (front and back) of the lowermost SRW unit and is at least 6 in. (152 mm) thick.” The wall length times the depth of the block with the strip in front and the strip behind, times the thickness, is the volume compacted in place. The base gravel on the result is the loose stone to order, from the compacted and loose weight of crushed base course. The same guide says: “Avoid pea gravel for the leveling pad”.
The drainage stone is the column of clean crushed stone behind the wall. The guide describes gravel fill “extending at least 12 in. (305 mm) behind the units”, and that thickness times the wall length and the wall height above the ground is the volume of stone. No stone goes behind the buried courses, after the Versa-Lok guidelines: “Do not place drainage aggregate behind units that will be embedded.” The stone that fills the cores of hollow blocks is not counted, because none of the sources gives a core volume for any block.
The tons are the volume in place times a weight per cubic yard from Exhibit 620-1 of the Washington State Department of Transportation Design Manual. The base uses the compacted weight of crushed surfacing base course, and the drainage stone uses the row for permeable ballast. The weights are those of that table, not of your supplier’s stone, so the tons are marked “about”. For other bulk volumes, use the cubic yard calculator.
Drain pipe and filter fabric
The drain pipe is perforated pipe laid at the base of the drainage stone, behind the wall. Its length is the wall length, rounded up to a whole foot. Its diameter is the one on the section drawing of a manufacturer’s cut sheet, labeled “4-INCH DIA. DRAIN TILE”. Outlets and fittings are not counted.
The filter fabric goes between the drainage stone and the soil. Its area is the wall length times the height of all the courses, the buried ones included, rounded up to a whole square foot. Overlaps between strips are not added.
The block guides differ on when a wall needs a pipe or a fabric, and no rule for it is given here. Follow the guide of your block.
Wall caps and adhesive
Caps are the solid units glued on the top course. The number of caps for a length of wall is the block maker’s figure, rounded up to a whole cap. The Allan Block guide states the caps for a length of wall that it names, “you will need 7 AB Caps”, and the Versa-Lok worksheet reads “Lineal Feet of Wall (LF) x .86 = Number of Caps”. The third document gives a cap as long as the face of its block, so one cap is counted for each face length of wall.
The cap adhesive is counted in cartridges from the data sheet of a landscape block adhesive. The sheet says to “apply approximately 2” in from the front and 2” in from the back of the cap”, which makes two beads along the wall. The count multiplies the wall length by the two beads, divides by the length of bead that the sheet states for one cartridge at the bead size it recommends for exterior work, and rounds up. A wall without caps takes no adhesive.
When a retaining wall needs an engineer
A wall over 4 ft high, measured with its buried part, needs a design by an engineer, and so does a lower wall that holds a slope, a driveway, a building or another wall above it. Many places also require a permit. The design sets any geogrid or other reinforcement, which this count leaves out. Ask your local building department before you order materials.
Two height limits are checked, and the result gets a line when the wall is over one of them. The first belongs to the lowest block of the list: the guide it was taken from says “Maximum recommended gravity wall height for Lite Patterns is 3 ft (0.9 m).” That limit is compared with the wall height above the ground. The second is the height in the warning above, which the CMHA tech note words for the total height, so the buried depth is added to the wall height before the two are compared.
The line tells you to have an engineer design the wall. The quantities stay, but a design may add reinforcement that is not counted here. A result without the line is not a statement that the wall needs no engineer or no permit: what is above or behind the wall is unknown to the count.
Using the calculator
Enter the wall length and the wall height, each with a switch for feet or meters, and pick your block under Block size. Until both lengths are filled in, the result stays empty and asks for them.
The main result is the number of retaining wall blocks, with the buried courses included. The note under it names the block size, the number of courses and how many of them are buried. The lines below give the courses, the caps, the base gravel and the drainage stone, each stone with a volume in cubic yards and an approximate weight in tons.
The shopping list under the result holds the blocks, the caps, the base gravel, the drainage stone, the drain pipe, the filter fabric and the cap adhesive. Every line has a “How?” button that opens the rule behind the quantity, with the arithmetic where there is one.
Under “More options” are three switches: Caps, Drain pipe and Filter fabric. All three start on. Caps off takes the cap adhesive out with the caps. “Share link” copies a link that opens this page with your numbers and the same result.
What is not counted
The count covers one straight wall. Curves, corners and steps in the wall are not worked out, and corner blocks and half blocks are not listed separately. Geogrid and any other reinforcement are left out, and so is the stone inside hollow blocks.
The excavation, the soil for the backfill and its compaction are not counted either, nor are the outlets of the drain pipe, delivery and labor.
No prices are shown here. For the price of the same wall, see the retaining wall materials cost calculator. A wall of concrete blocks laid in mortar is a different job, counted by the block calculator.
Questions
How many blocks do I need for a 20 ft retaining wall 3 ft high?
84 blocks: 6 courses of 8 × 18 in blocks, the buried ones included, and 14 caps on top, for a 20 ft wall 3 ft above the ground. Each block size has its own face, so another block changes the counts; pick yours under Block size.
How do you calculate retaining wall blocks?
Multiply the courses by the blocks in one course. The courses above the ground are the wall height divided by the block height, rounded up, and the buried courses are added to them. The blocks in one course are the wall length divided by the face length of the block, rounded up. "How it's calculated" shows every step with your numbers.
How deep do you bury the first course of a retaining wall?
To the larger of the two depths in the design tech note of the Concrete Masonry and Hardscapes Association, whose table gives the buried depth as "H'/20, 6 in. (152 mm) min." and adds "H' is the exposed height". That depth is rounded up to whole courses of your block, and the blocks of those courses are part of the count. A block maker's guide can ask for a different depth, so follow the guide of the block you buy.
Does the block size change the base gravel or the drainage stone?
No, not for the block sizes offered here: they all have the same depth, and the base is as wide as the block is deep, plus a strip in front and a strip behind. The drainage stone depends on the wall length and the height above the ground only. A different size changes the blocks, the courses and the area of filter fabric, and each size has its own cap rule, so the caps can change as well.
How do you convert retaining wall gravel to tons?
Multiply the volume in place by a weight per cubic yard. Both weights come from Exhibit 620-1 of the Washington State Department of Transportation Design Manual: the row for compacted crushed base course for the base, and the row for permeable ballast for the drainage stone. They are the weights of that table, not of the stone at your supplier, so each weight is marked "about".
Does the block count include extra blocks for waste?
No. None of the sources gives a waste percentage for retaining wall blocks, so none is added. The courses are rounded up to whole courses and each course to whole blocks, so a block cut at the end of a course counts as a whole one. Blocks that break or are cut wrong on the job are not covered, and the "How?" text of the block line ends by saying that no waste was added.
When does a retaining wall need an engineer or a permit?
Over 4 ft of total height, buried part included, the Concrete Masonry and Hardscapes Association recommends an engineer: "CMHA recommends an engineered design performed by a registered professional on walls with a total (design) height, H, exceeding 4 ft (1.21 m)". The guide of the lowest block on the list sets a lower height as its maximum without reinforcement. For a permit, the International Residential Code lists among the work exempt from one "Retaining walls that are not over 4 feet (1219 mm) in height measured from the bottom of the footing to the top of the wall, unless supporting a surcharge." Its Section R105.2 measures a wall from the bottom of the footing and never exempts a wall that supports a surcharge, such as a slope, a driveway or a building above it. The IRC is a model code, in force only where it has been adopted, and the code where you live can differ. A wall under these limits is not cleared by them: the local building department decides.
Related calculators
Sources and methodology
Data updated . Blocks, caps and cartridges are rounded up; stone to 0.01 yd³; pipe and fabric to a whole foot or sq ft.
- Concrete Masonry and Hardscapes Association, Segmental Retaining Wall Design (SRW-TEC-004-10)
- Concrete Masonry and Hardscapes Association, Segmental Retaining Wall Installation Guide (SRW-MAN-003-10)
- Allan Block, Residential Landscape Retaining Wall Guide (L0631-0324)
- Versa-Lok Standard, Design and Installation Guidelines
- Pavestone, Anchor Diamond Retaining Wall Systems, cut sheet CM-178v6
- Loctite PL 500 Landscape Block Adhesive, technical data sheet
- Washington State Department of Transportation, Design Manual M 22-01, Exhibit 620-1
- International Residential Code 2021, Section R105.2 Work Exempt from Permit