Fence Calculator
What kind of fence?
Diagram: what the measurements mean
Pick the build — the materials list changes.
Pick a fence style to continue.
Lay out the line
Total fence length — skip the house, count the gates.
8 ft is standard — wood rails come in 8-ft lengths. Closer spacing builds a stronger fence; wider spacing needs longer rails.
Your fence count
Waste allowance Starts at 0% — tap to add a cushion for cuts, warped boards & spares.
Buy this many pickets
–
💡 Pro field tips
🧰 Tools you'll need
Tap to check off as you load up.
Est. project cost (optional)
File this estimate under a job name or PO to track what to order. Leave blank to file under "General".
Copied to clipboard ✓
How the math works
A fence is a perimeter problem with three parts: posts to hold it up, rails to span between the posts, and the face material — pickets, panels or mesh — to fill in the face. The one decision that drives everything is post spacing — closer posts mean a stronger fence but more holes to dig, more concrete to mix, and more money. Eight feet is standard for wood because rails come 8 feet long; wider sags, tighter costs ~30% more. Whatever spacing your design uses, type it into the Post spacing field — the sections, posts and counts all follow it.
Linear feet and post count
Measure the perimeter in feet. Posts = (linear feet ÷ spacing) + 1. The +1 is the part people miss: a 100-foot run at 8-foot spacing has 12.5 spans, which rounds up to 13 spans — and 13 spans need 14 posts, one at each end. Budget gates separately — each needs beefed-up posts and hardware. Always round spans up.
Pickets
Pickets = linear feet × 12 ÷ 5.75 inches per picket. Work in inches: a 100-foot run is 1,200 inches. This calculator counts every picket at 5.75 inches of fence — a standard 5.5-inch picket plus a small gap allowance: 1,200 ÷ 5.75 = 208.7 → 209 pickets before waste. That built-in gap does real work: counted with no gap at all, the same run would take 219 pickets.
Rails
Two rails per section for fences up to 5 feet tall; three for 6-foot privacy (top, middle, bottom — the middle rail is what stops tall pickets from warping). Rails = spans × rails per section. Our 13 spans × 3 rails = 39 rails, each 8 feet long. Rails go on the inside of the fence (the "ugly" side faces you, per most fence etiquette and many HOA rules).
Concrete and the waste factor
One 50-pound bag of concrete per post is the rule of thumb — about 0.375 cubic feet, which fills a 10-inch-wide, 3-foot-deep hole around a 4×4. In frost country, holes go below the frost line or the posts heave. Add 5 to 10 percent on pickets for splits, warps, and the board you cut an inch short — that's what the waste chips add (they apply to the picket count only; posts, rails, and concrete stay exact).
Chain link, iron and vinyl
Chain link is figured by the roll. The mesh comes in 50-ft rolls at your fence height, so the fabric count is the run length ÷ 50, rounded up — a 100-ft run takes 2 rolls before any waste you add, and the top rail runs the full 100 ft. The posts split into two kinds: lighter line posts in the spans, and heavier terminal posts at the ends and gates, because the terminals carry the fabric tension. Iron and vinyl come as prefab panels — one panel per section, with the rails built into the panel — so they figure exactly like wood privacy panels: one panel per section, and no rails to buy.
Worked example
100 linear feet, 6' privacy, 8' spacing: 100 ÷ 8 = 12.5 → 13 spans + 1 = 14 posts. Pickets: 1,200 ÷ 5.75 = 208.7, × 1.10 (adding 10%) → 230. Rails: 13 × 3 = 39. Concrete: 14 posts = 14 bags.
Most Asked Questions
How many pickets do I need for a 100-foot fence?
For a wood picket fence: 209 pickets exact — 230 with the 10% waste chip. The calculator counts every picket at 5.75″ of fence (a standard 5.5″ picket plus its gap): 1,200″ ÷ 5.75″ = 208.7, rounded up.
How many posts does a 100-foot fence need?
14 posts at the standard 8-ft spacing — and 14 bags of concrete. The run breaks into sections at whatever spacing you enter: 100 ÷ 8 rounds up to 13 sections, plus one post to close the end. Each post gets one 50-lb bag, and each gate you add adds a post. The same post math works for every fence type on this page.
How far apart are the posts spaced?
8 feet is the standard — and you can change it. The calculator starts at 8 ft because rails come in 8-ft lengths. If your design runs tighter or wider, type your spacing into the Post spacing field — sections, posts, rails, panels and concrete all follow it. Closer posts make a stronger fence; wider spacing sags sooner and needs longer rails.
How many rails do I need?
For a wood picket fence: 39 for a 100-ft, 6-ft privacy fence. Six-foot fences get 3 rails per section (13 sections × 3); a 4-ft fence gets 2 per section. Each rail runs one section, so its length matches your post spacing. Prefab panel fences have their rails built in, and chain link uses a top rail instead of rails.
Does the waste percentage change posts, rails and concrete too?
No — the chips apply to the main material only. That means pickets on a wood picket fence, panels on a panel fence, and rolls of fabric on a chain link fence. Posts, rails and concrete always stay exact.
What about chain link, iron or vinyl fences?
All three figure from the same sections and posts. Chain link for 100 ft at 8-ft spacing takes 2 rolls of fabric (100 ft of mesh), 100 ft of top rail, and 14 posts — 12 line posts plus 2 heavier terminal posts. Iron and vinyl figure like wood panels: 13 panels for 100 ft, 15 with the 10% chip, with the rails built into each panel.