Retaining Wall Calculator

Estimate segmental retaining wall blocks, buried courses and cap blocks. Optionally estimate base and drainage aggregate, apply a user-chosen extra allowance, and round the block order to supplier packs or pallets.

Enter the visible finished height above grade. Buried depth is entered separately.
Planning preset only. Verify the exact block face dimensions and coverage with the selected manufacturer.
Use the project or manufacturer requirement. Do not assume one universal embedment rule.
Optional caps, extra blocks, gravel & cost

These settings affect purchasing only when you choose to use them. No hidden waste, gravel depth or geogrid quantity is assumed.

Used only when a separate cap row is selected.
Choose an allowance for cuts, damaged blocks, curves, step-ups or spare stock.
If full packs are required, the blue result rounds up after the extra allowance.
Use manufacturer/project guidance. Allan Block examples commonly use 4–6 in depending on wall conditions.
Use the actual design height. Manufacturer guidance often calls for drainage aggregate in and behind the blocks.

Your Retaining Wall Estimate

Total Courses0
Cap Blocks0
Optional Aggregate0
Blocks to Order0

Enter wall and block dimensions. The blue card shows wall blocks to order after buried courses, your optional extra allowance and supplier pack rounding.

Calculation breakdown

Wall length0
Exposed courses0
Buried courses0
Blocks per course0
Base wall blocks0
Extra allowance0%
Before pack rounding0
Cap blocks0
Base aggregate0
Drainage aggregate0
Estimated block + cap cost0
Final wall-block order0

Transparent formula

Blocks per course = Ceiling(wall length ÷ block face length).

Total block courses = exposed courses + buried courses. Base blocks = blocks per course × total block courses.

Extra allowance is applied after the base count. Supplier pack rounding is applied only if entered. Cap blocks and aggregate are calculated separately and do not inflate the blue wall-block quantity.

Retaining Wall Calculator: Estimate Blocks, Caps, Buried Courses and Gravel

A retaining wall estimate is more than visible wall area divided by block area. Segmental retaining walls usually include at least part of the first course below grade, and the installation may also require a compacted granular base, drainage aggregate behind the units, cap blocks, step-ups, curves and reinforcement. This calculator focuses on quantities that can be estimated transparently from user-entered dimensions while refusing to invent engineering decisions such as geogrid length or layer spacing.

How to Use the Retaining Wall Calculator

Measure the wall along its face and decide whether your height input represents only the visible height above grade or the complete block-wall height including the buried portion. Then enter the face length and height of the actual retaining wall block. The calculator counts whole block positions per course and whole courses vertically.

  1. Enter the wall length. For a curved wall, measure along the wall face rather than using the straight chord between endpoints.
  2. Enter exposed or total height. If you choose exposed height, enter buried/embedment depth separately.
  3. Use actual block face dimensions. Product families vary widely; verify the selected SKU or manufacturer coverage.
  4. Add a cap row only when it is a separate product. Cap blocks are counted along the wall length independently of wall blocks.
  5. Add an extra block percentage only when justified. Curves, step-ups, cuts, damage and spare stock can all increase the order.
  6. Enter base and drainage dimensions only from a real detail. The calculator will not silently assume one universal aggregate section.
  7. Do not use this tool to size geogrid. Reinforcement depends on soil, wall height, surcharge, water and manufacturer/engineered design conditions.
Why the blue answer is “Blocks to Order”: that is the direct purchasing quantity most users came for. Caps and aggregate remain visible supporting quantities rather than being mixed into one vague “materials” total.

Retaining Wall Block Calculation Formula

A segmental retaining wall is naturally counted as discrete horizontal courses and discrete blocks per course. That is more useful than an area-only formula because a partial block position at the end of a course still creates a whole position to be filled or cut.

Blocks per courseBlocks per course = Ceiling(Wall length ÷ Block face length) Exposed coursesExposed courses = Ceiling(Exposed wall height ÷ Block face height) Buried coursesBuried courses = Ceiling(Buried depth ÷ Block face height) Base wall blocksBase blocks = Blocks per course × (Exposed courses + Buried courses) After extra allowanceAdjusted blocks = Base blocks × (1 + Extra allowance ÷ 100) Final orderRound adjusted quantity up to whole blocks, then to a supplier pack only if entered

For a total-height input, the calculator counts courses directly from total block-wall height and does not add buried depth a second time. This avoids one of the most common estimating errors: entering a total design height that already includes embedment and then adding another buried course.

Buried Course and Wall Embedment

The first course of a segmental retaining wall is commonly embedded below grade. The exact embedment is not a universal percentage. Manufacturer guidance varies with wall height, slope, site conditions and product system. Allan Block residential guidance, for example, describes trench depth as the base depth plus additional depth for buried block and gives an example rule of roughly 1 inch of burial per 1 foot of wall height, while its commercial gravity-wall guidance also identifies minimum buried-block conditions and directs users to approved plans for exact embedment.

That is why the calculator asks you for buried depth rather than automatically applying “10% of wall height.” A generic percentage can be wrong when the project has a slope below the wall, stepped base, erosion exposure, weak foundation soil or engineered detail. If your manufacturer or engineer specifies one full buried course, enter the depth represented by that course.

Buried depth can change the order by an entire course

Suppose a block is 8 inches high and a 30-foot wall uses 20 blocks per course. Adding one buried course adds 20 wall blocks before waste. If the wall steps uphill several times, each step can require additional buried units beyond the simple full-length course count.

Base Aggregate Is a Design Detail, Not a Hidden Constant

A compacted granular base creates the level foundation that supports the first course. Allan Block installation guidance commonly shows a granular base trench and gives example minimum base depths such as 4 inches for some walls under 4 feet and 6 inches for higher or reinforced conditions, but the applicable detail depends on the wall system and site. Poor or disturbed foundation soil may require removal and replacement with compacted granular material.

The calculator therefore leaves base width and depth blank. Enter the dimensions from the selected manufacturer detail or project plan. Base aggregate volume is then:

Base aggregate volume = Wall length × Base width × Base depth

This is geometric volume. Purchasing weight or tonnage still depends on the actual aggregate density and compaction condition, so the tool reports volume rather than pretending one universal tons-per-yard conversion is correct.

Drainage Aggregate Behind the Wall

Water management is central to retaining wall performance. Allan Block instructions commonly call for wall rock in block cores and a minimum zone behind the block, and its residential geogrid guidance describes wall rock extending about 12 inches (300 mm) behind the wall. VERSA-LOK likewise instructs installers to place drainage aggregate behind units and compact it as construction proceeds.

This calculator can estimate a simple rectangular drainage-aggregate zone from wall length × drainage width × drainage height. It intentionally does not assume that the entire wall height is always filled with the same aggregate or that every block core volume is identical. Hollow-core volume, setbacks, stepped bases, geogrid layers, drain pipe details and topsoil caps can all change the real quantity.

Simple drainage aggregate volume = Wall length × Drainage width × Entered drainage height

Use this as a planning volume only. If the selected wall system publishes a material-estimation worksheet that includes block-core fill and drainage-zone geometry, that manufacturer-specific method should take priority.

Estimating Cap Blocks

Cap blocks finish the top of many segmental retaining walls, but not every wall uses a separate cap product. When caps are selected, the calculator divides the wall length by the cap's face length and rounds up to a whole number.

Cap blocks = Ceiling(Wall length ÷ Cap block length)

Curves can increase cap cutting because tapered or rectangular caps may need alternating orientation or field cuts. Corners and step-downs can also require special cap treatment. For that reason, the cap quantity shown is the straight-line base requirement rather than a claim that every cap will install without cutting.

Curves, Corners, Step-Ups and Patterned Walls

Retaining wall geometry can make a simple row-and-column estimate optimistic. Curves shorten the effective front-to-back spacing of wedge-shaped blocks and can create minimum-radius limits. Corners often use dedicated corner units or cuts. A wall that steps up a slope needs additional buried blocks at each elevation change.

Allan Block's guidance on stepped bases specifically tells installers to begin at the lowest elevation and extend the trench into the slope far enough to bury a full block at each step. Its patterned-wall guidance also states that the base course should use full-size blocks and that pattern quantities depend on the selected repeating pattern. Those details demonstrate why a single “wall area ÷ block area” formula cannot capture every wall.

If your project uses a multi-size pattern, use the manufacturer's square-foot or square-meter coverage chart or material worksheet. The custom block size in this calculator is best for a single repeating block face, not a random multi-unit architectural pattern.

Why This Calculator Does Not Guess Geogrid

Geogrid is not simply “one layer every two courses” for every retaining wall. Reinforcement design depends on wall height, soil type, slope above or below the wall, surcharge loads, water conditions, block system, grid strength, embedment length and global stability. Allan Block's geogrid charts require the user to match site and soil conditions and explicitly note assumed design parameters. Its installation guidance repeatedly directs users to approved plans for exact grid size, elevation and length.

VERSA-LOK likewise instructs installers to use the final wall design for geogrid length and details, especially at curves and corners. This is why a calculator that asks only for wall height and then returns a confident geogrid length can be dangerously incomplete.

Engineering boundary: use manufacturer pre-engineered charts only when the project actually matches their stated soil, surcharge, water and wall conditions. Otherwise use a qualified retaining-wall designer or engineer as required by local rules and project complexity.

How Much Extra Retaining Wall Block Should You Order?

There is no honest universal waste percentage. Straight walls with modular lengths may use very few cut blocks. Curves, corners, steps, stairs and angled ends can increase cutting and breakage. Architectural block with color blending requirements may justify spare units from the same production lot.

Allan Block's material-estimation worksheet recommends adding extra blocks and gives 5% as a general recommendation for construction problems, while Inch Calculator suggests 10% as a broad planning allowance. Those are examples, not laws. SonoCalculator starts at zero so you can choose the allowance appropriate to the product and layout.

If the only reason the order increases is supplier packaging, do not hide that inside waste. Enter the pack/pallet quantity separately. The breakdown shows the whole-block requirement before pack rounding and the final blue purchasing quantity afterward.

Worked Retaining Wall Examples

30 ft × 3 ft visible wall

Using an 18 in long × 8 in high block, a 30 ft wall needs 20 blocks per course. A 3 ft visible height needs 5 exposed courses. If one 8 in course is buried, the base wall requires 20 × 6 = 120 blocks before extra allowance.

With 5% extra

The same 120-block wall with a user-selected 5% allowance becomes 126 blocks. If the supplier sells only 40-block packs, the purchase rounds to 160 blocks—an increase caused by packaging, not construction waste.

Metric example

A 9 m wall using 450 mm long blocks needs 20 blocks per course. With 1.0 m total block-wall height and 200 mm high blocks, 5 courses are required, for 100 blocks before extra allowance.

Example base aggregate

If a project detail calls for a 30 ft long base that is 18 in wide and 4 in deep, the geometric volume is 30 × 1.5 × 0.333 = about 15 ft³, or about 0.56 yd³. Real ordering can be higher because aggregate is placed and compacted, but the correct bulk conversion should come from the selected aggregate supplier or project specification.

Example drainage aggregate

If a 30 ft wall uses a simple drainage zone 12 in wide and 3 ft high, the rectangular planning volume is 90 ft³, or 3.33 yd³. This does not automatically include the volume inside hollow block cores or special drainage structures.

Common Retaining Wall Estimating Mistakes

Research Basis and Competitor Improvements

The technical guidance for this calculator was researched primarily from current Allan Block and VERSA-LOK installation resources, including base preparation, embedment, drainage aggregate, geogrid installation and material-estimation guidance. Both manufacturers emphasize that reinforcement and many site details depend on approved plans or specific site conditions.

Competitor review included Inch Calculator and Omni Calculator. Both provide useful block, cap and gravel estimates. Inch Calculator uses course and column counts and also estimates base/backfill gravel; Omni Calculator separately handles wall blocks, cap blocks, backfill gravel and cost. This SonoCalculator version improves the decision flow by explicitly distinguishing exposed versus total height, separating buried courses from visible courses, keeping extra allowance user-controlled, separating supplier pack rounding from waste, and refusing to auto-size geogrid from incomplete inputs.

The aggregate inputs are deliberately optional. That keeps the default calculator fast for users who only need block quantity while still allowing a more complete material plan when the user has a real manufacturer or project detail.

Retaining Wall Calculator FAQs

How do I calculate how many retaining wall blocks I need?

Divide wall length by block face length and round up to get blocks per course. Divide the exposed wall height by block face height to get visible courses, add any buried courses, then multiply by blocks per course. Apply your chosen extra allowance afterward.

Do I count the buried first course?

Yes. Buried retaining wall blocks are still part of the wall and must be included in the material order. Use the embedment required by the selected wall system or project design.

How deep should a retaining wall block be buried?

There is no universal depth. Manufacturer examples may use a minimum buried amount or a relationship to wall height, but slope, soil, erosion and engineered details can change the requirement. Use the applicable installation guide or approved plan.

How much gravel goes behind a retaining wall?

Manufacturer guidance commonly uses a drainage aggregate zone behind the wall, often around 12 inches in some segmental wall systems, but the exact width, height and core-fill requirement depend on the block system and design. Enter the actual detail rather than assuming a universal quantity.

Does the calculator include base gravel?

Yes, optionally. Enter base width and depth from the manufacturer or project detail. The calculator returns geometric volume, not a guaranteed tonnage.

Does it calculate geogrid?

No. Geogrid design depends on soil, surcharge, wall height, water, slope and reinforcement properties. Use approved manufacturer charts only when all stated conditions match, or use an engineered wall design.

How much extra block should I order?

There is no single correct percentage. Manufacturer and competitor examples often use figures such as 5% or 10%, but the right allowance depends on curves, cuts, breakage, step-ups, spare stock and the chosen product.

Can I use this calculator for a curved retaining wall?

Yes for planning if you measure the wall length along the curve, but curves can increase cuts and may have manufacturer-specific minimum-radius limits. Use the product's curved-wall guidance for final layout.

Why is “Blocks to Order” the blue result?

It is the most direct purchasing answer. It includes the wall's counted courses, buried courses and your chosen extra allowance, then rounds to a supplier pack only when you enter one. Caps and aggregate remain separate supporting quantities.

Important note: This Retaining Wall Calculator is a material-planning tool, not a retaining-wall structural design. Actual requirements can change with wall height, block system, embedment, slopes above or below the wall, surcharge loads, foundation soil, drainage, groundwater, seismic conditions, curves, step-ups, corners, reinforcement, block setback, geogrid strength and local code requirements. For engineered, reinforced, load-bearing, tall, sloped-site or water-sensitive retaining walls, verify the manufacturer details and use the project drawings or a qualified retaining-wall designer/engineer before purchasing or construction.