Home Improvement
How To Calculate Fence Posts
Fence materials come from one division and a few additions. The post count is the length divided by the spacing plus one, and everything else follows from the number of sections.
Quick Answer
posts = fence length / post spacing + 1, rounded up
- posts
- The number of posts including both ends
- sections
- The number of gaps between posts
- rails
- Horizontal members, usually two or three per section
- pickets
- Vertical boards, counted from their width plus gap
Divide the run by the spacing between posts, round up to a whole number of sections, then add one for the final post. A 120 foot fence with 8 foot spacing needs 16 posts, 30 rails and 263 pickets.
What Is Fence Posts?
The post count comes from a simple rule: divide the fence length by the spacing and add one. The extra post closes the far end, and forgetting it is the single most common ordering mistake.
Spacing is measured centre to centre, not the gap between the posts. Eight feet on centre means the boards between two posts span slightly less than eight feet because the posts themselves take up width.
Sections are the spaces between posts, and there is always one fewer section than there are posts. A 120 foot run at 8 foot spacing gives 15 sections and therefore 16 posts, which is the classic off-by-one that catches people out.
Rails are the horizontal members that run between posts. Two rails suit a fence under four feet, three is the standard for a six foot privacy fence, and four is used for tall or exposed sites.
Rails are counted per section, not per post. Fifteen sections with two rails each need 30 rails, and buying one per post leaves the fence short by fifteen pieces.
Pickets are counted from the width plus the gap. A 3.5 inch picket with a 2 inch gap occupies 5.5 inches of run, so 1440 inches of fence holds about 262 pickets, plus one to close the last gap.
The gap choice changes the count sharply. Narrowing the gap to 1.5 inches drops the pitch to 5 inches and raises the picket count to 289 for the same 120 feet, so decide the gap before ordering.
Corner and end posts are heavier than line posts. They carry the pull of two runs and are usually set in deeper concrete, so order 4x6 posts for corners and 4x4 for the line.
Concrete is counted per post. Two 60 pound bags per post is the usual allowance for a six foot fence in decent soil, and three or four for corners, gates and sandy ground.
Gates need their own hardware. A gate opening is normally four feet, which removes about one section of pickets and adds a hinge post and a latch post, so plan the opening before counting.
Slopes change the maths. On a hillside the panels are stepped or racked, which changes both the rail lengths and the picket count, and posts may need to be longer at the low end.
Always buy a few spares. Posts warp, pickets split and rails crack, and a small surplus avoids a second trip for a handful of pieces.
Line posts are set every section, but corner and gate posts are heavier, and a fence built entirely from line posts will lean at the first corner within a season.
Pickets are sold in bundles that rarely match the count exactly, so round up to the next full bundle and keep the remainder for repairs.
A shadowbox fence alternates pickets on one side or the other, which hides the gaps from both directions but uses about the same number of boards as a solid privacy fence.
Post concrete should be mixed stiff and crowned at the top so water runs away from the post instead of pooling against the cut end.
Local codes often limit front garden fence height and require the finished face to sit on your side of the boundary, so check before ordering.
Formula
posts = ceil(fence length / spacing) + 1
Formula page →Divide the run by the spacing, round up, then add one for the far end.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| posts | Post count | posts | The total number of posts including both ends. |
| length | Fence length | feet | The total run of the fence line, in feet. |
| spacing | Post spacing | feet | Centre to centre distance, in feet. |
pickets = ceil(length x 12 / (picket width + gap)) + 1
Formula page →Converts the run to inches and divides by the width plus the gap.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| pickets | Picket count | boards | Vertical boards needed, including the closing one. |
| length | Fence length | feet | The run of the fence, in feet. |
| w | Picket width | inches | The face width of one board, in inches. |
| g | Gap | inches | The space between boards, in inches. |
rails = sections x rails per section, concrete bags = posts x bags per post
Formula page →Rails scale with sections while concrete scales with posts.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| rails | Rail count | rails | Horizontal members needed. |
| sections | Sections | sections | One fewer than the number of posts. |
| r | Rails per section | rails | Two for short fences, three for six foot privacy. |
| b | Bags per post | bags | Usually two 60 pound bags per post. |
How To Calculate Fence Posts
- 1
Divide the run by the spacing
A 120 foot fence with 8 foot spacing gives exactly 15 sections. If the division is not whole, round up because a partial section still needs two posts.
- 2
Add one for the end post
Fifteen sections have sixteen posts. Mark the corners and gate openings on this count before ordering anything.
- 3
Count the rails
Fifteen sections at two rails each is 30 rails. Use three per section for a six foot privacy fence, which would be 45.
- 4
Count the pickets
The run is 1440 inches and each picket with its gap takes 5.5 inches, so 262 pickets fit and one more closes the last gap, giving 263. Two bags of concrete per post means 32 bags.
Examples
Example 1: A 120 foot fence with 8 foot post spacing
- Fence length
- 120
- Post spacing
- 8
- Rails per section
- 2
- Picket width
- 3.5
- Gap between pickets
- 2
- Concrete bags per post
- 2
| Step | Calculation | Result |
|---|---|---|
| Sections | 120 / 8 | 15 |
| Posts | 15 + 1 | 16 |
| Rails | 15 x 2 | 30 |
| Run in inches | 120 x 12 | 1440 |
| Pickets | ceil(1440 / 5.5) + 1 | 263 |
| Concrete bags | 16 x 2 | 32 |
Result: A 120 foot fence with 8 foot spacing needs 16 posts, 30 rails, 263 pickets and 32 bags of concrete. The sixteen posts create fifteen sections, which is where the extra post comes from.
Example 2: A 60 foot fence with 6 foot post spacing
- Fence length
- 60
- Post spacing
- 6
- Rails per section
- 2
- Picket width
- 3.5
- Gap between pickets
- 2
- Concrete bags per post
- 2
| Step | Calculation | Result |
|---|---|---|
| Sections | 60 / 6 | 10 |
| Posts | 10 + 1 | 11 |
| Rails | 10 x 2 | 20 |
| Run in inches | 60 x 12 | 720 |
| Pickets | ceil(720 / 5.5) + 1 | 132 |
| Concrete bags | 11 x 2 | 22 |
Result: A 60 foot fence with 6 foot spacing needs 11 posts, 20 rails, 132 pickets and 22 bags of concrete. Tightening the spacing from 8 feet to 6 feet adds one post per twenty four feet of run.
Calculator
Posts
16
- Sections
- 15
- Rails
- 30
- Pickets
- 263
- Concrete bags
- 32
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the Fence Posts calculator page.
Common Mistakes
Forgetting the end post
Sections plus one is the post count. Fifteen sections need sixteen posts, and ordering fifteen leaves the far end of the fence with nothing to nail to.
Counting one rail per post
Rails are counted per section. Fifteen sections with two rails each need 30 rails, not 32, and a fence built with one per post is visibly short.
Using the gap as the picket pitch
The pitch is the picket width plus the gap. Dividing 1440 by 2 instead of 5.5 predicts 720 pickets when only 263 are needed.
Ignoring gate openings
A four foot gate removes about one section of pickets and adds a hinge post and a latch post. Counting the gate as solid fence over-orders pickets and under-orders posts.
Using line posts at the corners
Corners carry the pull of two runs and need heavier posts set deeper. Using 4x4 line posts at a corner leads to leaning within a season.
Rounding the spacing down
A 120 foot run at 7 foot spacing is 17.14 sections, which means 18 posts. Rounding down to 17 leaves the last panel longer than the rest.
FAQ
How many posts do I need for a 100 foot fence?
At 8 foot spacing that is 12.5 sections, rounded up to 13, plus one end post, so 14 posts. Always round the sections up, never down.
How far apart should fence posts be?
Eight feet on centre is the common standard for a six foot privacy fence. Six feet is used for taller or more exposed fences, and ten feet is possible with heavy rails.
How many rails do I need for a fence?
Two rails suit fences up to four feet, three is standard for six feet, and four is used for tall or windy sites. Multiply the number of sections by the rails per section.
How do I calculate how many pickets I need?
Convert the run to inches, divide by the picket width plus the gap, then add one. A 120 foot run with 3.5 inch pickets and 2 inch gaps needs 263 pickets.
How much concrete do I need per fence post?
Two 60 pound bags per line post is typical, and three or four for corners, gates and sandy soil. Sixteen posts therefore need about 32 bags.
What size post do I need for a six foot fence?
Use 4x4 posts for the line and 4x6 posts for corners, ends and gate hinges. Posts should be set about a third of their length, or two feet, into the ground.
References
- [1]Wikipedia, Fence — https://en.wikipedia.org/wiki/Fence
- [2]Wikipedia, Picket fence — https://en.wikipedia.org/wiki/Picket_fence
- [3]Wikipedia, Privacy fencing — https://en.wikipedia.org/wiki/Privacy_fencing