How to use this calculator
- Measure the total fence run in feet (or metres) along every side you plan to fence, corner to corner.
- Set the section length: pre-built panels and standard post spacing are 8 ft; 6 ft spacing suits high-wind areas and heavier panels.
- Enter gates and gate width — a walk gate is usually 4 ft, a double drive gate 10–12 ft. Gate openings come out of the fence run, and each gate adds a post.
- Add prices per section, post and concrete bag for a materials estimate. Post holes are typically 2 bags of 60 lb concrete each.
Fence materials follow from one division: the fence run (total length minus gate openings) divided by the section length gives the sections, and posts are sections plus one — plus one more for every gate, because each gate breaks the run into a new segment with its own end posts. A 100 ft fence with a 4 ft gate in 8 ft sections is 96 ft of fence line: 12 sections, 14 posts, 36 rails at 3 per section, and 28 bags of concrete. Enter your run and the calculator counts the rest.
The formula, explained
Sections = Fence line ÷ Section length (rounded up) · Posts = Sections + Gates + 1
Rails = Sections × Rails per section · Concrete bags = Posts × Bags per post
The post formula surprises people: a straight 48 ft run needs 7 posts for 6 sections, not 6, because both ends need a post. Add a gate and the run becomes two segments, each needing its own pair of end posts — hence posts = sections + gates + 1. Corner posts are already counted as segment ends on multi-side fences if you enter the total run; on very short final sections, cutting one panel is cheaper than adding a post. Post depth is the other structural rule: bury at least one-third of the post (a 6 ft fence on 8 ft posts, 2 ft in the ground, deeper in frost country — below the local frost line where winters freeze).
Worked examples
Coverage and reference
| Fence line | Sections | Posts (no gates) | Rails | Concrete (60 lb bags) |
|---|---|---|---|---|
| 50 ft | 7 | 8 | 21 | 16 |
| 100 ft | 13 | 14 | 39 | 28 |
| 150 ft | 19 | 20 | 57 | 40 |
| 200 ft | 25 | 26 | 75 | 52 |
Each gate adds one post and removes its width from the fence line. Pickets for a stick-built fence: a 6 ft privacy fence uses about 2.4 pickets (5.5 in wide with overlap) per linear foot — roughly 240 pickets per 100 ft. Pre-built panels include pickets and rails, so panel fences need only posts and concrete beyond the panels themselves.
What it costs
Materials for a 6 ft wood privacy fence typically run $12–$22 per linear foot DIY: panels $45–$90 per 8 ft section, posts $12–$25 each, concrete $5–$7 per 60 lb bag, plus gate hardware. The 100 ft example lands around $1,100–$1,600 in materials. Professional installation totals $25–$45 per linear foot. Prices last reviewed December 2026; lumber prices move with the market, so confirm before ordering.
Planning the rest of the project
Fence posts stand in concrete: check bag yields and footing volumes with the Concrete Calculator, gravel drainage at post bases with the Gravel Calculator, and lumber volumes for stick-built rails and pickets with the Board Feet Calculator — all part of our Landscaping Materials guide.
Frequently asked questions
How many posts do I need for a 100 ft fence?
In 8 ft sections with no gates: 13 sections and 14 posts. With one 4 ft gate, the fence line drops to 96 ft — 12 sections and 14 posts (the gate adds back a post). The rule: posts = sections + gates + 1.
How far apart should fence posts be?
8 ft on centre is standard for pre-built panels and 2×4 rails; 6 ft spacing is stiffer for high-wind areas, heavy gates and 6 ft privacy fences in exposed locations. Post spacing must match your panel length exactly for pre-built panels.
How much concrete per fence post?
Two 60 lb bags per post is the common allowance for a 10–12 in diameter hole 24 in deep. Deeper holes for frost lines or taller fences take 3 bags. The calculator lets you set bags per post to match your hole size.
How deep should fence posts go?
At least one-third of the post length: 2 ft deep for a 6 ft fence on 8 ft posts. In frost climates, dig below the local frost line (often 36–48 in) or frost heave will lift the posts. Gate posts deserve the deepest holes and the most concrete.
Should I buy panels or build from pickets and rails?
Panels are faster and consistent; stick-built (posts, rails, pickets) fits sloped ground better because rails can step with the slope, and repairs replace single pickets. On slopes over about 6 inches per section, stick-built usually wins.
Sources & verification
Post/section arithmetic follows standard 8 ft panel practice; 2 × 60 lb bags per post from premix yield data (60 lb bag ≈ 0.45 cu ft) for 10–12 in × 24 in holes; post depth rule (one-third buried, below frost line) from fence industry guidance. Price ranges reviewed December 2026. Full formulas and price methodology are documented on our methodology page; our editorial policy explains how figures are checked, and any corrections are recorded in the corrections log.
You may also need
Projects rarely need just one number. These pair with this calculator — all part of our Landscaping Materials guide: