Calculate Fence Posts, Rails and Pickets

A free fence calculator that works out the materials for a straight fence run. Enter the total length, the post spacing and the rails per section, and it returns the number of posts, sections, rails and — if you add a picket width — the pickets.

How to calculate a fence

1
Enter the length

Type the total length of the fence run.

2
Set the post spacing

Enter the centre-to-centre distance between posts.

3
Add rails and pickets

Enter the rails per section and, optionally, the picket width and gap.

Estimate every fence part from length and spacing

m
Centre-to-centre spacing between posts — about 2.4–3 m (8–10 ft) is typical.
m
Optional — enter to get the picket count.
cm
cm
Posts
Sections
Rails
Pickets
The post count includes one post at each end. Gates, corners and sloping ground change the layout, so treat the result as a starting estimate.
Published Updated