Construction calculators
Fence Calculator
How many fence panels, posts and rails a fence needs, from its length and the panel width.
Assumptions: posts are placed at the panel spacing, with one extra post at the end of the run — a corner or gate needs an extra post. Rails are the horizontal boards per panel. Measure each straight run separately and add the runs together.
How to use
- Enter the total fence length in feet.
- Enter the panel width and the post spacing.
- Press “Calculate fence” to see the panels, posts and rails.
Frequently asked questions
- How is the post count worked out?
- Posts = length ÷ post spacing + 1, rounded up — one post at the start and one at the end of the run.
- How many panels and posts for a 100 ft fence?
- 13 panels of 8 ft, 14 posts and 26 rails (2 per panel).
- Do gates need extra posts?
- Yes. Each gate needs a post on both sides, so add one post per gate to the count.
- Is the result stored anywhere?
- No. The calculation runs in your browser.