Fence Calculator
Enter the fence length, post spacing, and picket sizing to get the number of posts, rails, and pickets needed.
Results
- Posts
- 14
- Rails
- 39
- Pickets
- 219
- Sections
- 13
Estimates only. Round up and buy a little extra to account for waste, spills, and breakage.
Enter the fence length, post spacing, and picket sizing to get the number of posts, rails, and pickets needed.
How to use the fence calculator
- Enter the fence length in ft.
- Enter the post spacing in ft.
- Enter the rails per section.
- Enter the picket width in in.
- Enter the gap between pickets in in.
- Optionally add a price to estimate the total project cost.
- Read your quantities instantly — no sign-up, and you can print the estimate to take to the supplier.
Worked example
Inputs
- Fence length
- 100 ft
- Post spacing
- 8 ft
- Rails per section
- 3
- Picket width
- 5.5 in
- Gap between pickets
- 0 in
Results
- Posts
- 14
- Rails
- 39
- Pickets
- 219
- Sections
- 13
Using the example values above, the fence calculator returns 14 (posts). Change any field to match your own project and the numbers update instantly.
Formula
Sections = length ÷ post spacing. Posts = sections + 1. Pickets = (length × 12) ÷ (picket width + gap).
Frequently asked questions
- How far apart should fence posts be?
- Space posts 6–8 ft on center; closer spacing adds strength in windy areas.
- How many rails per section?
- Use two rails for fences under 5 ft and three rails for taller privacy fences.
Related calculators
Deck Board Calculator
Estimate how many deck boards you need for your deck size.
Board Foot Calculator
Calculate board feet of lumber from thickness, width, length, and quantity.
Fence Cost Calculator
Estimate fence material counts to price out your project.
Square Footage Calculator
Calculate the area of a room or surface in square feet, yards, and meters.