Fence Post Calculator
Fence posts equal the fence length divided by the post spacing, rounded up, plus one for the end, plus one for each corner and gate. 150 LF with a 4 ft gate, two corners and 8 ft spacing is 146 ÷ 8, rounded up to 19 bays, so 20 posts plus 3 gives 23.
Result
Posts to order
23 posts
- Of which gate posts
- 2 posts
- Fence length less gates
- 146 LF
Results are estimates for planning, not engineering advice. Check quantities against your drawings and specs.
Whole plan set
Want This Done for the Whole Plan Set?
A calculator handles one room or one wall. Send the drawings and we measure every area, level and partition type, with the numbers traced to marked-up sheets.
- Your calculator inputs are attached to the request
- Quote first, and the price is negotiable
- Excel + marked-up PDF back
Send the Full Plan Set
Your result is attached automatically.
Step of 2
Formula
How Do You Calculate Fence Posts?
A straight run needs one more post than it has bays. Corners and gates break the spacing and add posts.
-
1
Subtract gate openings from the total fence length in linear feet.
-
2
Divide by the post spacing and round up to get bays.
-
3
Add 1 for the end post of the run.
-
4
Add 1 for each corner and 1 for each gate, so both sides of every gate get a post.
-
5
For a closed loop, subtract 1, because the start and end post are the same.
In one line
posts = ⌈(L − gates × gate width) ÷ spacing⌉ + 1 + corners + gates (− 1 if closed)
Worked example
Worked Example: 150 LF with One Gate
150 LF of fence, 8 ft spacing, two corners and one 4 ft gate, open at both ends.
Inputs
- Total fence length
- 150 LF
- Post spacing
- 8 ft
- Corners
- 2 ea
- Gates
- 1 ea
- Average gate opening width
- 4 ft
- Fence layout
- Open run (two ends)
Results
- Posts to order
- 23 posts
- Of which gate posts
- 2 posts
- Fence length less gates
- 146 LF
Assumptions & limits
What This Calculator Assumes
- Post spacing is the maximum on-center spacing from your fence design or panel length.
- Corners are counted as one added post each. Laying out posts side by side can come out one or two lower when bays happen to divide evenly.
- Gate posts are included in the total; they are often a heavier size, so they are listed separately.
- Concrete for the posts is in the fence post concrete calculator.
Results are estimates for planning and ordering, not engineering advice. Confirm quantities and methods against your drawings, specifications and local code.
FAQ
Fence Post Questions
Related
More fencing tools and services
Embed this calculator
Free to use on your website with the credit link.