Fence Calculator
Estimate the number of fence posts, rails, pickets, and total cost for your fencing project.
Was this calculator helpful?
How to use this tool?
Fence Calculator Guide
This calculator estimates materials and cost for a fence using imperial units (feet and inches). Follow these steps:
- Enter Total Length (ft) – the full length of the fence line.
- Enter Height (ft) – the fence height (used for reference, not in calculations).
- Set Post Spacing (ft) – distance between posts (default 8 ft).
- Set Rails per Section – number of horizontal rails between posts (default 2).
- Set Picket Width (in) – width of each picket (default 5.5 in).
- Set Picket Gap (in) – space between pickets (default 1 in).
- Enter Cost per Post ($) – price per post.
- Enter Cost per Rail ($) – price per rail.
- Click Calculate to see results: number of posts, rails, pickets, and total cost.
Note: All numeric inputs must be positive (gaps can be zero). The calculator automatically rounds up posts and pickets.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
Measure the perimeter of the area you want to enclose. For a straight fence, simply measure from start to end.
Post spacing typically ranges from 6 to 8 feet, depending on the fence type and local codes.
No, this calculator does not account for gates. You will need to adjust the length and materials accordingly.