SettingsSettings for this calculationUS
The total straight-line run of fence you're building.
For a fence with corners, measure and add up each straight section separately.
Tools needed: Tape measure, Stakes and string to mark the line
Closer spacing is sturdier but needs more posts and concrete.
8 ft is standard for most residential wood fences. Use 6 ft spacing for taller fences, high-wind areas, or heavier panel material.
Taller fences need more horizontal rails per section to resist wind and sagging.
Choose the range your fence height falls into.
How many times the fence line turns; each turn takes a post of its own.
The run is counted as if it were straight, with a post at each end. Every corner adds one post where the line changes direction, on top of the line posts; gates still need their own posts.
Estimated fence needed
14 posts
- Fence length
- 98 ft
- Sections
- 13 sections
- Line and end posts
- 14 posts
- Corner posts
- 0 posts
- Section width, as set out
- 7.54 ft
- Rails needed
- 39 rails
They open the calculator with your figures already in it
Fence Calculator: 14 posts — shown in imperial, US market. The link sets both, so the result they see is the one on your screen.
Show calculation logicHide calculation logic
How this was calculated
Formula source(s)
- Post count = (fence length / post spacing) + 1; typical post spacing is 6-8 ft for wood fencing
- Recommended rails: 2 for fences under 5 ft, 3 for 5-7 ft, 4 for 8 ft fences
Inputs used
- Fence Length
- 98 ft
- Post Spacing
- 8 ft (standard)
- Fence Height
- 5-7 ft
- Corners (changes of direction)
- 0
Intermediate steps
- Fence length
- 98 ft
- Sections
- 13 sections
- Line and end posts
- 14 posts
- Corner posts
- 0 posts
- Section width, as set out
- 7.54 ft
- Rails needed
- 39 rails
What this calculation does not cover
- A part-bay at the end is rounded up to a whole section, so the count assumes every bay runs the full 6 or 8 ft you picked; the run is never redistributed into equal bays, and the last one comes out short unless you reset the spacing on site.
- Rails are counted as one continuous piece per bay per course, so nothing is added for stock lengths that fall short of a post, splices, off-cuts or waste — there is no waste field on this page.
- The rail count steps in three fixed jumps, two then three then four, so a 5 ft fence and a 7 ft fence sharing a band come back with the same three rails, and no part of the arithmetic responds to wind exposure or panel weight even though the height and spacing hints both raise them.
- Height feeds the rail count and nothing else: it never sizes the posts, so the extra length buried below grade, the hole diameter and the concrete or gravel to set each one all sit outside this number.
- Posts and rails are the entire output — pickets, boards or prefabricated panels, fasteners, post caps and end treatment against rot are counted nowhere in it.
- Both spacing choices are stored as the imperial 6 ft and 8 ft, so the metric labels of 1.8 m and 2.4 m are rounded restatements of those figures, and a bay of any other size — a 2.0 m panel, say — cannot be entered at all.
Estimated cost — your price
This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.
Part of bigger jobs
This trade is one line of a job takeoff. Run the whole job and every other trade comes back with it, off the same measurements.
Or plan the space itself: measure it once, doors and windows included, and this figure comes back worked out on that space, with what goes with it.
also measuresFence PicketPost Hole Concrete
Computed in your browser — nothing you enter is uploaded. Presented in US customary units and US trade terminology. Where a formula follows a published standard, that standard and its edition are cited beside it on this page; where none governs, the page says so. Local amendments override model codes — verify against the code in force where you build.
Sources checked 2026-10-11 · v1.0.1
Regulatory standards & verification citations2
- Post count = (fence length / post spacing) + 1; typical post spacing is 6-8 ft for wood fencing
- Recommended rails: 2 for fences under 5 ft, 3 for 5-7 ft, 4 for 8 ft fences
Cite this page
Your workspace
Most jobs need more than one number. Add the calculators you need next and they open right here, underneath this one — your figures stay on screen and nothing is lost to a page change.
Tools and safety for this job
To set fence posts and fix fence panels or boards. Generic types, no brands, no prices.
Protection this work requires
- Hardwood dust is a recognised carcinogen: extract at the tool and wear a P2/N95 respirator when cutting or sanding indoors.
- Wet cement and lime burn skin and eyes painlessly until the damage is done: waterproof gloves to EN 374, safety glasses whenever the mix can splash, and never kneel in wet mix in permeable trousers.
- Saws, grinders and breakers run above 85 dB, where hearing damage accumulates and does not recover: defenders or plugs for every cut, not just the long ones.
- Boards, blocks and bagged material cause most lasting back injuries on small sites: two people or a lifter for full sheets, and never a bag on one shoulder up a ladder.
- Digging blind strikes gas, water and power every day: get the plans, scan with a cable avoidance tool, and hand-dig trial holes over anything you find.
Show the 10 tools this job needsHide tools
Essential
Cable and pipe detector
Claw hammer
Cordless drill/driver
Mixing bucket or tub
Post hole digger or auger
Spirit level
String line and pins
Tape measure
Recommended
Circular saw
Post driver
Also needed as materials: circular saw blades, drill and driver bits.
what each landscaping tool is for, and the spec that decides which to buy where one does.