Retaining Wall Block Calculator
Enter the wall length (or the diameter of a round wall), how tall it will stand above the ground, and the block you are using. This calculator adds the buried course, counts blocks and caps, and sizes the two amounts of stone every block wall needs: the crushed-stone leveling pad and the clean drainage gravel behind it.
What you'll need
As an Amazon Associate I earn from qualifying purchases.

1 Pack 4" Drainage Grate Cover, Rain Diverter, Drainage Grate Yard Drain, Drain Emitter for Sump Pump Discharge & Downspout Extensions, Fit 4" SCH 40, 4" SDR 35, 4" Corrugated Pipe-Black
$19.99
Check price on Amazon
VEVOR 3ft x 100ft Non Woven Geotextile Fabric 4 OZ, Heavy Duty Landscape Fabric, Weed Barrier Fabric, Ground Cover, Garden Fabric for Landscaping, French Drains, Underlayment, Black
$33.90
Check price on Amazon
SuperHandy Jumping Jack Tamping Rammer, 209cc 7HP 4-Stroke Gas Engine
Save 5%
$899.99Typical price:: $949.49

Orange Mason Line String Line - #18 Braided Nylon String - 250 Ft Length - Nylon Twine for Gardening Or Masonry Tools - Perfect Construction String for A String Level, Twine String for Gardening
$7.99
Check price on AmazonPrices and savings as of Sep 28, 2026, 4:34 PM UTC. Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon.com at the time of purchase will apply to the purchase of this product.
How many blocks, and why the buried course matters
Segmental retaining wall blocks are dry-stacked, so the count is simple: blocks per course is the wall length divided by the block length, and the number of courses is the total height divided by the block height. The part people forget is the buried course. The first course sits below grade — at least 6 inches, or roughly 1 inch for every 8 inches of exposed wall — so a wall that stands 24 inches above the lawn is really 30 inches of block.
For a round wall, such as a raised bed or a fire pit ring, the wall length is the circumference: π × diameter. Tapered blocks make tight circles possible; with square-ended blocks, the inside radius needs extra cutting, so add another 5%.
The two kinds of stone every block wall needs
| Layer | Material | Size |
|---|---|---|
| Leveling pad | Crusher run / road base, compacted | 6 in deep, block depth + 12 in wide |
| Drainage zone | Clean angular stone (#57) | 12 in wide, pad to 6 in below the top |
| Drain | 4 in perforated pipe, daylighted | Full length, at the back of the pad |
| Separation | Non-woven filter fabric | Between the drain stone and the soil |
The leveling pad is what keeps the wall straight: it is compacted, then the first course is set level on it block by block. The drainage stone is what keeps it standing. Water pressure behind a wall is the most common reason walls bulge or fail, and a 12 inch column of clean stone with a pipe at the bottom relieves it. The calculator sizes both, with a compaction allowance on the pad.
When a wall needs an engineer
Most residential codes, including IRC section R404.4, require an engineered design once a wall retains more than 4 feet of unbalanced soil. Slopes, driveways or buildings above the wall change the loads and can require engineering at lower heights, and many towns require a permit sooner. Taller walls typically need geogrid reinforcement layered back into the soil — the block count stays similar, but the excavation and backfill grow a lot.
Worked example
A 30 ft straight wall, 24 inches exposed, in 16 × 6 inch blocks: 23 blocks per course, 5 courses (24 in + 6 in buried), 121 blocks with 5% extra, 32 caps, about 1.8 tons of crusher run for the pad and 3.4 tons of #57 drainage stone.
Buying the stone? The crushed stone calculator compares #57, #8 and crusher run, and the delivery calculator works out truck loads. Pairing the wall with a patio? The paver calculator handles the paving.
Get the Gravel & Stone Calculator app for Android
Estimate gravel, stone, sand, and mulch on the job site, save projects, and share quantities with your supplier.
Building something else? Try our sister calculators
Smart Roofing Calculator
Free roof replacement cost estimates by material and pitch.
Smart Decking Calculator
Deck cost, boards, joists, and stair estimates.
Smart Fencing Calculator
Fence cost by material and linear footage.
Smart Tile Calculator
Tile quantity, grout, and thinset estimates.
Smart Insulation Calculator
R-value, batt count, and blown-in coverage.
Smart Decking Calculator
Android app — deck cost, boards, and framing on site.
Smart Drywall Calculator
Android app — drywall sheets, mud, and tape estimates.
Smart Sod Calculator
Android app — sod rolls, pallets, and coverage.
Smart Insulation Calculator
Android app — R-value and batt coverage.
Smart Tile Calculator
Android app — tile, grout, and thinset quantities.
Smart Fencing Calculator
Android app — fence cost estimates on the go.
Frequently asked questions
- How many retaining wall blocks do I need?
- Divide the wall length by the block length for blocks per course, then multiply by the number of courses — including the buried first course. A 30 ft wall 24 inches tall in 16 x 6 inch block is 23 blocks per course × 5 courses = 115, or about 121 with 5% extra.
- How deep should the first course be buried?
- At least 6 inches, or about one inch for every eight inches of exposed height, whichever is more. The buried course keeps the base of the wall from kicking out.
- How much gravel goes behind a retaining wall?
- A 12 inch wide zone of clean angular stone such as #57, from the leveling pad to about 6 inches below the top, with a perforated drain pipe at the bottom. For a 30 ft wall standing 30 inches tall (36 inches of block with the buried course) that is about 3 cubic yards, or roughly 4.3 tons.
- How tall can a block wall be without an engineer?
- Most residential codes require an engineered design once a wall retains more than 4 feet of soil, and sooner if there is a slope, a driveway or a structure above it. Many towns also require a permit below that height — check locally.
Related calculators
All calculators →French Drain Gravel Calculator
Gravel, pipe, and fabric quantities for a French drain trench of any length and depth.
Open calculator →Paver Base Calculator
Base gravel and bedding sand for a paver patio, walkway, or driveway.
Open calculator →Shed & Pad Base Calculator
Gravel pad for a shed, hot tub, HVAC unit, or parking area, sized with the correct overhang.
Open calculator →