MaterialCalc — Fence Post & Panel Count Calculator
Estimate prepared 10/31/2026. Estimates only; verify against your plans before ordering.
Fence Post & Panel Count Calculator
Enter your measurements and get both numbers: how much material the job takes, and what it costs in your state.
01 / 03Measurements
How big is it?
Measure to the outside. Round to the nearest half foot — nothing on a job site is exact.
Add up every run. Corners do not need extra length.
Post count is not run length divided by spacing — it is that plus one to close the run, plus one more for every gate. Getting it wrong by two posts is a second trip to the yard. This counts posts, sections, rails, pickets and the concrete to set them all.
Assumptions used
These are the numbers behind the result. Where one of them is soft, the cost range widens rather than pretending to a precision the data does not have.
- Fence post spacing
- 96 in
- Post depth as a fraction of height
- 0.33
- 50 lb fast-set bags per post
- 2 bags
- Fence picket width
- 5.5 in
- Rails per fence section
- 3 rails
Eight feet on center, matching a stock panel. Six feet holds up better in wind.
SolidPublished product dataFence panel stock sizes, checked 09/01/2026
A third of the post in the ground, and always below the frost line.
StandardIndustry standard, varies by supplierStandard fencing practice, checked 09/01/2026
For a 4x4 in a 10 in hole about 2 ft deep. Bigger posts and deeper holes take more.
StandardIndustry standard, varies by supplierQuikrete product data sheet, checked 09/01/2026
SolidPublished product dataHome Depot / Lowe's published product data, checked 09/01/2026
Three rails for a 6 ft privacy fence; two is enough at 4 ft.
StandardIndustry standard, varies by supplierStandard fencing practice, checked 09/01/2026
Prices verified 09/01/2026 (US national average, big-box retail shelf price and regional ready-mix quotes). Regional adjustment: Blended from RSMeans city cost index bands and BLS construction wage differentials.
The formula
Sections = run length ÷ 8 ft post spacing, rounded up. Posts = sections + 1, plus one per gate. Pickets = run length ÷ 5.5 in picket width. Rails = sections × 3 for a 6 ft privacy fence. Post depth is a third of the fence height, so a 6 ft fence needs 8 ft posts.
Worked examples
150 ft of 6 ft board-on-rail with one gate
- Total fence length 150
- Fence height 6
- Fence style picket
- Gates 1
- Waste 10
20 sections, 21 posts plus one for the gate, about 330 pickets and 60 rails. Roughly 44 bags of concrete — a pallet.
80 ft of preassembled panel
- Total fence length 80
- Fence height 6
- Fence style panel
- Gates 1
- Waste 10
10 panels and 12 posts. Panels go up far faster than board on rail but need the post spacing to be exact, which is unforgiving on sloped ground.
300 ft of 4 ft chain link
- Total fence length 300
- Fence height 4
- Fence style chainlink
- Gates 2
- Waste 10
38 posts and 300 ft of fabric. Chain link is the cheapest per foot by a wide margin and the only option here with no privacy at all.
Choosing materials
- Buy posts a third longer than the fence height. A 6 ft fence needs 8 ft posts — 6 ft up and 2 ft in the ground — and cutting 8 ft posts down for a 4 ft fence is cheaper than buying 6 ft posts.
- Set corner, end and gate posts first, then string a line and set the rest to it. Setting posts in order down a run accumulates error, and by the last section it is visible from the street.
- Two 50 lb bags of fast-set per post is the working figure for a 4x4 in a 10 in hole. Pour the dry mix in and add water in the hole — mixing it in a barrow first is slower and no stronger.
- Gate posts take a side load every time the gate swings. Use 6x6 for gate posts on anything wider than 4 ft, set them deeper, and use more concrete.
- Frost depth beats the one-third rule. If your frost line is 42 in, the posts go to 42 in regardless of what the fence height suggests.
Common questions
How many fence posts do I need?
Divide the run length by the post spacing, round up for the section count, then add one to close the run and one more for each gate. A 150 ft fence at 8 ft spacing needs 20 sections and 21 posts, plus gate posts.
How far apart should fence posts be?
Eight feet on center matches stock panel and rail lengths and is the usual spacing. Six feet is stiffer, better in wind, and worth it on tall privacy fences or exposed sites — at the cost of a third more posts.
How deep should fence posts be?
A third of the total post length in the ground, or below the local frost line, whichever is deeper. For a 6 ft fence that is 2 ft minimum, and in northern climates it can be 4 ft.
How many bags of concrete per fence post?
Two 50 lb bags of fast-set for a 4x4 post in a 10 in diameter hole about 2 ft deep. A 6x6 gate post in a deeper hole takes three or four. Pour the mix in dry and add water in the hole.
How many pickets do I need?
Divide the run length in inches by the picket width — 5.5 in for a nominal 6 in picket — for a tight-butted fence. A 150 ft run needs about 328 pickets. Spaced picket fences need proportionally fewer.
Do I need a rail at the bottom?
Three rails is standard on a 6 ft privacy fence: top, middle and bottom. Two is enough at 4 ft. A bottom rail also keeps the picket ends off the ground, which is where wood fences rot first.
Related guides
- Fence Post Spacing: How Far Apart, and How DeepEight feet for wood, six for vinyl, and why corners cost more than runs. Post depth by frost line, plus the counting mistake that leaves you a post short.
- Vinyl vs Wood FenceTwice the price for no maintenance, or half the price and a stain every few years. What each one does over twenty years, and which repairs are possible.
Related calculators
- 100 ft Privacy Fence Cost CalculatorPosts, panels, concrete and cost for 100 feet of privacy fence.
- Fence Cost CalculatorMaterial and installed cost per linear foot of fence.
- Fence Cost to Enclose an Acre CalculatorPerimeter, posts and cost to fence a piece of land.
- Concrete Patio Slab Cost CalculatorConcrete, base and cost for a patio slab.
- Wainscoting Panel CalculatorPanels, chair rail and baseboard for a wainscoted room.