MaterialSizer
32 31 29Wood fences and gates

Fence calculator

Fence length in, lumber list out: posts, rails and pickets for a wood picket or privacy fence.

Measurements

Fence calculator inputs
Fence length100′ 0″
Total of all runs
Fence height6′ 0″
Post spacing8′ 0″
8 ft (2.4 m) or less
Each corner adds a post
Actual width: a 1×6 is 5½″
0 for a privacy fence
Coverage and waste

Materials schedule

100 ft of fence, 6 ft high · 13 sections

100′ 0″ 6′ 0″
Elevationposts every 8′ 0″Not to scale

How this calculator works

It splits the fence into sections at your post spacing, counts one post per section plus the end post and one more for each corner, and adds rails: two per section up to 5 ft high, three above that. Pickets are the fence length divided by the picket width plus any gap, with a little waste.

Posts are sized to bury about a third of the fence height, and never less than 2 ft (0.6 m), then rounded up to a stock length. Where the ground freezes, local code may require posts set deeper, below the frost line.

sections = fence length ÷ post spacing, rounded up
posts = sections + 1 + corners
rails = sections × (2, or 3 above 5 ft)
pickets = fence length × 12 ÷ (picket width + gap) × (1 + waste)

Worked example

A 100 ft, 6 ft high privacy fence with posts 8 ft apart has 100 ÷ 8 = 12.5, so 13 sections. That takes 13 + 1 + 2 corners = 16 posts of 8 ft and 13 × 3 = 39 rails. With 5½″ pickets and no gap, 1,200 ÷ 5.5 = 218.2 pickets; with 5% waste the list buys 230.

Tips before you buy

Questions

How far apart should fence posts be?
Eight feet (about 2.4 m) is the usual maximum for wood fences, because rails come in 8 ft lengths. Closer spacing, such as 6 ft, makes a stiffer fence and suits tall fences in windy areas.
How deep should fence posts be set?
A common rule is to bury about one third of the post’s above-ground height, at least 2 ft. In cold climates set them below the frost line so frost heave does not lift them; your local building department can tell you the depth.
How many rails does a fence need?
Fences up to about 5 ft high usually have two rails per section, near the top and bottom. Taller privacy fences add a third rail in the middle to keep the pickets from warping.
How much concrete do the posts need?
That depends on the hole diameter and depth. Use the fence post concrete calculator in the Concrete aisle with your post count to get the number of bags.