Fence calculator

Enter your fence line's total length to get posts, pickets, and an estimated material cost.

Fence length
ft
Post spacingi
ft
Picket width
in
Gap between pickets
in
Price per post
$
Price per picket
$
Result
Posts needed16
Pickets needed251
Est. cost$1,167

Estimate only — excludes rails, concrete for post footings, and gates.

How this fence calculator works

Posts needed is your fence length divided by post spacing, rounded up, plus one for the final post. Pickets needed is the total length divided by one picket's width plus its gap. Cost adds post cost and picket cost together — rails, gates, and concrete footings aren't included.

Frequently asked questions

Divide your total fence length by the post spacing (commonly 8 ft / 2.4 m for wood fencing) and round up, then add one extra post for the end of the run.

Divide the total fence length by one picket's width plus the gap between pickets. A tighter gap or wider picket both reduce the count.