Estimate retaining wall blocks, courses, cap blocks, base material and drainage gravel — metric or imperial, with optional material cost.
Wall sections
| Item | Value |
|---|
Written and reviewed by Mohsin Iqbal · Last reviewed August 2026
This retaining wall block calculator estimates the blocks, courses, cap blocks, base material and drainage gravel you need, based on your wall dimensions and block size. As a retaining wall estimator it works course by course rather than a single area-based guess, so partial blocks at the end of each row are accounted for. It's a material-estimation tool, not a structural design tool — see Limitations below.
Divide your wall height by the block face height and round up to get the number of courses, divide wall length by block face length and round up for blocks per course, then multiply the two and add your waste allowance. There's no single blocks-per-square-foot figure that works for every project, since block size varies significantly by manufacturer — enter your own block dimensions above for an exact count.
Courses = ROUND UP( Wall Height ÷ Block Face Height )
Blocks per Course = ROUND UP( Wall Length ÷ Block Face Length )
Base Blocks = Courses × Blocks per Course
Final Blocks = ROUND UP[ Base Blocks × (1 + Waste %) ]
For multiple wall sections, this calculator works out courses and blocks per course separately for each section before adding the totals together. Calculating one combined course count from a summed wall area can under-count materials, since partial courses and end-of-row blocks occur independently on each section — a short section and a long section each waste a partial block at the end of every course, and that loss doesn't show up if you only look at total area.
A course is one horizontal row of blocks. The number of courses is simply your wall height divided by the block's face height, rounded up — a partial course still needs a full course of blocks, so a 1.25m wall built with a 200mm-high block needs 7 courses (1.25 ÷ 0.2 = 6.25 → 7), not 6. This calculator shows the course-based quantity as the primary result because it's generally the more practical, purchase-ready figure for modular block walls, alongside a simpler area-based theoretical estimate for comparison.
Turn on "Include cap blocks" to estimate cap quantity separately from wall blocks. Enter your cap block's length; the total cap length defaults to your combined wall length (editable if you're only capping part of the wall).
Cap Blocks = ROUND UP( Total Cap Length ÷ Cap Block Length )
The calculator doesn't assume every wall uses caps — some retaining-wall systems use a flat top course instead, so this stays off unless you switch it on.
Turn on "Include base material" in the Base & Gravel tab to estimate the volume of base/leveling material under your wall.
Base Volume = Wall Length × Base Width × Base Depth
Results are shown in cubic metres and litres (metric) or cubic feet and cubic yards (imperial). Weight is only calculated if you enter a material density, since crushed rock, road base and other base materials don't all weigh the same per cubic metre — this calculator doesn't assume one universal density.
Turn on "Include drainage/backfill gravel" to estimate the volume of drainage material behind your wall.
Drainage Gravel Volume = Wall Length × Gravel Width × Gravel Height
As with base material, weight is only shown if you enter a density — different drainage aggregates vary in weight per cubic metre or cubic yard.
Multiply your wall length by the drainage gravel's width and height (or depth) to get volume. Enter the drainage/backfill dimensions specified for your retaining-wall system or project — drainage requirements vary by wall type, soil conditions, wall height and manufacturer specification, so there's no single figure that applies everywhere. This calculator computes volume from whatever dimensions you enter; it doesn't tell you what those dimensions should be.
The optional retaining wall cost calculator in the Cost tab uses your own local prices for wall blocks, caps, base material and drainage gravel to estimate material cost — enter a price per wall block, per cap block, and per volume unit of base material and drainage gravel for an estimated material total. This calculator doesn't publish or assume market prices, since they vary by region, block type and supplier — you enter your own local prices. The estimate covers materials only; it doesn't include labour, excavation, engineering, permits, delivery, drainage pipe, geogrid/reinforcement, concrete, machinery or tax unless you add those costs yourself.
| Step | Working | Result |
|---|---|---|
| Wall | 6m long × 1.2m high, block 450 × 200mm, 10% waste | — |
| Courses | ROUND UP(1.2 ÷ 0.2) | 6 courses |
| Blocks per course | ROUND UP(6 ÷ 0.45) | 14 blocks |
| Base blocks | 6 × 14 | 84 blocks |
| +10% waste | ROUND UP(84 × 1.10 = 92.4) | 93 blocks |
| Step | Working | Result |
|---|---|---|
| Wall | 20ft long × 4ft high, block 18 × 6in, 10% waste | — |
| Courses | ROUND UP(4ft ÷ 0.5ft) | 8 courses |
| Blocks per course | ROUND UP(20ft ÷ 1.5ft) | 14 blocks |
| Base blocks | 8 × 14 | 112 blocks |
| +10% waste | ROUND UP(112 × 1.10 = 123.2) | 124 blocks |
| Step | Working | Result |
|---|---|---|
| Wall | 6m long × 1.2m high, block 450 × 200mm, 5% waste | — |
| Blocks | Courses 6 × 14/course = 84, ROUND UP(84 × 1.05 = 88.2) | 89 blocks |
| Base material | 6m × 0.3m width × 0.15m depth | 0.270 m³ (270 L) |
| Drainage gravel | 6m × 0.3m width × 0.9m height | 1.620 m³ (1,620 L) |
Every worked example above was run through the calculator's actual formula before publishing, so entering the same figures into the calculator will reproduce these results exactly.
This calculator is a material-quantity estimator. It calculates blocks, courses, cap blocks, base material volume and drainage gravel volume from the dimensions you enter. It does not determine retaining-wall stability, overturning resistance, sliding resistance, bearing capacity, soil pressure, surcharge loading, structural reinforcement, geogrid requirements, footing design, drainage engineering, permit requirements or building-code compliance. Taller or more heavily loaded retaining walls often require engineered design, including reinforcement such as geogrid — this calculator doesn't calculate geogrid length, spacing, number of layers or structural suitability. For sloped or stepped wall height, the calculator can only give an approximate material estimate; it does not exactly model stepped block courses. Permit, engineering and approval requirements vary significantly by country, state, province and local council — check your local building authority and a qualified professional for structural design, safe wall height and approval requirements for your specific project.
Divide your wall height by the block face height and round up to get the number of courses, divide wall length by block face length and round up for blocks per course, then multiply the two and add your waste allowance. Enter your own wall and block dimensions above for an exact figure, since block size varies by product.
Work out courses (wall height divided by block height, rounded up) and blocks per course (wall length divided by block length, rounded up) separately, then multiply them together for that section's block count. For multiple wall sections, calculate each section this way before adding the totals together, since calculating one course count from a combined area can under-count materials.
Divide the wall height by the block's face height and round up to the next whole course - a partial course still needs a full course of blocks. For example, a 1.2m wall with a 200mm-high block needs exactly 6 courses, while a 1.25m wall with the same block still needs 7 courses.
Multiply the wall length by your drainage gravel's width and height (or depth) to get volume - enter the dimensions specified for your retaining-wall system or project, since drainage requirements vary by wall type, soil and manufacturer specification. This calculator computes volume from your entered dimensions; it doesn't prescribe a drainage design.
Multiply the wall length by your base layer's width and depth to get volume. Base width and depth requirements depend on your retaining-wall system, block type and local ground conditions, so enter the dimensions specified for your project rather than a generic figure.
Divide your total cap length (usually the wall length being capped) by the cap block's length and round up. Enable cap blocks in the calculator above and it will suggest a cap length based on your wall sections, which you can edit.
This calculator only estimates material cost if you enter your own prices per block, cap, and volume of base and gravel material - it doesn't publish market prices, since these vary by region and supplier. It also doesn't include labour, excavation, engineering, permits, delivery or machinery unless you add those separately.
Most retaining walls benefit from some form of drainage to relieve water pressure behind the wall, but the specific drainage design - gravel width, pipe size, outlet spacing - depends on your retaining-wall system, soil conditions and local requirements. Follow your manufacturer's installation guide or an engineer's specification rather than a generic rule.
Taller or more heavily loaded retaining walls often require engineered soil reinforcement such as geogrid, but whether it's needed, and its length, spacing and number of layers, depends on wall height, soil, loading and the retaining-wall system's engineering design. This calculator doesn't determine geogrid requirements - that needs a qualified design.
Many smaller segmental block walls are commonly built as DIY projects, but taller walls, walls supporting structures or slopes, or walls in certain jurisdictions often require engineering design and permits. Check your local building authority's requirements before starting, since rules vary significantly by location and wall height.
There's no single answer - allowable and safe retaining-wall height depends on the wall system's engineering, soil conditions, loading and local regulations, which vary by country, state, province and council. Check your local building authority and the wall manufacturer's engineering guidance for your specific project.