Toolwick

Retaining Wall Block Calculator

</> Embed this calculator on your site

Use this retaining wall block calculator to estimate total blocks, courses, buried base, cap blocks, pallets and drainage gravel for a segmental (dry-stacked) retaining wall.

Grade to top of last course, before caps
Used for the gravel estimate only
Min. 6 in (15 cm) or 1 in per 8 in of height, rounded up
5–10% straight walls; 15–20% curves and corners

Estimates only. By using this calculator you agree to our Terms.

Planning estimate only — not engineering, permit or inspection approval. Building codes and soil conditions vary by location; follow your block manufacturer's installation guide and check with your local building department.

</> Embed this calculator on your site

Free for any website, blog, classroom or intranet. No sign-up, no ads inside the embed. Copy the code and paste it into your page.

Preview the embed

How to Use This Retaining Wall Block Calculator

Choose imperial or metric, then enter the wall length and the exposed height — measured from finished grade at the front of the wall to the top of the last block course, before cap blocks. Next enter the visible face length, height and front-to-back depth of the block you plan to use; these are on the manufacturer's data sheet or the supplier's listing.

Decide whether to bury a base course, then optionally enter a cap block length, waste allowance, pallet size and price. The calculator returns total blocks, courses, cap blocks, pallets to order and a rough gravel quantity for the leveling pad and drainage zone, plus a course-by-course table.

Why This Matters

Retaining wall block is sold by the pallet, often from a single production batch. Order short and you may get a second batch with a slightly different colour, plus a second delivery fee. Order too much and you are left with hundreds of pounds of block that are hard to return.

The most common estimating mistake is multiplying face area by blocks per square foot and forgetting the buried base. A 20 ft long, 4 ft high wall in 12 in × 6 in blocks is 160 blocks by face area alone. Add one buried course and 10% waste and the real order is 198 blocks — 38 more. On a 60 ft wall that is 3 ft high, the same method gives 420 blocks before waste and 462 after.

Homeowners building garden terraces, landscapers preparing bids and DIYers stabilising a small slope all need the same numbers: blocks, caps, pallets and base material. Getting them right before you dig also shows early whether the wall is tall enough to need a permit or an engineer.

How It's Calculated

All math is done in one unit (inches or centimetres) so that exact fits are not thrown off by unit-conversion rounding. Every result that affects material or safety is rounded up, never down.

Exposed courses = ceil(wall height ÷ block height)
Buried courses = ceil(max(6 in, exposed courses × block height ÷ 8) ÷ block height)
Blocks per course = ceil(wall length ÷ block face length)
Base blocks = (exposed + buried courses) × blocks per course
Waste blocks = ceil(base blocks × waste % ÷ 100)
Total blocks = base blocks + waste blocks
Pallets = ceil(total blocks ÷ blocks per pallet)

The buried base follows the common segmental-wall rule of thumb: bury at least 6 in (15 cm), or about 1 in for every 8 in of exposed height, whichever is greater. Many manufacturers require more for tall walls, soft soil or slopes above the wall, so their instructions always win.

Gravel assumes a 6 in (15 cm) compacted leveling pad extending 12 in (30 cm) beyond the block depth, plus a 12 in (30 cm) wide drainage zone behind the wall over its full built height, with 10% added for compaction. Caps are counted separately: ceil(wall length ÷ cap length) plus the same waste percentage.

Because courses are whole blocks, the built height can be slightly taller than what you typed. The results show the as-built height so you can check it against your plan.

Worked Example

A 20 ft long wall, 4 ft exposed height, 12 in × 6 in × 12 in blocks, buried base on, 10% waste, 12 in caps, 48 blocks per pallet, $3.50 per block:

  1. Exposed courses: 48 in ÷ 6 in = 8.
  2. Buried base: max(6 in, 8 × 6 ÷ 8 = 6 in) = 6 in → 1 course. Total courses = 9.
  3. Blocks per course: 240 in ÷ 12 in = 20.
  4. Base blocks: 9 × 20 = 180. Waste: 180 × 10% = 18. Total: 198 blocks.
  5. Pallets: 198 ÷ 48 = 4.13 → 5 pallets (240 blocks, 42 spare).
  6. Cost: 198 × $3.50 = $693.00.
  7. Caps: 240 ÷ 12 = 20, plus 2 waste = 22 caps.
  8. Gravel: pad 0.74 yd³ + drainage zone 3.33 yd³ = 4.07 yd³, ×1.10 = 4.49 yd³.
  9. Height check: 9 courses × 6 in + 6 in pad = 60 in, over the 4 ft mark many codes use for permits, so the calculator flags this wall for a permit check.

Safety and Code Notes

Under the International Residential Code (IRC R105.2), retaining walls not over 4 ft tall, measured from the bottom of the footing to the top of the wall, are generally exempt from permits unless they support a surcharge. Local amendments differ, and many jurisdictions require engineered plans well below 4 ft. The calculator measures to the bottom of the leveling pad and warns at 4 ft or more.

Walls that hold back a slope, driveway, building, pool or water need engineering at any height. Tiered walls, walls near property lines and walls over about 4 ft usually need geogrid reinforcement designed for your soil. Call your local utility locator before you dig. This tool gives a material estimate only; it is not a structural design.

Tips & Common Mistakes

Frequently Asked Questions

What size blocks are used for retaining walls?

There is no single standard size. Segmental retaining wall blocks commonly have faces from about 12 to 18 in long and 4 to 8 in tall, with depths of roughly 8 to 12 in or more. Always use the exact dimensions from your product's data sheet.

How many retaining wall blocks come on a pallet?

It depends on the block size and manufacturer, from fewer than 40 for large units to well over 100 for small ones. Ask your supplier for the exact count and enter it above so the calculator rounds up to whole pallets.

Do I need to bury the first course of a retaining wall?

Yes. Segmental wall manufacturers generally call for burying the first course, or more, on a compacted gravel base. A common rule of thumb is at least 6 in or 1 in per 8 in of wall height, whichever is greater, but follow your product's instructions.

Are cap blocks included in the total block count?

No. Caps are a separate product, so they are listed on their own line when you enter a cap length. They finish the top of the wall and are usually glued down, not stacked as structural courses.

How do I calculate blocks for a curved retaining wall?

Measure the length along the curve and use it as the wall length. Raise the waste allowance to 15–20% for extra cuts, and check your block system's layout guide for minimum curve radius.

Do I need a permit or engineer for a retaining wall?

Often yes once a wall is around 4 ft tall measured from the bottom of the base, and sooner in some areas. Any wall that supports a slope, driveway, structure or water needs engineering regardless of height, so check with your local building department.

Related Tools