Open calculators

How to Lay Out a Fence Line and Mark the Posts

Mark a fence line with stakes and string, place end, corner and gate posts first, then space the line posts and decide where a short section goes.

Settle where the fence may go

The fence line is a legal question before it is a measuring one. Find the property line from your plat or a survey, check whether the town needs a permit or limits height and setbacks, and talk to neighbors along the line. UFP’s fence panel instructions add that stakes should be at least 6 in inside the property boundary. Then call 811 a few business days before any digging so buried utilities are marked: a post hole is deep enough to reach them.

How to Lay Out a Fence Line and Mark the Posts

Mark the line in the right order

  1. Stake the corners and ends

    Drive a stake at every end and every change of direction, and stretch a tight string between them.

  2. Mark the gate posts

    Measure the gate opening from the gate and its hardware, not from the gate’s nominal width.

  3. Space the line posts

    Mark post centers along the string at the spacing your panels or boards require.

  4. Place the short section

    Put any partial panel or shorter section where it is least visible or next to a corner, gate or building.

This is the order the UFP and Woodbridge panel instructions give — end and corner posts, then gate posts, then line posts — and it keeps the fixed points fixed. Spacing comes from the product: the Woodbridge instructions mark holes 72 in apart for 6 ft panels and 96 in apart for 8 ft panels, post center to post center, while Master Halco’s PostMaster guide spaces line posts at the board length plus 2 in.

Square corners and the remainder

To set a right-angle corner without a large square, use a 3-4-5 triangle: measure 3 ft along one string and 4 ft along the other from the corner stake, and move the second string until the diagonal between the marks is exactly 5 ft. Multiples such as 6-8-10 are more accurate on long runs. Then divide each run by the spacing. A 50 ft run of 8 ft sections is six full sections and 2 ft left over: the manufacturers differ on where it goes — UFP recommends the farthest rear corner of the property, Master Halco suggests shorter sections at corners, near gates or buildings.

On sloping ground, panels are usually stepped: each panel stays level and the next one sits lower, so the posts must be tall enough for the step. UFP’s instructions show this “stair step” method for steep or uneven yards. Measure the run horizontally, as the string would read if it were level, because that is the distance the panels span.

Before the first hole

Recheck the measurements against the actual panels and gates you bought; Woodbridge advises measuring panels and gates before setting the post locations. Call 811 and keep holes away from marked lines.

Sources: UFP 2x6 Framed Fence Panels instructions (9704_12/17), https://pdf.lowes.com/productdocuments/46f15bf9-21d7-40ad-a85e-603bffaa9c21/12422536.pdf; UFP Woodbridge Privacy Fence Panel instructions (14604_3/23), https://pdf.lowes.com/productdocuments/d2d3700e-bbda-44ef-9c31-05d0ba46d242/66590251.pdf; Master Halco PostMaster Plus guidelines, https://pdf.lowes.com/productdocuments/a9b13468-12a2-4550-b981-3f81bebfc8e7/10150224.pdf; 811 Before You Dig, http://811beforeyoudig.com/. Checked October 26, 2026.

Related calculators & guides

Calculator

Fence Picket Calculator

Count pickets for one straight run using actual board width and the specified gap, then add spare pieces.