Retaining Wall Calculator
Estimate wall and cap blocks, gravel backfill, material weight, and projected material cost from one consistent set of dimensions.
Project inputs
Wall dimensions
Block dimensions
Gravel backfill
Material prices
Live estimate
Cost breakdown
Material detail
| Material | Quantity | Unit price | Estimated cost |
|---|---|---|---|
| Wall blocks | 288 blocks | $5.00 each | $1,440.00 |
| Cap blocks | 0 blocks | $6.00 each | $0.00 |
| Gravel backfill | 25,208 lb | $0.10 per lb | $2,520.84 |
Counts are rounded up to whole blocks. This estimate covers the displayed materials only; labor, excavation, drainage pipe, geotextile, base material, delivery, taxes, and site-specific engineering are not included.
How to use the retaining wall calculator
What this calculator does
This calculator estimates the number of modular wall blocks and optional cap blocks needed for a rectangular retaining wall. It also estimates the volume and weight of a rectangular gravel drainage zone behind the wall, then combines the entered unit prices into a material-cost estimate. It is useful for early budgeting, comparing block sizes, preparing a shopping list, and checking how a change in wall size affects material demand. It does not determine structural stability, footing design, reinforcement, drainage details, soil pressure, surcharge loading, frost protection, or permit requirements. Those items depend on local conditions and may require a qualified designer.
When to use it
Use it while comparing block products, planning a landscape wall, estimating gravel delivery quantities, or checking a contractor's material allowance. For taller walls, walls near buildings or property boundaries, or sites with weak soil or heavy drainage, consult local code requirements and an engineer before purchasing materials. The Federal Highway Administration's earth-retaining structures guidance explains why soil, drainage, and loading conditions matter beyond a simple quantity estimate.
How to calculate
- The calculator opens with a complete demonstration: a 10 ft high by 30 ft long wall made from 10 in by 15 in blocks, with a 12 in gravel zone. The sample workbook is immediately available.
- Choose the Measurement system. Switching between Imperial and Metric converts the current dimensions and gravel unit price rather than merely changing labels.
- Choose whether the project has a Cap row. A cap row uses one cap block per column and replaces the top structural block row.
- Replace the wall, block, and backfill dimensions with measured positive values. Then enter current supplier prices.
- Read the live block counts, backfill volume and weight, cost breakdown, and material-detail table. Select Download Excel to export the current validated model.
- Select Reset to clear the demonstration and all calculated content. Download Excel is then disabled until a complete valid state is entered again.
Input guide
Measurement system is required and accepts Imperial or Metric. Imperial uses feet for wall and backfill length/height, inches for block size and backfill thickness, pounds for gravel, and dollars per pound. Metric uses metres, centimetres, kilograms, and dollars per kilogram. Cap row is required and accepts Yes or No; selecting Yes shifts the top counted row from wall blocks to cap blocks.
Wall height and Wall length are required positive decimal dimensions, such as 10 ft and 30 ft. Larger values increase rows, columns, block counts, and normally backfill. Block height and Block length are required positive dimensions, such as 10 in and 15 in. Smaller blocks increase the rounded-up count. Do not enter nominal package dimensions when the manufacturer specifies a different installed face size.
Backfill thickness, Backfill height, and Backfill length are required positive dimensions defining a rectangular gravel zone. The sample uses 12 in, 10 ft, and 30 ft. Backfill dimensions can differ from the wall dimensions when the drainage zone stops short or changes height. A common planning mistake is confusing gravel depth behind the wall with wall height. The USDA retaining-wall construction note discusses drainage and wall construction considerations.
Single wall block price, Single cap block price, and Gravel price per lb/kg are required nonnegative decimal amounts in U.S. dollars. Examples are $5.00, $6.00, and $0.10 per pound. A zero price is permitted when a material is already owned, but the related quantity is still calculated. Enter the gravel price in the exact weight unit shown; entering a price per ton as though it were per pound will overstate cost dramatically.
Output guide
Wall blocks is the rounded-up structural block count. Cap blocks is zero without a cap row and equals one rounded-up wall-length column count when caps are included. Block rows is wall height divided by block height, rounded up. Blocks per row is wall length divided by block length, rounded up. These are planning counts, not an installation pattern or cutting plan.
Backfill volume is the rectangular volume behind the wall, displayed in cubic yards for Imperial and cubic metres for Metric. Backfill weight uses a representative gravel density of 84.03 lb/ft³, equivalent to about 1,346 kg/m³. Actual quarry products vary with stone type, grading, moisture, and compaction, so supplier weight may differ. Total estimated material cost adds wall-block, cap-block, and gravel costs. The cost breakdown and material-detail table show the same canonical quantities and prices used in the Excel workbook.
Worked example
For the startup wall, 10 ft equals 120 in. Dividing 120 in by a 10 in block height gives 12 rows. The 30 ft wall is 360 in long; dividing by a 15 in block length gives 24 columns. With no cap row, the wall needs 12 × 24 = 288 wall blocks. The 12 in by 30 ft by 10 ft backfill occupies 300 ft³, or 11.11 yd³. At 84.03 lb/ft³, that is about 25,208 lb. At $5.00 per wall block and $0.10 per pound of gravel, the displayed material estimate is $1,440.00 + $2,520.84 = $3,960.84.
How the formulas work
The model first converts all dimensions to a canonical base unit. It divides wall height by installed block height and wall length by installed block length, rounding each quotient upward because a partial row or column still requires a whole block. When a cap is selected, one top row is allocated to cap blocks and the remaining rows use wall blocks. Gravel volume is thickness × length × height. Weight equals volume × density. Material cost is quantity × unit price.
Block coverage should be checked against the manufacturer's installation instructions because corner units, half blocks, curves, setbacks, cuts, and buried base courses can change the order quantity. The National Institute of Standards and Technology length-unit guidance is a useful reference for precise unit relationships, while the U.S. Geological Survey overview of soil-water movement provides context for why drainage conditions deserve careful attention.
Planning cautions
Order quantities often need an allowance for breakage, cuts, color blending, and future repairs. That allowance is project-specific and is not added automatically here, so apply a separate supplier-recommended percentage after reviewing the exact product and layout. Confirm whether the first block course is buried, whether corner or end units are needed, and whether cap blocks have a different effective length. For gravel, compare the calculated weight with the supplier's minimum load, truck capacity, and density for the exact product.
Drainage performance depends on more than gravel volume. Outlet location, perforated pipe, filter fabric, surface grading, soil permeability, and groundwater conditions can all affect wall performance. This calculator is a quantity and budgeting aid, not a substitute for site investigation, construction drawings, local permits, or structural design.