Audited ·Last updated 27 Jul 2026·6 citations·Tier 1·0 uses

Retaining Wall Block Calculator

Estimate retaining wall blocks, courses, caps, base gravel, drainage aggregate, pipe length, and waste.

Retaining Wall Block Calculator

Wall blocks to order
171
Exposed courses
5
Total courses including buried courses
6
Blocks per course
27
Wall blocks before waste
162
Cap blocks to order
38
Base gravel volume (cu ft)
36
Base gravel volume (cu yd)
1.3333
Drainage aggregate volume (cu ft)
108
Drainage aggregate volume (cu yd)
4
Drain pipe length (ft)
37.8

Background.

A retaining wall block calculator estimates the number of segmental wall blocks, cap blocks, base gravel, drainage aggregate, and drain pipe needed for a landscape wall. The canonical use case is a 36 foot wall with 30 inches of exposed height, 16 inch long blocks, 6 inch block height, and one buried course. The calculator finds 5 exposed courses, 6 total courses, 27 blocks per course, 162 wall blocks before waste, and 171 wall blocks after a 5 percent waste allowance. It also estimates 38 cap blocks, 1.4 cubic yards of base gravel with waste, 4.2 cubic yards of drainage aggregate with waste, and 37.8 feet of drain pipe.

People search for this calculator because retaining walls combine simple counting with construction details that are easy to miss. A wall is not just the visible face. Segmental wall systems usually need a level base, a buried course or embedment, compacted aggregate, drainage material behind the wall, and cap units. Manufacturer estimating pages often include blocks and caps, while installation guides emphasize base preparation and water management. A calculator that counts only visible blocks can leave the user short on the materials that make the wall buildable.

The math is based on courses. The exposed height divided by block height gives the number of visible courses, rounded up. Buried courses are added because the first course may sit below grade. Wall length divided by block face length gives blocks per course, rounded up. Multiplying blocks per course by total courses gives the wall-block count before waste. Cap blocks use the wall length and cap length because caps are often a different unit from wall blocks.

Base gravel and drainage aggregate are volume calculations. A rectangular base trench can be estimated from wall length, trench width, and base depth. Drainage aggregate behind the wall can be estimated from wall length, drainage width, and wall height. Belgard's installation guidance describes clean drainage aggregate behind retaining wall blocks and 4 inch perforated pipe placed to carry water away. Allan Block installation materials also point users toward base rock, wall rock, and drain pipe as project materials. The calculator should make these separate lines because they may be bought from different suppliers.

This calculator is not a structural design tool. Retaining walls hold back soil, water, surcharge loads, slopes, driveways, patios, and sometimes structures. Manufacturer tools and CMHA guidance distinguish material estimating from engineering design. Wall height, soil type, slope, geogrid, drainage, setbacks, frost, surcharge, and local code can change what is required. The calculator can estimate materials from user-entered geometry; it cannot approve a retaining wall.

For Quanta, this is an everyday home-renovation calculator with strong SEO potential and clear differentiation from the shipped fence, gravel, and paver calculators. It should show the wall-face count and the hidden support-material count together. The output should label assumptions and encourage users to follow the block manufacturer's installation guide or a licensed engineer where the wall is tall, loaded, terraced, or near property and building risks.

What is retaining wall block calculator?

A retaining wall block calculator is a material estimating tool for segmental retaining walls. It counts wall blocks by course, estimates cap blocks along the top, and estimates aggregate volumes for the base and drainage zone. The primary output is the number of wall blocks to order, rounded up with a waste allowance.

The key terms are wall length, exposed height, block face length, block height, course, buried course, cap block, base trench, leveling pad, drainage aggregate, drain pipe, geogrid, setback, and waste allowance. A course is one horizontal row of blocks. A buried course is a row below finished grade. Cap blocks finish the top. Base gravel supports and levels the first course. Drainage aggregate and pipe help keep water pressure from building behind the wall.

The calculator is most useful after a specific block system has been chosen because face length, block height, cap size, setback, and manufacturer base details vary. Generic dimensions can produce a reasonable draft estimate, but product-specific dimensions make the order quantity more dependable.

The calculator is valid for simple takeoff arithmetic when the user knows the chosen block dimensions and installation assumptions. It is not valid for designing structural stability, geogrid length, wall embedment, global stability, surcharge loads, slopes, drainage engineering, or code compliance. For engineered walls, the construction drawings and manufacturer system details should control.

How to use this calculator.

  1. Enter the wall length in feet.
  2. Enter the exposed wall height in inches.
  3. Enter the block face length and block height from the chosen product.
  4. Enter the number of buried courses required by the plan or manufacturer guide.
  5. Enter cap length if cap blocks are needed.
  6. Enter base trench width, base depth, and drainage aggregate width.
  7. Review block count, cap count, base gravel, drainage aggregate, and pipe length.

The formula.

N = Bpc × Tc × (1+w)

The calculator starts by converting wall height into courses. If the visible wall is 30 inches tall and each block course is 6 inches high, 30 divided by 6 gives 5 exposed courses. If one course is buried below grade, total courses are 6. The ceiling function is used because partial courses still require a full course or a design adjustment. If the exposed height were 31 inches, the visible course count would become 6 unless the user changed the grade or selected a different block.

Blocks per course are based on wall length and block face length. A 36 foot wall is 432 inches long. A 16 inch block face length gives 432 divided by 16, or 27 blocks per course. Multiplying 27 blocks per course by 6 total courses gives 162 wall blocks. A 5 percent waste allowance gives 162 times 1.05, or 170.1, which rounds up to 171 blocks. Waste accounts for cuts, breakage, curves, corners, and layout adjustment.

Cap blocks are counted separately because cap dimensions often differ from wall-block dimensions. In the example, cap length is 12 inches. The wall is 432 inches long, so 36 cap blocks cover the length before waste. With 5 percent waste, the order count is ceil(36 times 1.05), or 38 cap blocks.

Aggregate is volume, not count. Base gravel uses a rectangular trench approximation: wall length times trench width times base depth. A 36 foot wall, 24 inch trench width, and 6 inch base depth equal 36 * 2 * 0.5, or 36 cubic feet. Dividing by 27 converts to 1.33 cubic yards. With a 5 percent allowance, that is 1.4 cubic yards.

Drainage aggregate uses wall length, drainage width, and total wall height. In the example, total wall height is 3 feet, drainage width is 1 foot, and wall length is 36 feet, so the volume is 108 cubic feet, or 4 cubic yards. With 5 percent allowance, it is 4.2 cubic yards. Drain pipe is estimated from wall length plus allowance, yielding 37.8 feet.

A worked example.

Example

The example wall is 36 feet long and 30 inches high above finished grade. Each block is 16 inches long at the face and 6 inches high. The visible height requires 30 divided by 6, or 5 exposed courses. The project includes one buried course, so the total course count is 6. The wall length is 36 feet, or 432 inches. Dividing 432 by the 16 inch block face length gives 27 blocks per course. The wall block count before waste is 27 blocks per course times 6 courses, or 162 blocks. A 5 percent allowance gives 170.1 blocks, rounded up to 171. Caps are counted from the wall length and 12 inch cap length. Thirty-six caps cover the top before waste, and the calculator rounds 37.8 up to 38. Base gravel is 36 cubic feet, or 1.33 cubic yards before waste. Drainage aggregate is 108 cubic feet, or 4 cubic yards before waste. With the same 5 percent allowance, those become 1.4 and 4.2 cubic yards.

block Height In6
base Gravel Depth In6
wall Length Ft36
block Face Length In16
cap Length In12
buried Courses1
waste Percent5
exposed Wall Height In30
drainage Aggregate Width In12
base Trench Width In24
drain Pipe Allowance Percent5

Frequently asked questions.

Why does the calculator include a buried course?
A retaining wall usually needs embedment below finished grade. The buried course helps anchor the base row and accounts for grade at the wall face. If the calculator counts only visible courses, it can understate block quantity. The number of buried courses depends on wall system, height, slope, soil, frost, and plans. The calculator leaves buried courses as an input because the manufacturer's guide or engineer's drawings should control the requirement. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
Is this a structural retaining wall design calculator?
No. It is a material takeoff calculator. It estimates blocks, caps, gravel, drainage aggregate, and pipe from user-entered dimensions. It does not calculate sliding, overturning, bearing pressure, global stability, geogrid reinforcement, surcharge loads, hydrostatic pressure, or code compliance. Tall walls, walls supporting driveways or buildings, terraced walls, and walls on difficult soil should be designed or reviewed by qualified professionals. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
Why are cap blocks counted separately?
Cap blocks often have a different length, shape, and role from wall blocks. They finish the top of the wall and may require cuts at curves, corners, steps, or ends. Counting them separately helps the user order the correct product. In the example, wall blocks are 16 inches long, but caps are entered as 12 inches long. If the calculator used the wall-block length for caps, the top course estimate would be wrong. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
How much waste should I add?
Waste depends on block type, layout, curves, corners, cuts, breakage, and delivery handling. A simple straight wall may need only a small allowance, while curved walls, stair returns, corners, and cap cuts need more. The worked example uses 5 percent for a straight estimating case. Users should increase the allowance when the layout requires many cuts or when blocks are fragile, special order, or difficult to source later. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
Why estimate drainage aggregate?
Retaining walls fail more often from water and poor backfill than from simple block count mistakes. Manufacturer installation guides commonly call for clean drainage aggregate behind the wall and a drain pipe when needed. The calculator estimates that material so the user can plan the full project. It does not design drainage discharge, filter fabric, outlet spacing, or stormwater routing. Those details should follow the system guide and site plan. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
What block dimensions should I use?
Use the dimensions of the exact block being purchased. Segmental wall blocks vary by manufacturer and product line. Face length, height, depth, setback, corner units, and caps can all differ. The calculator uses face length and height for count arithmetic. It does not infer product dimensions from a brand name. If the supplier publishes an estimating chart, compare the calculator output with that chart before ordering. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
Does the calculator handle curves?
It can estimate the straight-line or measured-arc length of a curved wall if the user enters the correct wall length. It does not automatically account for minimum radius, block taper, cap cuts, or extra waste from curves. For a curved wall, measure the wall along the face or centerline consistently with the block layout and increase the waste allowance. Manufacturer radius limits and installation details should be checked before buying. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.
When should I involve an engineer?
Involve an engineer or qualified wall designer when the wall is tall, supports a driveway or structure, has a slope above or below it, uses geogrid, is near a property line, has poor drainage, has expansive or weak soils, or is subject to local permitting. Many manufacturer estimating tools explicitly separate material estimating from final design. The calculator should not be used as proof that a wall is safe. Manufacturer details, site drainage, surcharge conditions, and local code requirements should still control the final wall design and material order, not the estimate alone.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon