Retaining Wall Block Calculator

Use this free retaining wall block calculator to find how many blocks, cap units, base gravel, drainage stone and drain pipe you need for a segmental block wall. Enter the wall length, height and your block size, and it counts the courses, rounds up each row, and adds a buried course and waste. Not sure how deep to bury the first course? See the base, burial and drainage rules. Quick answer: a 20 ft wall that is 3 ft high in 6 × 18 in blocks takes about 103 blocks and 15 caps, plus about 0.8 cubic yards of base stone. Manufacturers and trade guides say walls over 4 ft, or with a load behind them, need an engineer.

AI-generated illustration of a low gray segmental block retaining wall in a landscaped backyard with a perforated drain pipe and gravel visible at the base
Illustration created with AI for this page. It is not a photo of a real installation.
Reviewed by · Published: October 26, 2026 · Sources: Basalite · Rochester · JLC
Retaining Wall Block Calculator

Enter the wall length and height and your block size. The calculator estimates the blocks, cap units, base gravel, drainage stone and drain pipe for a gravity (unreinforced) block wall.

Base, Drainage and Waste

Prices (optional)

📐 Formula
Courses above ground = Height ÷ Block height (rounded up); total courses = above ground + buried
Blocks per course = Wall length ÷ Block length (rounded up)
Blocks = Total courses × Blocks per course × (1 + Waste)
Base gravel (cu yd) = Length × (Block depth + 12 in) × Thickness ÷ 27
Drainage stone (cu yd) = Length × Width × Total wall height ÷ 27
Retaining Wall Blocks Needed
—
Enter the wall length, height and block size
Courses (Above + Buried)
—
Blocks per Course
—
Cap Units
—
Wall Face Area
—
Base Gravel
—
Drainage Stone
—
Drain Pipe
—
Weight of Blocks
—
Material Cost
—

This estimates a gravity wall of segmental block on level ground. It does not size geogrid, tall or terraced walls, or walls holding up a slope, driveway or building. Check your block’s installation manual and local rules, and use a qualified engineer where they require it.

How Many Retaining Wall Blocks per 10 Feet?

Blocks per 10 ft of wall (before waste) with one buried course.

Height Above Ground6 in × 18 in Block8 in × 18 in Block8 in × 40 in Block
1 ft21219
2 ft352812
3 ft494218
4 ft634921

For a different wall length, scale the figure and round up each course. Add cap units on top: about one per block length of wall.

Base, Burial and Drainage Rules

Manufacturers and trade guides give slightly different numbers, so the calculator lets you change each one. The figures we use as defaults come from these sources:

  • Base: compacted crushed stone at least 6 inches thick, extending at least 6 inches in front of and behind the first course (Basalite, Rochester). That makes the base the block depth plus 12 inches wide.
  • First course: sources differ. Basalite digs the trench 6 inches deeper than the block height, so the first block sits fully in the ground; Rochester says to bury the first course at least 6 inches; and JLC says to bury at least half of the base course, with more for taller walls. The calculator defaults to one buried course.
  • Drainage stone: at least 12 inches of drainage rock behind the wall (Rochester), placed and compacted in lifts of 6 inches or less (Basalite, JLC).
  • Drain pipe: at least a 4-inch perforated pipe behind the wall, wrapped in filter fabric and run to daylight (JLC), at the rear base of the first course (Basalite).
  • Caps: glued on with a masonry construction adhesive (Basalite, Rochester).

On clay soil, JLC says to dig at least double the recommended depth for the base stone. Our retaining wall guide covers the steps, and the Gravel Calculator converts cubic yards to tons for your stone.

How Tall Can a Block Retaining Wall Be?

  • Product limits come first. Basalite lists its gravity walls as up to 3 feet high including the buried course, excluding the cap; a Lowe’s small-block guide says a maximum of 2 feet.
  • Over 4 feet needs an engineer. Rochester says walls taller than 4 feet, or any wall with a surcharge (a load behind it), need a qualified engineer. JLC says the same for walls over 4 feet, and adds that engineering is also advised for unusual loads and terraced walls.
  • Taller walls use geogrid. JLC describes geogrid at least every 2 vertical feet, extending into the slope about twice the wall height; those details belong to an engineered design.
  • Terraces. JLC says to set an upper wall back at least 1.5 times the height of the lower wall.

Local codes may require a permit or engineering at lower heights. For cost on larger jobs, see our Retaining Wall Cost Calculator.

Retaining Wall Block Sizes

BlockSize (H × L × D)Face AreaWeight
Rochester Classic 66 × 18 × 12 in0.75 sq ft64 lb
Rochester Classic 88 × 18 × 12 in1.0 sq ft85 lb
Rochester Palisade8 × 40 × 12 in2.22 sq ft330 lb
Small 4 in. unit (Lowe’s guide)4 in course, about 1 unit per linear footabout 1/3 sq ftNot listed

Face area is height × length. The Classic and Palisade sizes are read from the manufacturer pages; the axis labels are not stated, so confirm yours. Other brands and styles differ, so use the numbers on your own block’s spec sheet.

Worked Examples

Example 1 — The Calculator’s Defaults

20 ft long, 3 ft high, 6 × 18 in block, 1 buried course, 5% waste:

Courses above ground = 36 ÷ 6 = 6; total = 6 + 1 = 7

Blocks per course = 240 ÷ 18 = 13.3, rounded up to 14

Blocks = 7 × 14 = 98; with 5% waste = 103 blocks; caps = 14 × 1.05 = 15

Example 2 — Base Gravel and Drainage Stone for Example 1

Base 24 in wide (12 in block depth + 12 in), 6 in thick, 10% extra:

20 × 2 × 0.5 ÷ 27 × 1.10 = 0.81 cu yd

Drainage stone 12 in wide × 3.5 ft total height: 20 × 1 × 3.5 ÷ 27 = 2.59 cu yd; drain pipe = 20 ft

Example 3 — A 4 ft Wall with 8 in Block

40 ft long, 4 ft high, 8 × 18 in block:

Courses = 48 ÷ 8 = 6 + 1 buried = 7; blocks per course = 480 ÷ 18 = 26.7, rounded up to 27

Blocks = 7 × 27 = 189, plus 5% = 199; caps = 29. At exactly 4 ft this is at the engineering threshold, so check local rules.

Example 4 — Large Blocks and the Weight

20 ft long, 4 ft high, 8 × 40 in, 330 lb blocks:

7 courses × 6 blocks per course = 42; with 5% waste = 45 blocks, about 14,850 lb. Blocks this heavy need equipment to set.

Example 5 — Material Cost (Example Prices)

Example 1 at $5 per block, $4 per cap and $45 per cu yd of stone (illustrative prices only):

103 × $5 + 15 × $4 + (0.81 + 2.59) × $45 = $728.33

Common Mistakes

  • Forgetting the buried course. It adds a full row of blocks.
  • Skipping the drainage stone and pipe. Water behind the wall is a main cause of failure.
  • Using too thin a base. Sources give at least 6 inches of compacted stone.
  • Using soil instead of crushed stone behind the wall. Soil traps water and clogs.
  • Not rounding up each course. Rounding the total hides partial blocks at each row.
  • Building too tall without engineering. Over 4 ft, or with a load behind the wall, get an engineer.
  • Ignoring the weight. Large blocks can be 330 lb each.

How We Calculate

Courses. Wall height ÷ block height, rounded up, plus the buried courses. Blocks per course. Wall length ÷ block length, rounded up. Total. Courses × blocks per course × (1 + waste).

Caps. Wall length ÷ cap length, rounded up, plus waste. The cap length defaults to the block length; check your cap, which can be a different size. Caps are not counted in the wall height, following Basalite.

Stone. Base = length × (block depth + 12 in) × thickness, with an allowance for compaction. Drainage = length × width × total wall height including the buried courses. Volumes are in cubic yards; ask your supplier to convert to tons for your stone.

Our own defaults. The 5% waste and 10% extra base gravel are planning allowances, not figures from the sources. Change them to suit your site.

Limits. Level ground, gravity wall, no surcharge. Sources are manufacturer installation guides, so follow the manual for the block you buy.

ℹ️ How This Page Was Made

We use AI tools to help draft and format some content. The figures on this page come from the published sources listed below, and the formulas and examples were checked before publication. See our editorial policy.

Frequently Asked Questions

How many retaining wall blocks do I need?+
Divide the wall height by the block height and round up to get the courses above ground, add the buried course or courses, then multiply by the blocks per course (wall length ÷ block length, rounded up). A 20 ft wall, 3 ft high, in 6 × 18 in blocks with one buried course is 7 courses × 14 = 98 blocks, or about 103 with 5% waste.
Wall height in inches ÷ block height in inches, rounded up. A 3 ft (36 in) wall in 6 in blocks is 6 courses above ground, plus the buried course.
Sources differ. Basalite digs the trench 6 inches deeper than the block height, which buries the whole first block. Rochester says to bury the first course at least 6 inches. JLC says to bury at least half of the base course below original grade, and more for taller walls. Follow your block’s manual.
Basalite and Rochester specify a compacted crushed stone base at least 6 inches thick that extends at least 6 inches in front of and behind the first course. For a 12 in deep block that is a base 24 in wide, or about 0.74 cu yd per 20 ft before extra for compaction.
Rochester calls for at least 12 inches of drainage rock behind the wall, placed in lifts of 6 inches or less. The calculator multiplies that width by the wall length and the total height. Add a 4-inch perforated pipe at the base, wrapped in filter fabric and sloped to daylight, according to JLC.
Rochester and JLC both say walls taller than 4 feet, or any wall with a surcharge load behind it, need a qualified engineer. Some products are limited lower: Basalite lists 3 ft including the buried course for its gravity walls, and a Lowe’s small-block guide says 2 ft. Local codes may require a permit at lower heights.
Taller walls usually do. JLC describes geogrid at least every 2 vertical feet, extending into the slope about twice the wall height, but that belongs to an engineered design. This calculator does not size geogrid.
About one cap per cap length of wall. The calculator divides the wall length by the cap length (default is the block length), rounds up and adds waste. Caps are glued on with masonry construction adhesive and are not counted in the wall height.
It depends on the block: Rochester lists 64 lb for a 6 in Classic block, 85 lb for an 8 in block and 330 lb for a 40 in Palisade block. Enter your block’s weight to see the total for delivery planning.
Block, stone, labor, drainage and any engineering all add up. Enter your prices to estimate materials, and use our Retaining Wall Cost Calculator for a full project estimate.
Yes. This retaining wall block calculator is free and runs in your browser. Enter the wall length, height and block size to get the number of blocks and caps, base gravel, drainage stone and drain pipe.

Sources and References

The figures on this page were checked against the sources below in October 2026.

Most sources are manufacturers or a retailer, so their rules are for their own products. Follow your block’s installation manual and local requirements. ConstructlyTools has no paid relationship with any manufacturer or retailer mentioned.

Prakash — Founder and Editor of ConstructlyTools

Prakash

Founder & Editor
ConstructlyTools.com

Prakash is the founder and editor of ConstructlyTools. He researches, develops, and maintains construction calculators, material estimators, cost guides, and DIY planning resources designed to help homeowners, contractors, and builders make informed project decisions.

Every calculator and guide is researched using trusted industry references, published building standards, manufacturer specifications, and reliable construction pricing sources. Each page is reviewed for formula accuracy, pricing methodology, readability, and practical usefulness before publication and is updated regularly as standards or market prices change.

Formula Accuracy Verified 2026 Pricing Reviewed Industry Sources Referenced Updated Regularly
Last reviewed: October 26, 2026
Professional Highlights
Founder of ConstructlyTools
Develops Construction Calculators
Researches Cost Estimation Data
Reviews Building Code References
Updates Pricing Annually
Focused on DIY Homeowners & Professionals
Editorial Review Process

Every calculator and article published on ConstructlyTools is reviewed by the editor for formula accuracy, pricing methodology, readability, and practical usefulness before publication. We use AI tools to help draft and format some content; every figure and formula is checked by the editor before publication. Content is updated whenever construction pricing, industry standards, or building code references significantly change.

This page was researched, written, and reviewed in accordance with our Editorial Policy.

Scroll to Top