How Many Retaining Wall Blocks Do I Need?
Enter your wall length and height — this retaining wall block calculator counts your blocks by the course, and it includes the buried base course most block calculators leave out.
A course-based segmental retaining wall calculator: blocks, the below-grade base course, cap blocks, and separate leveling-pad and drainage gravel quantities. It flags the unreinforced-height and building-permit thresholds — but soil bearing, surcharge loads, geogrid reinforcement, and frost depth are not verified here. Confirm wall design and local amendments with your local building department before ordering.
Quick Answer
A 20 ft long wall with 3 ft of exposed height, built from small 4 in x 11.75 in Pavestone-style blocks, needs 231 blocks at a 10% waste factor — 21 blocks per course across 10 courses, which is 9 visible courses plus 1 buried base course. Per Versa-Lok, that first course is embedded below grade about 1/10th of the exposed wall height — the course most block calculators skip. You'll also need about 0.74 cu yd of compacted leveling-pad gravel and a separate 2.22 cu yd of drainage aggregate behind the wall. A different length, height, or block size? Use the retaining wall block calculator below to enter your exact wall and see blocks, courses, and gravel update live.
Cross-Section — Retaining Wall Block Assembly
- Wall blocks (SRW)
- Buried course
- Leveling pad
- Drainage gravel
- Cap block
Schematic cross-section of a segmental retaining wall — not to scale. For planning estimates only — verify wall design, embedment, drainage, and local frost depth with a qualified engineer and your local building authority before building.
Estimate your Retaining Wall Blocks
Start from a preset:
Click any preset to fill the form, then adjust as needed.
Your Retaining Wall Estimate
Retaining wall blocks needed
231
This block count is based on segmental retaining wall blocks. Check price at Home Depot CraftedCalcs earns commission on purchases made through the Home Depot links.field blocks (incl. 21 waste, buried course counted)
Blocks per course
21
across the wall length
Visible courses
9
above grade
- Leveling-pad gravel (6 in × 24 in compacted)
- 0.74 cu yd
- Drainage gravel behind wall (12 in aggregate)
- 2.22 cu yd
- Unreinforced-height limit applied
- 4 ft (3 ft with poor soil / surcharge)
Retaining Wall Height & Permit Check
This checks your total wall height against the typical unreinforced (gravity) height guideline and the IBC §105.2 permit trigger only. It estimates block, course, and gravel quantities — it does NOT verify soil bearing capacity, surcharge loads, geogrid soil reinforcement, global stability, or local frost depth. It is NOT a code-compliance certificate, NOT a building permit application, and NOT a substitute for review by a licensed professional. Confirm wall design and permit requirements with a qualified engineer and your local building department before building.
Dimensional checks: 2 of 2 items passed
What was checked · 2 items
- Wall height within typical unreinforced (gravity) limit — actual 3.33 ft total wall height (includes buried courses), standard Unreinforced SRWs max 3-4 ft — Versa-Lok: "maximum, stable unreinforced wall height in the best conditions is 4 feet" · CMHA SRW-FAQ-001 / Versa-Lok Installation Tips
- Building permit likely required over 4 ft total wall height — actual 3.33 ft — at or below the 4 ft permit trigger, standard IBC §105.2 requires a building permit for earth-retaining structures over 4 ft (1.2 m) in total height · IBC §105.2 (via CMHA SRW-FAQ-001)
Not checked by this calculator · 6 other provisions
This calculator checks wall height against two thresholds only. The following must be verified separately with a qualified geotechnical or structural engineer and your local building authority:
- Soil bearing capacity and native soil type at the wall site · CMHA SRW-FAQ-001
- Surcharge loads (patios, driveways, slopes, structures, vehicles) above or behind the wall · CMHA SRW-FAQ-001
- Geogrid soil reinforcement — required for walls beyond the unreinforced (gravity) height limit or under surcharge loading · CMHA SRW-TEC-003 / SRW-TEC-004
- Local frost-depth and freeze-thaw exposure at the wall site. This is NOT the same as the SRW leveling pad depth computed above — the leveling pad is a bearing/drainage detail, not a frost footing. · Local building code / AHJ
- Local code amendments and permit requirements beyond the IBC §105.2 baseline · Local AHJ
- Buried-course count rounds to whole courses. For small blocks (4in height) a single buried course may fall short of CMHA's absolute-minimum suggested embedment of 6in — verify actual below-grade depth at the site · CMHA SRW-TEC-004
Need a different wall size? See common wall sizes →
Shopping List
Affiliate disclosure: CraftedCalcs earns commission on purchases made through the Home Depot and Amazon links below. The commission doesn't change your price. It helps us keep this site free.
- 231 × retaining wall block (field blocks, incl. buried course) Home Depot
- 0.74 cu yd × leveling-pad gravel (3/4 in crushed stone, 6 in × 24 in compacted) Home Depot
- 2.22 cu yd × drainage gravel (free-draining aggregate behind wall) Home Depot
- Landscape fabric / geotextile (separates gravel from soil) Amazon
Full Materials Checklist
The calculator sizes the blocks, courses, and gravel. This is the full bill — caps, drain pipe, geotextile, and adhesive first-timers forget on the first trip. Quantities shown for the default 20 x 3 ft wall; adjust for your wall.
Estimate only — not a professional bill of materials. It is NOT professional engineering, architectural, or contracting advice; NOT a code-compliance certificate; NOT a building permit application; and NOT a substitute for review by a licensed professional. Verify every quantity against your actual cut list, site conditions, and local building authority before purchasing. See our full disclaimer for details.
Wall blocks & caps
- Retaining wall block (SRW units) Home DepotQty: 231 blocks (10 courses, incl. 1 buried) for the default 20 x 3 ft wall at 10% waste · Sold by the pallet at home centers — a small 4 in x 11.75 in block ships roughly 144 pieces (about 46.5 sq ft of wall face) per pallet, so round up to whole pallets. The count already includes the below-grade base course.
- Retaining wall cap block · optional Home DepotQty: 21 caps if you add a cap course (one per block in the top course) · Caps finish the top course and are usually a different product from the field block. Optional but common; bond them to the top course with concrete landscape-block adhesive.
Base & drainage
- Paver base gravel / crushed stone (3/4 in) Home DepotQty: ~0.74 cu yd leveling pad + ~2.22 cu yd drainage backfill for the default wall · Two separate materials: Versa-Lok specifies a compacted leveling pad about 6 in thick and 24 in wide, while CMHA SRW-TEC-004 calls for at least 12 in of free-draining aggregate behind the wall. Order each separately, not as one lumped pile.
- Perforated drain pipe (3 in) · optional Home DepotCMHA SRW-TEC-004 specifies a drain pipe of at least 3 in diameter at the base of the drainage aggregate to carry water away from behind the wall.
- Separates the drainage gravel from native soil so fines do not migrate in and clog the free-draining zone over time.
Finishing
- Bonds the cap course to the top course of field block so caps do not shift. One tube covers several caps.
Affiliate disclosure: CraftedCalcs earns commission on purchases made through the Home Depot and Amazon links above. The commission doesn't change your price. It helps us keep this site free.
6 items across 3 categories. Quantities assume standard residential practice — adjust up for longer spans, complex geometry, or pro-grade specification.
Retaining Wall Block Formula (course-based takeoff)
blocksPerCourse = ⌈ wallLength(in) ÷ blockFaceWidth ⌉ visibleCourses = ⌈ exposedHeight(in) ÷ blockHeight ⌉ buriedCourses = max(1, ⌈ 0.10 × exposedHeight(in) ÷ blockHeight ⌉) totalCourses = visibleCourses + buriedCourses totalBlocks = ⌈ blocksPerCourse × totalCourses × (1 + waste%) ⌉ capBlocks = capRow ? blocksPerCourse : 0 levelingPad (cu yd) = (6in ÷ 12) × (24in ÷ 12) × wallLength(ft) ÷ 27 drainageGravel (cu yd) = (12in ÷ 12) × exposedHeight(ft) × wallLength(ft) ÷ 27
Each course spans the wall length: the blocks per course is the length divided by one block's face width, rounded up. The exposed height divided by the block height (rounded up) gives the visible courses, and the buried base course is added on top — one-tenth of the exposed height per Versa-Lok, at least one course. The block count multiplies blocks per course by every course (visible plus buried), then adds waste. The leveling pad and the drainage gravel are computed separately from their own dimensions and reported as two line items, because the 6 in × 24 in compacted pad under the wall is a different material and purpose from the 12 in of free-draining aggregate behind it.
Source: CMHA SRW-TEC-004 segmental retaining wall design + Versa-Lok installation tips
How This Calculator Estimates Retaining Wall Blocks
The calculator counts a segmental retaining wall the way a mason builds it: course by course. It divides the wall length by one block's face width and rounds up to get the blocks per course — for a 20 ft (240 in) wall of small 11.75 in blocks, that is 240 ÷ 11.75 = 20.4, rounded up to 21 blocks per course. It then divides the exposed height by the block height to get the visible courses: 3 ft (36 in) of exposed height in 4 in blocks is 9 courses.
The number most block calculators miss is the buried base course. A gravity retaining wall only stands because its first course sits below grade, letting the soil in front resist sliding. Per Versa-Lok, the first course is embedded below grade approximately 1/10th of the exposed wall height, and CMHA SRW-TEC-004 gives an absolute-minimum suggested embedment of 6 in. This calculator adds at least one buried course, so the 9 visible courses become 10 total courses: 21 × 10 = 210 blocks, then 231 after a 10% waste factor. The total wall height it reports (3.33 ft here) is measured from the leveling pad to the top block, including that buried course — which is the "total height" basis the permit threshold uses.
One disambiguation matters. The leveling pad this calculator sizes — approximately 6 in of compacted gravel, 24 in wide, per Versa-Lok — is a bearing and drainage detail, not a poured or mortared frost footing. Local frost depth is a separate, site-specific requirement this tool does not compute. Likewise, the drainage aggregate behind the wall is its own quantity: CMHA SRW-TEC-004 calls for at least 12 in of free-draining aggregate with a 3 in drain pipe. The pad and the backfill are reported as two line items so neither gets shortchanged when you order.
Common Mistakes — Retaining Walls
Four errors that turn the right block count into a wall that leans, drains poorly, or trips a permit you did not plan for.
Ordering only the courses you can see — and skipping the buried base course
Lumping the leveling pad and the drainage gravel into one gravel order
Building past 4 ft without an engineer or a permit
Treating the leveling pad as a frost footing (or vice-versa)
Common Wall Sizes — Blocks at a Glance
Small 4 in × 11.75 in blocks, 10% waste, with the buried base course included in every count. Every cell is computed by the calculator's own engine — the same math the form above runs.
| Wall size (length × exposed height) | Blocks / course | Total courses (incl. buried) | Total blocks (10% waste) | Leveling-pad base (cu yd) |
|---|---|---|---|---|
| 10 × 2 ft | 11 | 7 (6v + 1b) | 85 | 0.37 |
| 10 × 3 ft | 11 | 10 (9v + 1b) | 121 | 0.37 |
| 15 × 3 ft | 16 | 10 (9v + 1b) | 176 | 0.56 |
| 20 × 2 ft | 21 | 7 (6v + 1b) | 162 | 0.74 |
| 20 × 3 ft | 21 | 10 (9v + 1b) | 231 | 0.74 |
| 25 × 3 ft | 26 | 10 (9v + 1b) | 286 | 0.93 |
| 30 × 3 ft | 31 | 10 (9v + 1b) | 341 | 1.11 |
| 30 × 4 ft | 31 | 14 (12v + 2b) | 478 | 1.11 |
| 40 × 3 ft | 41 | 10 (9v + 1b) | 451 | 1.48 |
| 40 × 4 ft | 41 | 14 (12v + 2b) | 632 | 1.48 |
Large blocks, a cap course, a different waste factor, or poor-soil conditions change these numbers — enter your own wall in the calculator ↑ for those, plus the drainage gravel and the compliance flags.
Retaining Wall Terminology
10 terms — the SRW block itself, buried course, leveling pad, drainage aggregate, cap block, batter, geogrid, surcharge, frost footing, and dry-stack construction.
Retaining wall block (SRW)
Buried course (embedment)
Leveling pad
Drainage aggregate
Cap block
Batter
Geogrid
Surcharge
Frost footing (vs. leveling pad)
Dry-stack
Frequently Asked Questions
How many retaining wall blocks do I need for a 20 ft wall?
For a 20 ft long wall with 3 ft of exposed (above-grade) height built from small 4 in x 11.75 in Pavestone-style blocks, this calculator returns 231 blocks at a 10% waste factor. That is 21 blocks per course times 10 courses — 9 visible plus 1 buried base course. Per Versa-Lok, the first course is embedded below grade about 1/10th of the exposed wall height, the course most block calculators leave out. Change the length, height, or block size above and the count updates live.
Why does this calculator include a buried course?
A segmental retaining wall is only stable if its first course sits below the ground line, so the soil in front helps resist the wall sliding. Versa-Lok embeds the first course approximately 1/10th of the exposed wall height below grade, and CMHA SRW-TEC-004 gives an absolute-minimum suggested embedment of 6 in. This calculator adds at least one buried course and includes it in the block count and the total wall height — so the number you buy already covers the course below the dirt.
How much gravel do I need behind a retaining wall?
Two separate materials, kept separate here. The leveling pad under the blocks is approximately 6 in thick and 24 in wide of compacted gravel or crushed stone, per Versa-Lok — about 0.74 cu yd for the default 20 ft wall. The drainage aggregate behind the wall is a different quantity: CMHA SRW-TEC-004 calls for at least 12 in of free-draining aggregate, about 2.22 cu yd for the same wall. The calculator reports both as line items so you can order each correctly instead of guessing one lumped number.
How tall can I build a retaining wall without an engineer or permit?
CMHA states unreinforced segmental retaining walls typically can be built up to 3 to 4 ft high — or less with poor soil or surcharge loads, and Versa-Lok gives a maximum stable unreinforced height of 4 ft under favorable site conditions, with taller walls typically requiring a design by a professional engineer. Separately, per IBC Section 105.2 a building permit is required for earth-retaining structures over 4 ft in total height. The calculator flags both thresholds against your total wall height, but you must confirm requirements with your local building department.
Is the leveling pad the same as a frost footing?
No — and it is worth being clear about. The leveling pad this calculator sizes — approximately 6 in thick and 24 in wide of compacted gravel, per Versa-Lok — is a segmental retaining wall bearing and drainage detail, not a poured or mortared frost footing. Local frost depth and freeze-thaw exposure are a separate, site-specific concern that this calculator does not compute. Confirm frost-depth requirements with your local building department before you dig the base.
Do I need cap blocks on a retaining wall?
Cap blocks finish the top course, hide the hollow cores or setback lip, and give the wall a clean edge — they are optional but common. Turn on the cap-row option above and the calculator adds one cap course equal to the blocks per course (21 caps for the default 20 ft wall) as a separate line item, because caps are usually a different product from the field block and are not part of the field-block waste count. Cap blocks are typically bonded to the top course with a concrete landscape-block adhesive.
How many courses does a retaining wall need?
Take the exposed (above-grade) height, divide by one block's height, round up, and add the buried base course. For the default 3 ft exposed wall in small 4 in blocks that is 36 in ÷ 4 in = 9 visible courses, plus 1 buried course = 10 total courses. Per Versa-Lok, the first course is embedded about 1/10th of the exposed height below grade, so taller walls pick up a second buried course. The calculator does this rounding for you and reports visible and buried courses separately, then multiplies by the blocks per course.
Do retaining wall blocks need mortar?
No — segmental retaining wall (SRW) blocks are dry-stacked, not mortared. Each course is laid on the one below and holds position through the units' own weight and a built-in setback lip or pin that locks the courses together and leans the wall back into the slope. Versa-Lok's installation guidance is built around this dry-stacked, gravity-and-embedment system, not mortar. That is also why the buried base course and the compacted leveling pad matter so much: with no mortar bonding the wall together, the below-grade course and a level, well-compacted pad are what keep it standing. Cap blocks are the one exception — those are usually bonded on with a concrete landscape-block adhesive.
How much gap should I leave between retaining wall blocks?
None — unlike pavers, SRW blocks are butted tight and interlock, so there is no gap or spacer to plan and this calculator does not add one. The blocks per course is simply the wall length divided by one block's face width, rounded up (21 blocks per course for a 20 ft wall of 11.75 in small blocks). What you do plan for is the setback: per Versa-Lok each course steps back on the one below so the finished wall leans (batters) into the retained soil. If a design calls for a running-bond offset, cut blocks at the ends of alternating courses rather than opening a gap.
Troubleshooting Tips
Already built and something looks off? Common post-install symptoms and how to fix them. Click any item to expand.
"My wall is leaning out — tipping forward away from the slope."
"Individual blocks are shifting or sliding out of line."
"Water is pooling behind the wall and seeping through the face."
"The wall lifted and shifted over winter, then partly settled back."
"My courses came out uneven — the top of the wall waves up and down."
"The middle of my wall is bulging outward even though the ends are fine."
"A white, chalky film keeps appearing on my block faces."
"Gaps are opening up and the base of the wall has settled."
"My cap blocks have come loose and slide when I step on them."
"After a heavy rain the buried first course is now exposed at the base."
"Mud and fine soil are washing out through the joints of the wall."
Related Calculators
- Paver CalculatorFor the flat patio or walkway at the top or bottom of your wall — paver count by area, plus the fire-pit wall option that uses the same course math.Available now →
- Paver Base CalculatorSize the compacted gravel base and bedding sand under a paver surface — the same crushed-stone base you buy for the wall's leveling pad, by the cubic yard.Available now →
- Concrete Block CalculatorBuilding a mortared CMU wall instead of a dry-stacked SRW? Count standard concrete blocks by the course plus the mortar and grout they need.Available now →
Get notified when we ship new calculators
One concise email per week with the newest calculators and guides. No spam, no affiliate pitches.
By subscribing you agree to our privacy policy. Unsubscribe anytime.