Garden Edging Calculator

Calculate garden edging from bed perimeter: how many edging pieces you need for a rectangular bed, with 5% spare for cuts.

Garden Edging Calculator

Formula

Perimeter (ft) = 2 × (length + width). Pieces = perimeter in inches ÷ piece length, rounded up. Example: a 20 ft × 10 ft bed has a 60 ft perimeter; at 24-inch pieces that is 30 pieces, 32 with 5% spare.

How to use it, step by step

Measure the bed's length and width in feet, including any part you want edged — if one side is against a wall or path and needs no edging, subtract that side from the perimeter instead of using the full rectangle. Enter the length of one edging piece in inches from the product label. The calculator gives pieces needed plus a 5% spare allowance; order the spare, because cutting edging to fit corners always wastes some.

Worked example in detail

A 12 ft × 4 ft bed has perimeter 2 × (12 + 4) = 32 ft, or 384 inches. At 24-inch pieces, that is exactly 16 pieces, 17 with spare. At 12-inch pieces, it is 32 pieces, 34 with spare. Smaller pieces mean more joints and more cutting, so longer pieces are usually faster to install even if they cost more per piece.

What affects real edging needs

Corners, curves and level changes all increase waste. Rigid edging needs more cuts on curves than flexible edging. A bed on a slope needs edging stepped or cut to follow the ground. Always check the piece length on the actual product — '2 ft' edging is often slightly under 24 inches once the joining overlap is counted, so measure one piece rather than trusting the label alone.

Frequently asked questions

Should I edge all four sides?

Usually yes for a freestanding bed, to keep soil in and grass out. Against a wall or path, the wall does the job on that side, so do not pay to edge it.

What is edging for, exactly?

It holds soil and mulch inside the bed, stops grass creeping in, and gives a clean line for mowing. It does not replace weeding — weeds still grow inside the bed.

How deep should edging go?

Deep enough to stay put and block grass roots, usually 4–6 inches below the surface for lawn edging. Follow the product instructions for your edging type.

Understanding your results

The result gives the perimeter and the number of edging pieces, plus a 5% spare figure. Order the spare figure — cutting edging to fit corners always wastes some, and a missing piece at the end of the job is harder to buy than a spare at the start. If one side needs no edging (against a wall), subtract that side from the perimeter before ordering.

What type of edging lasts longest?

Metal and stone last longest but cost most. Plastic and timber are cheaper and easier to install but need replacing sooner. Choose by how long you want the bed to last, not just by price.

Should edging be above or below soil level?

Slightly above, so it holds soil and mulch in, but low enough to mow over if it borders a lawn. About 1 inch above the lawn is a practical compromise.

Can I install edging myself?

Yes for most flexible and timber edging — dig a shallow trench, set the edging level, and backfill. Rigid metal or stone edging needs more care to keep it straight and level.

Related calculators: Gravel Calculator · Paver Calculator · L-Shaped Raised Bed Calculator · All calculators →