Free retaining wall block calculator
Planning a segmental retaining wall? Enter your wall length and height plus the block size, and this calculator counts the courses, the blocks per row, the standard wall blocks (buried base course included), and a separate cap course — with a waste margin folded in — so you know exactly how many of each to order, updated live, as you type.
On this page16 sections
| Item | Quantity | Est. cost |
|---|---|---|
| Standard blocks | 132 | $594 |
| Cap blocks | 22 | $132 |
| Total material | 154 | $726 |
Prices are regional estimates: standard block ≈ $4.50, cap block ≈ $6.00. Excludes the gravel base, drainage stone, adhesive and any geogrid reinforcement.
Counts assume a straight wall; block dimensions and prices vary by product. How accurate is this?
Results are estimates. Consult a professional.
How the retaining wall block calculator works
Segmental retaining walls are built from concrete blocks dry-stacked in full horizontal courses, so the block count is pure geometry — no mortar, no volume math. This retaining wall calculator works out how many courses tall the wall is by dividing the wall height by the block height, then how many blocks span the length by dividing the wall length by the block length. Multiply the two and you have the body of the wall; add one finishing course of caps on top, then a waste margin for breakage and end cuts.
What the result means
The standard-block figure is the count of identical wall units you order — the same SKU for every course from the buried base to the top of the wall body. The cap figure is a separate order of finishing units that close off the top. The waste-adjusted total is what you buy, because every job loses a few blocks to corners, curves, breakage and the cuts at each end of a row.
What goes into your retaining wall estimate
A block estimate is built from three counts: how many courses tall, how many blocks long, and a finishing course of caps. Get each right and the pallet that shows up matches the wall you drew.
Rows — how many courses tall
Divide the wall height by the block's course height and round up. A 4-inch block gives you fine height control but doubles the course count of an 8-inch block for the same wall. Remember that the first course is buried for stability, so the height you enter should include that base course — typically about one block, or roughly 10% of the exposed height, below grade.
Blocks per row — how many blocks long
Divide the wall length by the block's face length and round up. With a 12-inch (1-foot) block, this is simply the wall length in feet. The same number repeats on every course, so it is the multiplier that drives the whole order.
Caps — the finishing course
Cap units are beveled blocks that close off the top of the wall and are usually glued down with masonry adhesive. They are a distinct product, ordered separately, at one block per foot of length — the same count as a single course. The calculator adds them as their own line so you don't accidentally order wall units where you need caps.
A worked example using the retaining wall calculator
Maria is building a 20 ft long, 3 ft high segmental retaining wall along a garden bed using a standard 12 in long × 6 in high block, with a cap course on top and a 10% waste margin.
Step 1 — Find the number of rows
Wall height in inches first: 3 ft = 36 in. Then 36 ÷ 6 = 6 rows. The bottom row is the buried base course.
Step 2 — Find the blocks per row
Wall length 20 ft = 240 in, divided by the 12 in block: 240 ÷ 12 = 20 blocks per row.
Step 3 — Multiply for the wall body
6 rows × 20 blocks = 120 standard blocks. That count already includes the buried base course.
Step 4 — Add caps, then the waste margin
One cap course is another 20 blocks, so 120 + 20 = 140 blocks. With 10% added for breakage and end cuts, 140 × 1.10 = 154 blocks to order.
How many retaining wall blocks do I need?
For a quick ballpark before you measure, this table gives the standard-block count (wall body, base course included) for common wall sizes using a 12 in × 6 in block. Add one cap per foot of length, then 10% for waste.
| Wall size (12×6 block) | Rows | Blocks/row | Standard blocks |
|---|---|---|---|
| 10 ft long × 2 ft high | 4 | 10 | 40 |
| 20 ft long × 2 ft high | 4 | 20 | 80 |
| 20 ft long × 3 ft high | 6 | 20 | 120 |
| 30 ft long × 3 ft high | 6 | 30 | 180 |
| 40 ft long × 4 ft high | 8 | 40 | 320 |
| 50 ft long × 4 ft high | 8 | 50 | 400 |
Standard blocks only (base course included). Add one cap per foot of wall length and a 10% waste margin before ordering. Figures assume a 12 in (1 ft) face length and a 6 in course height.
Common segmental retaining wall block sizes
Segmental wall blocks come in a handful of standard face heights. The face length is most often about 12 inches, but the height is the dimension that decides how many courses — and how much block — your wall needs.
| Block (face L × H) | Courses per foot of height | Best for |
|---|---|---|
| 12 in × 4 in | 3 courses | Low garden walls, tight height control, curves |
| 12 in × 6 in | 2 courses | The common all-rounder for residential walls |
| 12 in × 8 in | 1.5 courses | Taller walls; fewer courses, less labor |
| 18 in × 6 in cap | top course only | Beveled finishing units, glued down |
Dimensions follow common Allan Block / segmental retaining wall product lines. Always confirm the exact face length and height printed on your chosen block — it sets both counts.
Most manufacturers also publish an engineered height limit for a gravity (no-reinforcement) wall — often around 3 to 4 feet. Past that limit, the wall needs geogrid soil reinforcement and frequently an engineer's design, which is about stability, not block count.
When to use this retaining wall calculator
Reach for it whenever you are pricing or ordering a dry-stacked segmental block wall and need to know how many units — and which kinds — to put on the pallet.
- Garden and planter walls — low decorative walls along beds, paths and patios, usually one to three feet high.
- Grade-change retaining walls — holding back a slope to create a level yard, terrace or driveway edge.
- Terraced walls — a series of shorter walls stepped up a hillside, each priced as its own length and height.
- Raised beds and seat walls — short freestanding or retaining walls where the cap course doubles as a finished top.
Waste factor: how many extra blocks to order
Order the exact calculated count and you will come up short. Every course needs a partial block cut at each end, some blocks crack during splitting or handling, and curves and corners consume extra units. A modest overage covers all of it.
The 10% rule
For a straight wall, add 10%. Trim it toward 5% only if the wall length divides evenly by the block length and the run is dead straight. Push it to 15% for curved walls, walls with several corners, or split-face blocks that you'll be cutting frequently — each cut is a chance to waste a block. The calculator defaults to 10% and adjusts up to 20%.
Why running short is worse than running over
A few leftover blocks are cheap insurance and handy for future repairs. Running out mid-wall means a second trip or delivery, and if your blocks came from a different production lot the color may not match — a visible seam in a finished wall. Order to the high side.
Retaining wall definitions
Retaining wall block questions
Do I count the buried base course?
Yes. Enter the full wall height including the portion below grade, and the row count will include the buried base course as row 1. Burying the first course — about one block, or 10% of the exposed height — is what keeps the wall from sliding, so it is part of the order, not an extra.
Are caps included in the block count?
No — caps are listed as a separate quantity. They are a different product (beveled, glued down), so the calculator keeps the standard wall blocks and the cap blocks on separate lines. If your design leaves the top course exposed instead, turn caps off.
How tall can I build without an engineer?
Most manufacturers and many local codes cap an unreinforced gravity wall at around 3 to 4 feet. Above that you generally need geogrid reinforcement and often a permit or an engineer's design. That is a structural question — the block count itself is the same arithmetic at any height.
What about the gravel base and drainage behind the wall?
Those are separate materials this block count does not size. Manufacturers call for a level leveling pad of about 6 inches of compacted crushed gravel under the base course — deeper, 8 inches or more, for walls past 4 feet — extending roughly 6 inches beyond each end of the blocks. Behind the wall, plan on about 12 inches of free-draining gravel against the full height to carry water away and keep pressure off the blocks. Estimate that fill from your wall length and height with a gravel or aggregate calculator; the block count here covers only the wall units and caps.
How accurate is this retaining wall calculator?
The block count is exact for a straight wall. Courses equal wall height divided by block height, blocks per row equal wall length divided by block length, both rounded up, and the product is the precise number of units the wall body needs. If your measurements and block dimensions are right, the standard and cap counts are right.
The waste margin is an estimate by design. Curves, corners, split-face cutting and the production lot you happen to receive all push the real extra a little higher or lower than the 10% default, so treat the waste-adjusted total as a planning figure and lean high when the wall is curved or full of corners. The calculator also handles only the visible block — it does not size the gravel base, drainage stone or geogrid, which depend on soil and height and belong to a structural design, not a material count. Confirm your block's exact face length and height, and confirm the gravity-wall height limit, before you order.
Sources and references
The course-and-length counting method, standard block dimensions, base-burial guidance and gravity-wall height limits follow published segmental retaining wall (SRW) installation and best-practice literature from the block manufacturers and the National Concrete Masonry Association.
- Allan Block — Best Practices for SRW Walls (PDF). Course-by-course construction, base course burial of about 10% of wall height, gravel leveling pad and drainage detailing, and the gravity-wall height guidance used here.
- Allan Block — Retaining Wall Specification Manual (PDF). Standard unit dimensions, setback, cap units and geogrid reinforcement referenced in the block-size table, definitions and accuracy sections.
- National Concrete Masonry Association (NCMA) — Segmental Retaining Walls. Standard SRW unit dimensions, cap units, and installation guidance underlying the block-size table and the row-and-course counting method.
Frequently asked questions about the free retaining wall block calculator
About this retaining wall block calculator
This retaining wall block calculator runs entirely in your browser — nothing you type is sent anywhere, and every figure updates instantly as you change the wall dimensions, block size, cap option, or waste factor. It turns four simple measurements into a clean order: rows, blocks per row, standard wall blocks, cap blocks, and a waste-adjusted total.
It is one of the construction estimators on calculator-s.cloud. Browse the rest on the construction calculators shelf — including the related concrete calculator for the gravel base and footings — or see every tool in the full calculator directory.