Fence project guideProject guide

How to plan a fence

Planning a fence is mostly sequencing. Measure the run, decide where gates go, choose post spacing, decide height, then pick a fence type — because each of those decisions changes the material list. The post count in particular depends on corners, ends and gates rather than on length alone.

Plan in this order, not the other way round

Most fence projects that go wrong were planned in the wrong order: a material list was produced before the layout existed. Building the layout first means every quantity has a reason attached to it.

  1. Confirm where the fence can goCheck the property line, any setback rules, easements and whether a fence of the height you want is permitted. This is a legal and administrative step, and it comes before any measurement.
  2. Walk the run and mark the turning pointsMark every corner, every end and every gate opening on the ground. The marks become the layout the material list is built from.
  3. Split the run into straight sectionsA fence with two corners is three runs, each with its own length. That is how the post count should be calculated, because each run has its own end or corner positions.
  4. Choose post spacing and heightSpacing is usually set by the fence system or by the panel width. Height is usually set by purpose, and above a certain height the requirements can change.
  5. Choose the fence typeWood, vinyl, composite, chain-link and metal systems fill the same line with different components. This decision changes the shopping list more than any other.
  6. Calculate, then pricePosts first because they are the fixed points, then rails, then the infill, then concrete and hardware. Pricing comes last, from real quotes.

Measuring a fence line

Fence length is measured along the ground, following the line the fence will take, not along the property boundary on a plan. On level ground the two agree. On a slope they do not, and the difference decides how much rail and infill you need.

Diagram: fence components showing posts, rails, pickets, a gate opening and a concrete post holegate openingpost hole filled with concreteline posts, rails and pickets or panel sectionsgate posts are counted separatelyEvery component is counted from the fence length, the post spacing and the openings you enter
Posts, rails, infill and gate openings are counted from the same layout.
  • Measure each straight run separately, corner to corner, and write the number down before moving the tape.
  • Measure gate openings last, and measure the opening you want — not the gate leaf size. A gate needs clearance and hardware space.
  • Record the slope of each run. A run that drops steadily may need stepping, packing or shorter panels to keep the fence looking level.
  • If the fence turns at a fixed object such as a wall or a building, measure from the corner post position, not from the face of the wall.

Corners, ends and gates: where post counts really come from

A post count is not total length divided by spacing. Gate openings are removed from the run first, then positions are estimated along what is left, and gate posts are added separately — twice per gate. Corners and ends are positions within that estimated layout, not extra posts on top of it.

Recalculated by the calculator engine as this page is built

Post layout for a 100 ft fence with one 4 ft gate

A 100 ft run with one corner, two ends, a single 4 ft gate and the calculator default 8 ft post spacing.

Inputs

Fence length
100 ft
Post spacing
8 ft
Corners
1
Ends
2
Gates
1 at 4 ft

Results

Gate opening
4 ft
Net fence run
96 ft
Estimated post positions
13
Line posts
10
Corner posts
1
End posts
2
Gate posts
2
Total posts
15

The gate opening is the telling part of this result. Four feet of opening removes a length of run but adds two gate posts, so the total post count is not simply length divided by spacing. Sketch the corners and the gate before setting posts, and treat the estimated positions as positions to check on the ground.

Do not double count the same post
A corner that also carries a gate is one physical post carrying two roles. The calculator removes gate openings before estimating positions and counts gate posts separately, which is why the guidance in the result warns against entering the same post twice.

Post spacing, height and slopes

Post spacing is a compromise between cost and stiffness: wider spacing uses fewer posts but puts more load on each post and on the rails. Panel systems effectively fix the spacing at the panel width, and the calculator accepts that width as an input. For a built-up fence, spacing is a decision you make.

Decisions that change the material list
DecisionEffect on quantitiesWhat to check
Wider post spacingFewer posts and less concrete, longer rail span per postThe fence system or a structural reference for the span you intend
Taller fenceMore rail, more infill and more post above groundWhether additional engineering, permits or bracing are required
More gatesTwo extra posts and a hardware set per gate, minus the run they replaceGate opening width, leaf weight and how the gate is supported
Stepped or raked panelsSame material, more cutting and more wasteHow the system is designed to follow a slope
Steeper groundDeeper or wider post holes, more concrete, more labourHow far down the line the ground stays workable

Slopes deserve a specific mention, because they are where a fence stops looking like a picture. Most systems handle a slope in one of two ways: stepping, where each panel sits level and the height changes at every post, or racking, where panels follow the gradient. Stepping uses more material at the low end of a run and leaves visible gaps at the high end unless it is detailed carefully.

Fence height is not only a design choice
Height affects wind load, post embedment and sometimes local rules. The calculator warns above a certain height because a taller fence may need more than a material list can express. Check local requirements, and where the fence is exposed or tall, have the details reviewed.

Choosing the fence type before you calculate

The calculator models common systems differently: picket and panel fences are counted by picket or panel, chain-link is counted in linear feet of mesh, and every type gets posts, rails, concrete and a hardware allowance. Choosing the type first means one calculation instead of three.

How each fence type is counted
Fence typeInfill counted asExtra components flagged
Wood picketIndividual pickets at the width and spacing you enterRails, fasteners, gate hardware
Privacy panelPanels at the width you enterRails, fasteners, gate hardware
Vinyl panelPanels at the width you enterRails, fasteners, gate hardware
Composite panelPanels at the width you enterRails, fasteners, gate hardware
Chain-linkLinear feet of meshThe result notes that terminal, tension and tie components are system-specific
CustomNothing is assumedYou supply the component quantities

Fence planning checklist

Before ordering fence material

  • Layout marked on the ground, with every corner, end and gate opening identified
  • Each straight run measured separately, with its slope noted
  • Gate openings sized, with gate posts allowed for separately
  • Post spacing decided and written down next to each run
  • Height decided, with local requirements checked if it is unusually tall
  • Fence type chosen, so posts, rails and infill are counted as one system
  • Post-hole diameter and depth decided, and a concrete quantity calculated
  • Hardware list checked against the actual fence system, not just the default
  • Property line, setbacks and any shared-boundary agreement confirmed

The last item is not a formality. Fence disputes are usually about position rather than material, and moving a fence after it is built costs far more than checking the line beforehand.

Related planning pages

Keep going

Try it: Fence Calculator

Plan posts, rails, pickets/panels, concrete and hardware. Every number on this page came from the same engine, so you can replace the example figures with your own measurements and compare.

Frequently asked questions

How far apart should fence posts be?

Eight feet is the planning default used here because it matches many common panel widths. Wider spacing uses less material but increases the span each rail carries and the load on each post. The right number for your fence depends on the system and the exposure, so confirm it with the fence manufacturer or supplier.

Do I need a post at both sides of a gate?

Yes. A gate needs a post on each side to carry the hinge and latch and to hold the opening rigid. The calculator counts two gate posts per gate, which is why adding a gate increases the post count even though it reduces the fence run.

How do I count posts at a corner?

A corner is one physical post that belongs to two runs. Rather than counting it twice, enter the corner count and let the calculator allocate it within the estimated post positions. Double-counting corners is the most common cause of an over-ordered post list.

What fence height triggers extra requirements?

This site warns above 8 ft, because taller fences attract more wind load and are more likely to need additional engineering, permitting or material requirements. Many local rules limit fence height for exactly those reasons, so check locally before committing to a height.

Does the calculator handle a fence on a slope?

It calculates quantities from the length and spacing you enter, so it does not know about the slope. Measure along the ground rather than taking the horizontal distance from a plan, and expect more waste on a stepped run because panels and rails have to be set at different heights.

Method and limitations

Where this estimate stops being useful

This is a material-planning estimate, not structural, property or code advice. The calculator does not determine safe post spans, embedment depth, footing size, wind or snow loading, land ownership or permit requirements, and it does not confirm that a chosen fence system suits your site. Gate hardware and chain-link terminal components vary by manufacturer and are not fully enumerated. Confirm property lines, local requirements and system-specific details before building.

The methodology page documents how volume, waste, compaction and purchase quantities are produced, and the about page explains what this platform does and does not do.