Retaining Wall Block & Material Calculator
Estimate how many blocks, capstones, base & drainage gravel, and adhesive your retaining wall needs — plus a materials cost estimate, block-size comparison, and a downloadable PDF report.
| Block size | Face (W×H) | Blocks / Row | Courses | Total Blocks | Blocks + Caps $ | vs Selected |
|---|---|---|---|---|---|---|
| Calculate to see comparison | ||||||
Calculate to see comparison
How to Use the Retaining Wall Calculator
Work out the blocks, capstones, gravel and adhesive your wall needs — and what the materials will cost — before you load a cart, in four steps.
Enter length and height
Add up each straight run for total length, then set the built height. The height badge tells you straight away whether you’re in DIY territory or heading for a permit.
Choose your block
Pick standard, medium or large and the face dimensions fill in — then fine-tune them against your product’s spec sheet, since real block sizes vary between systems.
Set base, drainage and caps
Enter the depth of the compacted gravel pad and the width of drainage stone behind the blocks, and turn capstones on or off. Both gravel volumes are priced separately.
Price it and save it
Put in your local prices to get a full materials estimate, compare what a different block size would cost, and download the two-page PDF with the build guidance.
What’s Included
A wall is five materials, not one — this counts every one of them and flags the height where the job stops being a DIY project.
Blocks, courses and waste
Works out blocks per row and number of courses from your actual face dimensions, then adds a waste allowance for the cuts, corners and breakage every wall produces.
Base and drainage gravel
Sizes the compacted leveling pad from your trench width and the clean drainage stone behind the wall separately, in cubic yards and tons — the two things most estimates leave out.
Capstones and adhesive
Counts the finishing caps along the top and the tubes of construction adhesive to glue them down — or drops both from the estimate if your system self-caps.
Height tier & build guidance
Flags DIY-friendly, permit-check and engineered-wall heights, and gives you the burial depth for the bottom course, the base trench width and a target setback.
Block-size comparison
Shows what the same wall costs in standard, medium and large block, so you can see whether fewer, bigger units actually save money — or just save your back.
Branded PDF report
Two pages covering your block count, full shopping list, build guidance, block-size comparison and a materials reference table with unit prices and line costs.
By the Numbers
A quick snapshot of what this calculator covers under the hood.
three presets plus custom
blocks to adhesive
common minimum
where permits kick in
no sign-up needed
Built for “How Many Blocks, and Can I Build It Myself?”
A short garden wall is a weekend job. A tall one holding back a slope is an engineering problem. The height tells you which one you have.
Garden & terrace wall builders
Building a raised bed edge, a low terrace or a planter wall? Under a few feet this is genuinely DIY-able — get the block count, the gravel and a realistic materials bill.
Budget planners & quote checkers
Holding a contractor’s bid? Price the materials on their own and you’ll see what share of the quote is labor, excavation and equipment rather than block.
Block-size shoppers
Torn between small units and large ones? Compare the count and cost across all three sizes on your exact wall before you commit to a system.
The Wall Fails at the Bottom, Not the Top
Seven habits that separate a wall still standing in twenty years from one that bulges after two winters.
- 1Check the height rules before anything else. Many jurisdictions require a permit and an engineer’s design above about four feet, and the threshold drops when there’s a slope, driveway, pool or structure above the wall adding load. Call your building department first — it’s a free phone call and it decides the whole project.
- 2Water is what destroys retaining walls. Saturated soil pushes far harder than dry soil. Backfill with clean drainage stone against the blocks and run a perforated pipe at the base that daylights somewhere — never backfill straight against the wall with the soil you dug out.
- 3Spend your time on the first course. Every error in the base course multiplies up the wall. Compact the gravel pad in thin lifts, then level each block front-to-back and side-to-side. A slow first course makes every course above it fast.
- 4Bury the bottom course. The buried course is what stops the wall sliding forward at its base — roughly an inch of burial per foot of wall height, and never less than a full course. It feels like wasted block; it isn’t.
- 5Keep the batter leaning into the hill. Each course should step back slightly rather than stacking dead vertical, which puts the wall’s weight to work against the soil pressure. Most block systems build this in with a lip or pin — don’t defeat it.
- 6Measure the block, don’t trust the label. Nominal sizes and actual face dimensions differ between manufacturers, and a half-inch error compounds across a hundred blocks. Take the numbers off the spec sheet or a sample block and enter those.
- 7Budget more waste for curves and corners. Straight runs waste little; curves, corners and step-downs mean cutting, and cut offcuts rarely find a second home. Five percent suits a plain wall, ten is safer for anything shaped or a first build.
Frequently Asked Questions
Answers to the most common questions about block counts, gravel, permits and cost.
How many blocks do I need for a retaining wall?
Divide the wall length by the block’s face width for blocks per row, divide the wall height by the block’s face height for the number of courses, and multiply the two. A 40-foot wall three feet high in 12-inch by 4-inch block works out to 40 blocks per row across nine courses — 360 blocks, before waste. Add five to ten percent on top for cuts and breakage. The calculator does this from your actual block dimensions and shows the count with and without the waste allowance.
How tall can a retaining wall be without a permit?
It varies by jurisdiction, but around four feet is a common trigger for requiring a permit and an engineered design — and the exact measuring point differs, with some codes measuring from the bottom of the footing rather than from grade. Anything carrying a surcharge above it, such as a slope, driveway, pool or structure, can require engineering at a much lower height. Terraced walls stacked close together may also be treated as one tall wall. This is not a rule to guess at: check with your local building department before you order materials, because the answer changes the design as well as the paperwork.
How much gravel do I need for a retaining wall?
Two separate volumes. The base pad is a compacted trench of crushed gravel under the first course, commonly six inches deep and cut wider than the block — the calculator uses the block depth plus six inches for the trench. The drainage layer is clean angular stone backfilled directly behind the blocks, often about twelve inches wide running the full height. Multiply length by width by depth for each, divide by 27 for cubic yards, and order the base and drainage stone as different materials: the base wants crusher run that compacts, the drainage layer wants clean stone that lets water through.
Do I need a drain pipe and geogrid?
A perforated drain pipe at the base of the drainage stone is standard practice on almost any wall retaining real soil, and it needs an outlet — a pipe that fills and has nowhere to go achieves nothing. Geogrid is different: it’s soil reinforcement laid in layers extending back into the retained soil, and it’s what allows taller walls to work at all. Whether you need it, how many layers and how far back they run are engineering decisions based on wall height, soil type and what’s above the wall. This calculator sizes materials for a straightforward gravity wall and doesn’t include geogrid — if your wall is tall enough to need it, it’s tall enough to need a design.
How much does a retaining wall cost?
Materials are usually the smaller half of a professionally built wall. Block prices commonly run from a few dollars each for standard units to well over ten for large or premium-face styles, and gravel, caps and adhesive add up on top — that’s what this calculator estimates. An installed quote also covers excavation, hauling spoil, base preparation, compaction equipment, drainage, backfill and labor, plus engineering and permits on a taller wall. Comparing a bid against material cost alone will always make it look inflated; comparing the material line within the bid is the more useful exercise.
Should I use small or large blocks?
Small units are lighter to handle, follow tight curves better and suit low garden walls, but you’ll place far more of them and each course adds less height. Larger units cover ground much faster and their weight helps a gravity wall resist soil pressure, but they’re heavy enough to make a solo build hard and they don’t turn sharp radii. Cost per square foot of wall face is often surprisingly close between sizes, which is why the comparison table prices your specific wall in all three — it’s usually handling and curve radius, not price, that decides it.

