Measuring for a retaining wall starts with finding the height difference between the top and bottom of the slope you want to hold back. That single number, the vertical rise, drives every other measurement: how deep your foundation needs to be, how many blocks you’ll need, and whether the project requires a permit. Here’s how to get each measurement right before you order materials or start digging.
Finding the Vertical Rise of Your Slope
The most important measurement for any retaining wall is how much the ground rises from where the base of the wall will sit to the top of the slope it will retain. This vertical rise tells you how tall your wall needs to be.
The simplest method uses a long straight board, a standard bubble level, and a tape measure. Drive a stake at the bottom of the slope where your wall will start. Hold one end of the board against the stake at ground level and extend it horizontally toward the uphill side. Place the level on the board and adjust until the bubble reads level. Then measure straight down from the board to the ground on the uphill side. That distance is your vertical rise at that point.
For longer walls or steeper terrain, a laser level is more practical. Set it up on stable ground at one end of the wall site, then use a measuring rod with a receiver at several points along the slope. The laser casts a perfectly level reference line, and the height where the beam hits the rod at each point tells you how much the ground rises or falls. Take readings every 5 to 10 feet along the planned wall length. The differences between these readings give you the slope’s gradient across the full span, which matters because the wall height may change from one end to the other.
If your slope is uneven, with steeper sections in some areas and flatter stretches in others, those multiple readings will help you design a wall that steps up or down to match the terrain rather than building one uniform height across the entire length.
Measuring Wall Length and Layout
Drive stakes at each end of where you want the wall to go, then run a string line between them. Measure the string to get your total wall length. For curved walls, lay a garden hose along the planned path first, then measure along the hose.
Mark the wall’s footprint on the ground with spray paint or landscape marking flags. Keep in mind that you’ll need to dig a trench wider than the blocks themselves, typically 24 inches wide, to allow room for base material and backfill gravel behind the wall. If the wall runs near a property line, measure the setback from the boundary before finalizing your layout.
Calculating Foundation Depth
Every retaining wall needs its first course of blocks partially buried below grade. This buried portion, called embedment, anchors the wall and prevents it from sliding forward under soil pressure.
The general guideline is a minimum of 6 inches of buried block. For walls over 6 feet tall, add 1 inch of embedment for every additional foot of wall height. So a 7-foot wall needs 7 inches of block below ground, and an 8-foot wall needs 8 inches.
Your trench depth needs to account for more than just the buried block. Add the thickness of your compacted base material (usually 6 inches of crushed gravel) to the embedment depth. For a 4-foot wall with 6 inches of buried block and 6 inches of base gravel, you’re digging a trench 12 inches deep. Measure and mark this depth on a stake at each end of the trench so you have a consistent reference as you dig.
Measuring for Wall Batter
Most retaining walls lean slightly back into the slope they’re holding. This inward lean is called batter, and it helps the wall resist the pressure of the soil pushing against it. Many manufactured block systems have a built-in setback on each course, usually around half an inch to three-quarters of an inch per row, which creates the batter automatically as you stack.
If you’re building with natural stone or timber, you’ll need to plan the batter yourself. A common target is roughly 1 inch of lean-back for every 12 inches of wall height. For a 4-foot wall, that means the top of the wall sits about 4 inches further back into the slope than the base. Measure this setback at both ends of the wall using a plumb line or level held against the face, and check it every few courses as you build.
Permit Thresholds and When Height Matters Most
Most building codes require a permit and engineered plans for retaining walls above a certain height. The threshold varies by jurisdiction, but a common cutoff is walls retaining 3 to 4 feet of unbalanced fill (the difference in soil height on one side versus the other). Some jurisdictions, like Virginia, exempt retaining walls that support less than 3 feet of unbalanced fill from permit requirements, while allowing general masonry walls up to 6 feet before permits kick in.
Measure unbalanced fill carefully: it’s not the total wall height, but the difference in ground level between the front and back of the wall. A wall that’s 4 feet tall on the exposed side but only retains 2.5 feet of soil (because the ground slopes up behind it) may fall under the permit exemption. Check your local building department’s specific limits before starting, because the cost of an engineer’s stamp is far less than the cost of tearing down a wall that fails inspection.
Accounting for Nearby Structures
Driveways, patios, sheds, and other structures near the top of a retaining wall add extra weight called surcharge. This additional pressure pushes harder on the wall than soil alone. Measure the distance from the top of your planned wall to any nearby structure or paved surface. As a general rule, if anything heavy sits within a distance equal to the wall’s height (a 4-foot wall with a driveway within 4 feet of the top), the wall will experience significantly more lateral pressure. That often pushes a DIY-scale wall into engineered territory. Factor this into your measurements early so you know the true demands on the wall before you commit to a design.
Calculating Block and Material Quantities
Once you know the wall’s exposed height and total length, calculating materials is straightforward. You need two numbers from your chosen block: its face height and its face length. Standard retaining wall blocks are commonly around 4 to 8 inches tall and 12 to 18 inches long, but sizes vary by manufacturer, so measure the actual block you plan to use.
Divide the wall height by the block height to get the number of rows. Divide the wall length by the block length to get the number of columns (blocks per row). Round both numbers up. If your wall is 36 inches tall and you’re using blocks that are 6 inches tall, you need 6 rows. If the wall is 20 feet (240 inches) long and the blocks are 12 inches wide, you need 20 blocks per row.
For total block count without a cap row: multiply rows by columns. In this example, 6 rows times 20 columns equals 120 blocks. If you’re adding a separate capstone on top, subtract one row from the block count and order capstones equal to the number of columns. So you’d need 100 standard blocks plus 20 capstones.
Order 5 to 10 percent extra to account for cuts at corners, damaged blocks during transport, and any measurement imprecision. For base material, figure roughly 6 inches of compacted crushed stone across the width and length of the trench. Drainage gravel behind the wall typically fills a space about 12 inches wide running the full height and length of the wall.
Putting Your Measurements Together
Before you finalize anything, write down these numbers in one place: total wall length, vertical rise at multiple points along the wall, exposed wall height at the tallest point, trench depth (embedment plus base material), distance to any nearby structures, and total block count with extras. Sketch a simple side-view profile showing how the wall height changes along its length if the slope is uneven. This profile helps you figure out where you’ll need to step the wall’s base up or down, because retaining walls on sloped ground are built in level sections that stair-step with the terrain rather than following the slope at an angle.
Double-check your vertical rise measurement, since every other calculation flows from it. An error of even a few inches at this stage compounds into ordering too few blocks, digging the trench too shallow, or building a wall that’s shorter than the soil it needs to hold back.

