Home & DIY

Planning a Fence Step by Step: From Property Line to Materials List

Plan a backyard fence before you dig: find the property line, check permits, HOA and pool rules, call 811, measure the layout, place gates, and count posts, rails, pickets and concrete with a 150-foot worked example.

"Planning a Fence Step by Step: From Property Line to Materials List": wicker fence, bracket, plastic
Photo: Couleur on Pixabay

A fence that's a foot over the property line, too tall for the town code or sitting on a gas line is an expensive mistake. Plan in this order: property line → rules → utilities → layout → materials. The worked example is a 150-foot, 6 ft wood privacy fence with one walk gate, which needs 22 posts, 57 rails and about 320 pickets.

Step 1: Find your property line

Don't assume the old fence, a hedge or the neighbor's word marks the line. Options, from cheapest:

  • Your plat or survey from closing documents, or the county recorder or assessor's office.
  • Survey markers (iron pins) at the corners; a metal detector helps find buried ones.
  • County GIS maps: useful for a rough idea, but not accurate enough to build on.
  • A licensed surveyor to mark the line if anything is unclear; worth it on long runs or with difficult neighbors.

Many people set the fence a few inches to a foot inside their line so they can maintain both sides without crossing it.

Step 2: Check the rules

Before you buy anything, check:

Rule Typical examples (vary by town)
Permit Often required for fences over a set height, or for any fence
Height limits Commonly 6 ft in back and side yards, 3–4 ft in front yards
Setbacks Distance from sidewalks, streets, corners (sight triangles) and easements
Finished side Many towns require the "good side" to face out
HOA Materials, colors, heights and approval before building
Pools Barrier rules on height, gaps and self-closing, self-latching gates

Telling your neighbors before you build is not usually required, but it avoids disputes.

Step 3: Call 811

Call 811 (or file online) a few business days before digging. It's free; utility companies mark buried lines with paint or flags. Private lines (sprinklers, a gas line to a grill, a line to a detached garage) aren't marked; locate those yourself.

Step 4: Measure the layout

Measure each side of the fence with a measuring wheel or a 100 ft tape. A satellite map's distance tool is fine for a first estimate. Write down:

  • The length of each run (each straight side)
  • Where each corner and end post goes
  • Gate locations and widths (a 4 ft walk gate, a 10–12 ft double gate for mowers or vehicles)
  • Slopes, trees, roots, rock and anything in the way

For the example: three sides of 50 ft each = 150 ft, with a 4 ft gate on one side.

Step 5: Count materials

Enter the total length and post spacing in the fence calculator. For a 6 ft privacy fence, use 3 rails and 5.5 in pickets with no gap.

Fence calculator with 150 feet, 8 foot post spacing, 3 rails, 5.5 inch pickets and no gap, showing 20 posts and 328 pickets
Step 5: one straight 150 ft run gives 20 posts, 57 rails and 328 pickets.

Then subtract the gate width from the length and add posts for the extra ends that corners and the gate create. With a 4 ft gate, the length drops to 146 ft and two extra posts frame the gate:

The calculator with 146 feet and 2 extra posts, showing 22 posts and 319 pickets
With the gate: 146 ft and 2 extra posts gives 22 posts, 319 pickets and about 44 bags of concrete.

If the layout has corners where sections don't land evenly, count each side as its own run and add the results; see the fence materials tables.

Step 6: Plan post spacing on each run

Divide each run into equal sections no longer than 8 ft. A 50 ft side splits into 7 sections of about 7 ft 2 in, rather than six 8 ft sections and a short 2 ft one. Even spacing looks better and saves cutting rails.

Step 7: Budget and schedule

Price the materials at your local yard or use 2026 installed ranges: roughly $20–$50 per foot for wood and $30–$60 for vinyl; see fence cost per foot in 2026. Plan for:

  • Day 1: stake corners, run string lines, dig and set posts in concrete.
  • Wait 1–2 days for the concrete to cure before loading the posts.
  • Day 2–3: rails, pickets and the gate.

Step 8: Set posts right

  • Dig holes about three times the post width (10–12 in for a 4×4) and 2–3 ft deep for a 6 ft fence, below the frost line where it freezes.
  • Put 4–6 in of gravel in the bottom for drainage.
  • Set the post, brace it plumb, and fill with concrete, sloping the top away from the post so water runs off.
  • Set the corner and end posts first, run a string line between them, and set the line posts to the string.

When your fence is planned, use the concrete calculator for exact bags per hole size.

UtilityCal Editorial Team

We build free calculators and plain-English guides for US readers, and check every formula against worked examples. How we work.