Retaining Wall Calculator: How to Calculate Blocks for a Retaining Wall

With a little math, you can make your yard the most stylish one on the block

Landscaping with retaining walls and flowerbeds
Photo: scaliger / iStock / Getty Images Plus / Getty Images
Landscaping with retaining walls and flowerbeds
Photo: scaliger / iStock / Getty Images Plus / Getty Images
Highlights
  • Not sure how to calculate blocks for a retaining wall? You can determine it using a formula.

  • To use the formula, you’ll need to know the height and length of your retaining wall.

  • You should also know the height and width of the blocks you plan to use.

  • It’s a good idea to buy extra blocks to account for breakage, waste, and future repairs.

  • For a 3-foot-high, 30-foot-long wall, you’d need 310 blocks (including a 10% overage).

Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

Retaining walls might look like simple structures, but there’s quite a bit that goes into designing and building them. If you plan to tackle this project yourself, part of the process involves learning how to calculate the blocks for your retaining wall. Here’s how it works.

How Many Blocks Do You Need for a Retaining Wall?

When deciding how many blocks to use in your retaining wall, you’ll need to know the dimensions of each block, as well as the height and length of your wall. We’ll explain how to calculate this later. 

For now, let’s look at how many blocks you’d need for a 3-foot-high retaining wall in different lengths, assuming you use 4-by-11.75-inch blocks (a standard size). It also includes an extra 10% to account for breakage and cutting.

Retaining Wall Length (in Linear Feet)Retaining Wall Area (in Square Face Feet)Number of Blocks
1030104
2060207
3090310
40120414
50150517
60180620
70210724
80240827
90270930
1003001,034

Calculating the Right Number of Blocks for a Retaining Wall

When designing your retaining wall, you’ll need to decide on a height and length. From there, you’ll multiply the height and length to get the square face footage of the wall (the square feet of the wall’s face).

You’ll also have to decide which size blocks to use. Retaining wall blocks come in various sizes, typically ranging from 3 to 8 inches in height and 11 to 18 inches in width. When you have these dimensions, you’ll multiply them to get the square face footage (or the square feet of each block’s face). For example, if your blocks are 4 inches high and 11.75 inches wide, each block is 0.319 square face feet.

When you have these numbers, you can plug them into this formula: 

Number of Blocks Needed = (Retaining Wall Area in Square Face Feet / Square Face Feet per Block) x 1.1

For example, if you’re building a retaining wall that’s 3 feet high and 30 feet long, its square face area would be 90 square feet. If you use 4-by-11.75-inch blocks (each of which is 0.319 square face feet) and plan for 10% overage, you’d need 310 blocks.

How to Measure for a Retaining Wall

Retaining wall under construction
Photo: photovs / iStock / Getty Images Plus / Getty Images

During the planning phase of this hardscaping project, use a tape measure to determine the optimal height and length for your retaining wall.

These dimensions will depend on several factors, including the size of your space, the type of retaining wall, and the wall's intended purpose. Generally speaking, though, retaining walls built with blocks shouldn’t be taller than 4 feet due to the heavy weight of the material. 

If you need help choosing the size of your wall or your blocks, reach out to a retaining wall installer near you.

Who to Hire to Install a Retaining Wall

Whether your goal is to prevent erosion, improve drainage, or enhance the appearance of your yard, consider hiring a professional to build your retaining wall. You’ll pay between $15 and $50 per square foot for their services, which equates to $1,350 to $4,500 for a 3-foot-high, 30-foot-long wall. However, it’s usually worth the investment—here’s why.

For one, this is a job that requires construction experience, landscaping knowledge, and a serious amount of heavy lifting. Plus, if your wall is over a certain height, you’ll also need to get a permit and consult a local structural engineer. It’s much easier to leave all of these things to a professional.

Frequently Asked Questions

Yes, you can use cinder blocks for many purposes, including retaining walls, foundations, garage walls, and fences. Building a cinder block retaining wall costs between $60 and $200 per linear foot, including materials and professional labor. For a 30-foot-long retaining wall, the cost ranges from $1,800 to $6,000.

Sand and gravel are two suitable options for filling behind a retaining wall. If you’re building your own retaining wall, you’ll complete this part of the process—known as backfilling—after you finish laying the blocks. Make sure not to skip it—otherwise, you could wind up with drainage issues, which can cause your retaining wall to collapse.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to fencing services
From average costs to expert advice, get all the answers you need to get your job done.
Mom and daughter planting herb plants in a backyard
Jun 18, 2025
Jun 18, 2025
Shadowbox fencing can boost your home’s appearance and privacy. Use this guide to learn how much it costs to install a shadowbox fence based on factors like material, length, and height.
Modern fence in modern house
Jun 12, 2025
Jun 12, 2025
Find composite fencing costs based on fence type, labor, and more in this guide. You can expect your project to cost $11 to $45 per linear foot.
Two kids have fun with their dog
Jan 21, 2025
Jan 21, 2025
An electric fence is an effective way to keep animals in your yard. Learn how much different electric fences cost, in this guide.
A young deer looks at roses in California backyard
Jun 24, 2025
Jun 24, 2025
Building a deer fence for your garden can keep your plants safe from pests big and small. Learn about seven types of fences that can get the job done.
Man installing wooden fence
Jun 19, 2025
Jun 19, 2025
Do you need a permit to build a fence? Our guide can help you determine the local legal requirements you must follow for fence construction.
chain link fence in front of house
Jun 9, 2025
Jun 9, 2025
There are many parts of a chain-link fence, and knowing one from the other will give you the knowledge for both DIY installations and repairs.