Retaining Wall Calculator

Estimate retaining wall blocks, courses, and optional caps, base aggregate, drainage aggregate, and cost for a straight segmental retaining-wall section — with the full formula breakdown shown.

Your Project

Straight retaining wall viewed from the front, showing length, exposed height above grade, horizontal block courses, and one buried course below gradeGradeExposed wallBuried coursesExposed heightLength
One straight wall section: exposed height sets courses above grade; buried courses (if any) are entered separately.
Conceptual cross-section showing the retaining-wall block, base aggregate, and drainage aggregate zones behind the wallRetained soilDrainage aggregateWall blockGradeBase aggregateConceptual material diagram — not a structural design
Base and drainage aggregate use the project dimensions you enter — this diagram doesn't prescribe them, and never includes reinforcement/geogrid.

Wall Sections

This is a straight-wall estimator. Add a section for each straight run. Curves, corners, steps, and tiered walls aren't modeled.

Section 01 of 01

ft
in

Enter the buried courses required by your wall system or project. 0 means this estimator adds none — not that zero embedment is recommended.

in

From the block you plan to purchase — not a universal size.

in
%

An editable ordering allowance for cuts, breakage, and project variation — not a universal requirement.

Advanced options
Cap blocks

Optional. Cap dimensions are product-specific — this is a straight-wall estimate. Curves, corners, and product-specific cap layouts can change the required quantity.

in
%
Base / leveling aggregate

Optional. Use the compacted base width and depth specified for your retaining-wall system or project.

in
in
%
Drainage / backfill aggregate

Optional. Enter the drainage/backfill aggregate dimensions required by your wall system or project. This estimates material volume only; it does not design the drainage system.

in
in
%
Pallets / packages

Optional. Package quantity varies by manufacturer and product — no universal pallet count exists.

From your supplier's packaging — not a standard quantity.

Block weight

Optional. A purchasing/handling estimate only — uses the product weight you enter. Actual pallet and shipping weights can differ.

lb/block
Cost estimate

Entirely optional — no price is pre-filled. Estimated material cost only; excludes labor, excavation, equipment, delivery, taxes, permits, engineering, reinforcement/geogrid, drainage hardware, and soil work.

$

Your Estimate

Enter your wall dimensions and block face size to see your retaining-wall material estimate.

How It's Calculated

Methodology

Enter your wall dimensions and block face size to see the formula breakdown.

Assumptions & Accuracy

This estimator uses the block face length and course height you enter. Product dimensions, packaging, base requirements, drainage details, and waste allowances vary by retaining-wall system and project.

Material quantity estimate only. Retaining walls hold back soil and water. Reinforcement, drainage, embedment, slopes, loading, soil conditions, structural design, and code requirements depend on your wall system, site, and project requirements.

Project Guide

How to measure a retaining wall

This calculator estimates straight wall sections. Measure the length and the exposed (visible, above-grade) height of each straight run and add it as its own section — the calculator sums their material separately from each wall's own course count.

Exposed height vs. buried courses

Exposed wall height is the visible height above grade. Buried courses are additional courses below grade that your wall system or project design calls for — this calculator never prescribes them. Embedment requirements depend on the manufacturer's system, soil conditions, frost depth, and site-specific design, so buried courses default to 0 and are entirely up to you to specify.

Tip: A buried-courses value of 0 means this estimator isn't adding any embedment — it is not a recommendation that zero embedment is appropriate for your project.

How retaining-wall blocks are counted

Each wall section's length divided by the block's face length gives the block-equivalents needed for one course. That figure is multiplied by the section's total courses (exposed courses plus any buried courses) to get the section's block quantity.

Why courses are rounded up

A wall can't contain a fractional horizontal course — if your exposed height doesn't divide evenly by the course height, the calculator rounds up to the next whole course, since a partial requested height still requires another full course of block.

Why blocks per course are NOT rounded early

This calculator estimates continuous straight-wall coverage — the block- equivalents-per-course figure is deliberately left unrounded, and purchase rounding happens only once, after every section and the waste allowance have been combined. Rounding each course's block count early would overstate the total.

How multiple wall sections are calculated

Every section's continuous (unrounded) block quantity is summed first, then the waste allowance is applied to that combined total, and only then is the result rounded up once to a whole block. The calculator never rounds each section's block count separately and adds the rounded counts together, which would overcount.

Choosing your block dimensions

Use the face length and course height of the actual product you plan to purchase — not a generic assumption. Retaining-wall blocks vary substantially by manufacturer, and block depth (front-to-back thickness) doesn't enter this calculator's math at all, since it doesn't affect how many blocks cover a given wall length and height.

Estimating cap blocks

Cap blocks are a separate product with their own face length — this calculator doesn't assume caps match the wall block's dimensions. The cap estimate is a straight-wall total-length calculation; curves, corners, and product-specific cap layouts can change the quantity actually needed.

Estimating base aggregate

Base (leveling) aggregate volume comes from the compacted base width and depth you enter, multiplied by the total wall length. There's no universal base dimension — use the width and depth specified by your wall system or project.

Estimating drainage/backfill aggregate

This calculator models a simple rectangular aggregate zone behind the wall, using the width and height you enter, multiplied by the total wall length. Drainage aggregate dimensions are project- and system-specific — they're never assumed automatically, and this estimates material volume only, not a drainage design.

Why this calculator does not design geogrid

Geogrid reinforcement is intentionally not calculated here. Reinforcement requirements depend on the wall system, wall geometry, soil conditions, loading, slopes, water conditions, and project engineering — well beyond what a material quantity estimator can determine.

Estimating pallets/packages

Package quantity varies by manufacturer and product — enter your supplier's blocks-per-pallet figure to get a pallet count. No default is assumed.

Estimating block weight

Enter the product's weight per block to estimate total block weight for purchasing and handling planning. This is not a truck payload or legal vehicle capacity determination.

Estimating material cost

Cost is your entered price per block, cap, and aggregate volume multiplied by the quantities you're buying. It covers material only — it excludes labor, excavation, equipment, delivery, taxes, permits, engineering, reinforcement/ geogrid, drainage hardware, and soil work.

Common estimating mistakes

  • Measuring total wall height but entering it as exposed height.
  • Forgetting buried courses specified by the project.
  • Using block depth (thickness) instead of face length.
  • Using a physical block dimension that doesn't match the product's intended layout dimension.
  • Rounding every wall section's blocks separately instead of combining first.
  • Rounding blocks per course before calculating total coverage.
  • Forgetting a waste allowance.
  • Assuming all retaining-wall blocks share the same dimensions.
  • Assuming a universal base or drainage aggregate dimension.
  • Treating this material estimator as a structural design tool.
  • Forgetting that curves, corners, and steps can change the quantity needed.

Worked Example

Illustrative values only — enter your own project's dimensions above for a real estimate.

Example

21 ft straight wall, 32 in exposed height, 16 in block face length, 8 in block course height, 1 buried course, 5% waste allowance.

Inputs

  • Wall length: 21 ft
  • Exposed height: 32 in
  • Block face length: 16 in
  • Block course height: 8 in
  • Buried courses: 1
  • Waste allowance: 5%

Calculation

  • 21 ft = 252 in
  • Exposed courses: 32 ÷ 8 = 4
  • Total courses: 4 + 1 = 5
  • Block-equivalents per course: 252 ÷ 16 = 15.75
  • Calculated blocks: 15.75 × 5 = 78.75
  • With 5% waste: 78.75 × 1.05 = 82.6875
  • Blocks to buy: 83

Result

83 blocks to buy for this 21 ft wall section.

Practical interpretation

For illustration only, suppose the selected wall system calls for a 24 in wide × 6 in compacted base and a 12 in wide drainage aggregate zone behind the wall — those are project-specific figures, not universal recommendations, and would be entered in the optional Base and Drainage sections for their own separate volume estimates.

FAQ

How many retaining wall blocks do I need?
Divide your wall length by the block's face length for block-equivalents per course, multiply by total courses (exposed plus any buried courses), then add your waste allowance. This calculator does all of that automatically once you enter your wall dimensions and block size.
How do I calculate retaining wall blocks?
Wall length ÷ block face length gives block-equivalents per course. Exposed height ÷ course height (rounded up) gives exposed courses. Multiply block-equivalents by total courses for the base block count, then apply waste and round up once for the final purchase quantity.
What does "course" mean in a retaining wall?
A course is one horizontal row of blocks. Total courses is the number of rows needed to reach your requested height, including both exposed (visible) courses and any buried courses below grade.
Should buried blocks be included?
If your wall system or project design calls for buried courses, enter that count — it's added to the exposed course count. This calculator never adds buried courses automatically.
Why doesn't this calculator automatically choose embedment depth?
Embedment/buried-course requirements depend on the manufacturer's wall system, soil conditions, frost depth, and site-specific engineering — there's no single correct value this calculator could assume without potentially being wrong for your project.
Do I round blocks per course up?
No — the calculator deliberately keeps block-equivalents-per-course as a continuous (unrounded) figure and only rounds up once, at the very end, after every wall section and the waste allowance have been combined. Rounding early would overstate the total.
How much extra should I order?
5% is an editable, commonly used starting point for cuts, breakage, and project variation — not a universal requirement. Adjust it for your project.
How do I estimate cap blocks?
Enter your cap product's face length in the optional Cap blocks section. The calculator divides your total wall length by that figure — it's a straight-wall estimate, and curves, corners, or product-specific layouts can change the actual quantity.
How do I estimate base gravel?
Enter the compacted base width and depth your wall system or project specifies in the optional Base aggregate section — there's no universal base dimension this calculator assumes.
How do I estimate drainage gravel behind a retaining wall?
Enter the drainage/backfill aggregate zone's width and height in the optional Drainage aggregate section. This estimates material volume for a simple rectangular zone only — it doesn't design the drainage system.
Does this calculator calculate geogrid?
No. Geogrid reinforcement requirements depend on the wall system, geometry, soil conditions, loading, and project engineering — this is intentionally outside what a material quantity estimator determines.
Does wall block depth affect the block count?
No. Block count depends on face length and course height — the dimensions that determine how many blocks cover the wall's length and height. Block depth (front-to-back thickness) isn't used in this calculator's math.
Can I calculate multiple wall sections?
Yes. Add a section for each straight run. The calculator combines every section's continuous block quantity before applying waste and rounding once — never rounding each section separately, which would overcount.
Can I use this for curved retaining walls?
This calculator estimates straight wall sections only. Curves, corners, returns, stairs, and stepped or tiered wall geometry aren't modeled in this version.
Can I use this calculator for structural retaining-wall design?
No. This is a material quantity estimator only. It doesn't calculate geogrid/reinforcement, soil pressure, sliding or overturning resistance, bearing capacity, global stability, or safe wall height — follow your wall system's engineering guidance and applicable codes for structural design.

Related Calculators