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
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
Enter the buried courses required by your wall system or project. 0 means this estimator adds none — not that zero embedment is recommended.
From the block you plan to purchase — not a universal size.
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.
Base / leveling aggregate
Optional. Use the compacted base width and depth specified for your retaining-wall system or project.
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.
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.
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.
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
Practical interpretation
FAQ
How many retaining wall blocks do I need?
How do I calculate retaining wall blocks?
What does "course" mean in a retaining wall?
Should buried blocks be included?
Why doesn't this calculator automatically choose embedment depth?
Do I round blocks per course up?
How much extra should I order?
How do I estimate cap blocks?
How do I estimate base gravel?
How do I estimate drainage gravel behind a retaining wall?
Does this calculator calculate geogrid?
Does wall block depth affect the block count?
Can I calculate multiple wall sections?
Can I use this for curved retaining walls?
Can I use this calculator for structural retaining-wall design?
Related Calculators
Concrete & Masonry
Concrete Block Calculator
Estimate concrete block (CMU) quantity, mortar bags, and material cost for a block wall.
Driveways & Hardscaping
Gravel Calculator
Estimate gravel volume and weight for a base layer, driveway, or drainage project.
Driveways & Hardscaping
Paver Calculator
Estimate pavers, base material, bedding sand, joint sand, and edge restraint for a patio or paved area.
Concrete & Masonry
Brick Calculator
Estimate how many bricks you need for a wall, plus optional mortar, pallets, and material cost.