Home/Housing & Building/Retaining Wall Calculator

Retaining Wall Calculator

Estimate retaining wall blocks, courses, cap blocks, base material and drainage gravel — metric or imperial, with optional material cost.

This retaining wall block calculator estimates material quantity only. It does not determine structural stability, overturning or sliding resistance, bearing capacity, drainage design or geogrid requirements — see Limitations below.
Wall & Block Details

Wall sections

LengthHeightQty

mm
mm


Results
Final Wall Blocks Required
ItemValue

Written and reviewed by Mohsin Iqbal · Last reviewed August 2026

Retaining Wall Calculator

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.

How to Use the Retaining Wall Calculator

  1. Choose your unit — millimetres, centimetres, metres, inches or feet.
  2. Add your wall section(s) — length, height and a quantity for repeated identical sections. Use "+ Add another wall section" for terraced walls or multiple elevations.
  3. Enter your block's face length and height from the manufacturer's specification — retaining-wall blocks vary too much by product to assume a universal size.
  4. Switch to Base & Gravel to optionally add base material and drainage/backfill gravel volume.
  5. Switch to Cost to optionally add prices for an estimated material cost.

How Many Retaining Wall Blocks Do I Need?

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.

Retaining Wall Block Calculator Formula

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.

How to Calculate Retaining Wall Courses

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.

Retaining Wall Cap Calculator

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.

Retaining Wall Base Material Calculator

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.

Retaining Wall Gravel Calculator

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.

How Much Gravel Do I Need Behind a Retaining Wall?

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.

Retaining Wall Material Cost Estimate

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.

Worked Examples

Example 1 — Metric retaining wall

StepWorkingResult
Wall6m long × 1.2m high, block 450 × 200mm, 10% waste
CoursesROUND UP(1.2 ÷ 0.2)6 courses
Blocks per courseROUND UP(6 ÷ 0.45)14 blocks
Base blocks6 × 1484 blocks
+10% wasteROUND UP(84 × 1.10 = 92.4)93 blocks

Example 2 — Imperial retaining wall

StepWorkingResult
Wall20ft long × 4ft high, block 18 × 6in, 10% waste
CoursesROUND UP(4ft ÷ 0.5ft)8 courses
Blocks per courseROUND UP(20ft ÷ 1.5ft)14 blocks
Base blocks8 × 14112 blocks
+10% wasteROUND UP(112 × 1.10 = 123.2)124 blocks

Example 3 — Blocks + base + drainage gravel

StepWorkingResult
Wall6m long × 1.2m high, block 450 × 200mm, 5% waste
BlocksCourses 6 × 14/course = 84, ROUND UP(84 × 1.05 = 88.2)89 blocks
Base material6m × 0.3m width × 0.15m depth0.270 m³ (270 L)
Drainage gravel6m × 0.3m width × 0.9m height1.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.

Common Retaining Wall Calculation Mistakes

  1. Dividing total area by block area instead of using courses. This under-counts blocks because it ignores the partial block wasted at the end of every course.
  2. Summing wall sections before calculating courses. Different-sized sections each lose materials to partial courses independently — calculate each section separately, then add the totals.
  3. Assuming a universal block size. Retaining-wall blocks vary hugely by manufacturer and product line; always use your actual block's face dimensions.
  4. Confusing setback/batter with wall height. This calculator assumes the entered wall length and height represent the finished wall dimensions — actual block setback depends on the retaining-wall system and manufacturer's installation requirements.
  5. Assuming one drainage gravel figure fits every wall. Drainage needs vary by wall system, soil, height and local requirements.

Limitations and Structural Considerations

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.

Frequently Asked Questions