This steel edging calculator works out the total length of steel edging you need for a garden bed or lawn border, and it also estimates the number of stakes (or pins) required to secure it. You enter the bed’s length and width (or just the perimeter if it’s irregular), the edging depth, and the stake spacing, and you get back the total footage and stake count. The calculator uses simple geometry and standard installation practices, so you can order the right amount in one go.
Formula
The calculator uses two straightforward formulas:
- Perimeter (for a rectangle):
P = 2 × (L + W), whereLis the length andWis the width, both in feet. - Stakes needed:
N = ceil(P / S), whereSis the stake spacing in feet, andceil()rounds up to the next whole number because you can’t buy a fraction of a stake.
For a non-rectangular bed, you can measure the actual perimeter with a tape measure and use that number directly. The depth input (d) is not used in the length calculation, but it’s included because it affects the total cost and the type of edging you select—deeper edging is used for containing aggressive roots or creating a stronger barrier.
Worked Example
Using the default values from the calculator: length = 40 ft, width = 25 ft, stake spacing = 3 ft.
- Calculate the perimeter:
P = 2 × (40 + 25) = 2 × 65 = 130 ft. - Calculate stakes:
N = ceil(130 / 3) = ceil(43.33) = 44 stakes.
The calculator shows 130.0 ft of edging and 44 stakes. If you buy edging in 8-ft sections, you’d need ceil(130 / 8) = 17 sections (the calculator doesn’t show this, but you can do that division separately).
When to Use This Calculator
Use this calculator whenever you’re planning a new garden bed, installing a lawn border, or replacing old edging. It’s especially useful for:
- Rectangular beds: The formula is exact for rectangles, which are common along driveways, walkways, and property lines.
- Curved or irregular beds: Measure the actual perimeter with a flexible tape or a piece of string, then enter that number as the “length� and set the width to 0 (or just use the perimeter as the length in a single-input version).
- Estimating materials: Knowing the total footage helps you compare prices per foot and avoid buying too much or too little.
How to Choose the Right Steel Edging
Steel edging comes in several thicknesses and depths. Common thicknesses are 14-gauge (about 0.075 in) and 12-gauge (about 0.105 in). Thicker steel is more durable and less likely to bend under pressure from lawn mowers or frost heave. Depth typically ranges from 3 to 6 inches; deeper edging is better for containing spreading plants or creating a clean, sharp edge that lasts longer. For most residential lawns, a 4-inch depth is a good balance. If you have heavy clay soil or live in a freeze-thaw climate, consider 5–6 inches to resist shifting.
Common Mistakes and How to Avoid Them
- Forgetting to measure the actual perimeter: The rectangle formula only works for perfect rectangles. If your bed is curved, measure the real distance along the edge.
- Mixing units: Always measure in the same unit. If you measure in meters, convert to feet (1 m = 3.28084 ft) before using the calculator, or use a metric version.
- Underestimating stakes: Stakes are typically spaced every 2–3 feet. If you space them too far apart, the edging can bow outward. The default of 3 ft is safe for most soils, but use 2 ft in loose or sandy soil.
- Rounding down: Always round up when buying materials. A fraction of a foot means you need an extra section.
Cost Considerations and Material Comparison
Steel edging is generally more expensive upfront than plastic or aluminum, but it lasts much longer—often 20+ years with proper installation. Plastic edging can crack and become brittle in a few years, while aluminum is lighter and easier to bend but not as strong as steel. The cost per foot varies widely by thickness, depth, and finish (galvanized vs. powder-coated). Galvanized steel is the most common and rust-resistant; powder-coated steel adds color but can scratch. For a typical 130-ft project, you might spend anywhere from $200 to $600 on materials, depending on the gauge and finish. This calculator helps you get the length right so you can price it out accurately.
Installation Tips for Steel Edging
- Mark the perimeter: Use a garden hose or spray paint to outline the bed.
- Dig a trench: The trench should be slightly deeper than the edging depth (e.g., 5–6 inches for a 4-inch edging) and about 2–3 inches wide.
- Set the edging: Place the steel in the trench, ensuring the top edge is level with or slightly above the soil.
- Drive stakes: Insert stakes on the inside of the edging at the spacing you chose (typically 2–3 ft). Use a rubber mallet to drive them flush with the top.
- Backfill and tamp: Fill the trench with soil and tamp it down to hold the edging firmly.
If you’re installing on a slope, you may need to cut the edging at angles using tin snips. Always wear gloves—steel edges are sharp.
Frequently Asked Questions
How do I measure for a curved garden bed?
Use a flexible tape measure (like a sewing tape) or a piece of string to follow the curve. Lay the string along the edge, then measure the string with a regular tape. That gives you the perimeter to enter into the calculator.
Can I use this calculator for aluminum or plastic edging?
Yes, the length and stake count are the same regardless of material. The only difference is that plastic may require stakes more often (every 1–2 ft) to stay rigid, while aluminum and steel can go 2–3 ft.
What if my bed is an odd shape like an L or a U?
Break the shape into rectangles for a rough estimate, or better, measure the actual perimeter. The calculator’s rectangle formula will under- or over-estimate if you just enter the longest sides.
How deep should steel edging be?
For most lawns, 4 inches is sufficient. If you need to stop aggressive rhizome grasses like bamboo, go with 6 inches or more. Deeper edging also helps prevent frost heave in cold climates.
Do I need a special tool to cut steel edging?
You can cut thin steel edging with tin snips or an angle grinder. For thicker 12-gauge steel, a grinder is easier. Always wear eye protection and gloves.
Should I use galvanized or powder-coated steel?
Galvanized steel is the most durable and rust-resistant for the price. Powder-coated steel looks nicer but can chip, exposing bare metal to rust. If you choose powder-coated, touch up any scratches with matching paint.
Related
Formula used
in l | Lawn length | ft | 40 | 0 | 100000 in w | Lawn width | ft | 25 | 0 | 100000 in d | Edging depth | in | 4 | 0 | 12 in s | Stake spacing | ft | 3 | 1 | 10 out ft | Edging length | ft | 2 * (l + w) | 1 out st | Stakes needed | - | ceil(2 * (l + w) / s) | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More in this bed
- Calculate Mulch Coverage: Cubic Yards & Bags9.26 yd³
- Order Mulch Cubic Yard? How Much to Buy9.26 yd³
- Soil Ratio Succulent Plants: The Right Mix2.0 cups
- Paver Sand Calculator: How Much Sand Do You Need?9.26 yd³
- 50 lb Pea Gravel Coverage: Square Feet9.26 yd³
- How to Calculate Bags of Sand for a Patio Base166.7 ft³