A picket fence is three counts. Sections come from the length divided by the post spacing — 8 feet is standard — rounded up, and the posts are the sections plus one. Pickets come from the fence length divided by one picket's width plus the gap between pickets: a 5.5 inch picket with a half-inch gap covers 6 inches, so a 100 foot fence takes 200 pickets. Rails are the sections times the rails per section, usually two. A 100 foot fence at 8 foot spacing takes 13 sections, 14 posts, 200 pickets and 26 rails.
The counts assume one straight run: a fence that turns a corner or meets a gate needs an extra post at each corner and gate side, so add those posts by hand. Spacing pickets wider lowers the count and the privacy together. Lumber lengths for rails should match your section length. Nothing you enter leaves your browser.
14 posts at the standard 8 foot spacing: 100 divided by 8 is 12.5, rounded up to 13 sections, plus one post to close the run.
200 pickets at 5.5 inches wide with a half-inch gap: each picket covers 6 inches of fence, and 100 feet is 1,200 inches.
8 feet is the standard spacing for a wooden fence; 6 feet is used for tall or heavy fences and windy sites. Enter your spacing and the post count follows.
Two is standard — one near the top, one near the bottom. Tall fences often use three. Rails equal sections times rails per section.