Retaining Wall Block Calculator
Calculate the number of retaining wall blocks and cap stones needed for a landscape wall project. Enter wall dimensions and block sizes to get accurate block counts before purchasing materials.
About this calculator
The calculator determines how many blocks fit along the wall's length and how many courses stack to the required height, then multiplies those two figures together. Blocks per course = ⌈(wallLength × 12) / blockLength⌉, where wall length is converted from feet to inches before dividing by the block length in inches. Courses needed = ⌈(wallHeight × 12) / blockHeight⌉. Total field blocks = blocks per course × courses. If cap stones are included, one additional row of cap blocks is added: cap stones = ⌈(wallLength × 12) / blockLength⌉. The ceiling function (⌈ ⌉) rounds up at each step so you never under-order. The full formula is: total = (blocks per course × courses) + (includeCapStone ? blocks per course : 0).
How to use
Build a wall 20 ft long × 3 ft high using blocks that are 12 inches long and 6 inches tall, with cap stones included. Blocks per course = ⌈(20 × 12) / 12⌉ = ⌈240 / 12⌉ = 20. Courses = ⌈(3 × 12) / 6⌉ = ⌈36 / 6⌉ = 6. Field blocks = 20 × 6 = 120. Cap stones = 20 (one extra row). Total blocks = 120 + 20 = 140 blocks. Add 5–10% for cuts and breakage, bringing your purchase quantity to approximately 147–154 blocks.
Frequently asked questions
How do I calculate how many blocks I need for a retaining wall?
Divide the wall length (in inches) by the block length to get blocks per course, then divide the wall height (in inches) by the block height to get the number of courses, and multiply the two together. Always use ceiling (round-up) division so you account for partial blocks at the ends. Add one more course's worth of blocks if you plan to finish the top with a different cap stone. Finally, add 5–10% overage for field cuts and any blocks damaged during installation.
What is the difference between retaining wall blocks and cap stones?
Standard retaining wall blocks form the structural courses of the wall and are designed with a textured face and a lip or pin system that locks courses together for stability. Cap stones are flat, finished-top blocks placed on the final course to create a clean, decorative edge and protect the wall's top from water infiltration. Cap stones are typically the same length as field blocks but shorter in height and may have a different face profile. They are optional structurally but are strongly recommended for aesthetics and longevity.
How high can a retaining wall be before it requires engineering or permits?
In most US jurisdictions, retaining walls up to 3–4 feet in height (measured from the bottom of the footing) can be built without a permit or engineering review, but regulations vary significantly by city and county. Walls above 4 feet typically require a building permit and may need a structural engineer's stamp, especially if they support a surcharge load like a driveway or structure. Even walls under the permit threshold should be built on a compacted gravel base with adequate batter (backward lean of 1 inch per foot of height) and proper drainage backfill. Always check local codes before starting construction.