Figure My Build

Fence Material Calculator

Enter the fence length and style. We split it into even sections, count the posts and rails, then work out pickets from their actual width and gap, not a guess per foot.

Last updated: 13 November 2026

Diagram of a fence run showing posts at even spacing, with rails and pickets between them
A fence run is posts at even spacing, with rails and pickets between them.

Your buy-list

Enter your measurements

How fence materials are calculated

Posts: wood fence posts are spaced 6–8 ft apart. 8 ft is the standard maximum before rails start to sag. The calculator divides your fence into even sections no wider than your chosen spacing (a 100 ft fence at 8 ft spacing becomes 13 sections of 7.7 ft), and posts = sections + 1.

Rails: each section takes 2 rails on a fence up to about 5 ft tall, or 3 on a standard 6 ft privacy fence. Rails = sections × rails per section; buy them at 8 ft and cut to the actual section length.

Pickets: each picket covers its width plus the gap you leave. A standard 5.5 in picket with a 1/2 in gap covers 6 in, i.e. two pickets per foot. Pickets = fence length ÷ coverage, plus a waste allowance for warped or split boards. Setting the posts in concrete? The Post Hole Calculator turns the post count into bags.

Wood Fence Posts, Rails & Pickets Reference Table (6 ft Privacy Fence, 3 Rails)

Fence material counts depend on post spacing and picket gap width. The table below compares 8 ft post spacing against 6 ft heavy-wind spacing across common fence lengths with 3 rails per section, alongside 1×6 picket counts (5.5 in actual width) for both a 1/2 in gap and a 0 in edge-to-edge privacy fit (showing exact pickets and the 5% waste buy-list).

Fence Length8 ft Spacing (Sections / Posts / Rails)6 ft Spacing (Sections / Posts / Rails)1×6 Pickets, 1/2 in Gap (Exact / +5% Buy)1×6 Pickets, 0 in Gap (Exact / +5% Buy)
40 ft5 / 6 / 157 / 8 / 2180 / 8488 / 93
60 ft8 / 9 / 2410 / 11 / 30120 / 126131 / 138
80 ft10 / 11 / 3014 / 15 / 42160 / 168175 / 184
100 ft13 / 14 / 3917 / 18 / 51200 / 210219 / 230
150 ft19 / 20 / 5725 / 26 / 75300 / 315328 / 345
200 ft25 / 26 / 7534 / 35 / 102400 / 420437 / 459
300 ft38 / 39 / 11450 / 51 / 150600 / 630655 / 688

Section Layout, Wood Shrinkage & Coating Estimates

Equal bay spacing vs short end-bays: Rather than building twelve full 8 ft bays on a 100 ft run and leaving an awkward 4 ft stub bay at the corner, the calculator divides the total run into 13 equal sections of 7.7 ft. You still purchase 14 posts and 39 eight-foot rails, trimming a few inches off each rail so every panel looks uniform along the property line.

Wet pressure-treated shrinkage: Fresh pressure-treated pine pickets are often saturated with preservative solution and can shrink 1/8 in to 1/4 in across their width as they season outdoors. For a tight privacy screen with wet treated lumber, butting pickets edge-to-edge at the 0 in gap setting prevents wide sightlines from opening up later. Kiln-dried cedar and redwood hold their dimensions and can be spaced with a fixed gap during installation.

Cull allowance and stain coverage: Retail picket packs frequently include warped, dog-legged, or split boards near the bottom of the bunk. The default 5% waste allowance covers normal sorting, while 10% is safer for ungraded rough lumber as detailed in our waste allowance guide. If you plan to stain or paint the finished fence, multiply the fence length by its height and double that figure to cover both faces before running the square footage through our paint calculator.

Worked examples

100 ft privacy fence, 6 ft tall

8 ft max spacing → 13 sections; 3 rails per section; 5.5 in pickets, 1/2 in gap, 5% waste.

Buy 14 posts, 39 rails, 210 pickets

60 ft fence, 3.5 in pickets

6 ft spacing → 10 sections; 2 rails; 1/4 in gap, 5% waste.

Buy 11 posts, 20 rails, 202 pickets

48 ft garden fence

8 ft spacing → 6 sections; 2 rails; standard pickets, 5% waste.

Buy 7 posts, 12 rails, 101 pickets

Frequently asked questions

How many pickets do I need for a 100 ft fence?
With standard 5.5 in pickets and a 1/2 in gap, exactly 200 (two per foot), or 210 with a 5% allowance for bad boards. Dog-ear and gothic pickets are the same width math; only the top profile differs.
How far apart should fence posts be?
6 to 8 ft. Eight feet is the standard for a wood privacy fence with 2×4 rails; go to 6 ft in windy spots, soft soil, or with heavy pickets. Never stretch rails past 8 ft. The fence will wave within a season.
How many rails does a fence section need?
Two for fences up to ~5 ft, three for a 6 ft privacy fence. The middle rail stops long pickets bowing. Gates need their own frame. Order a few extra rails and pickets if you're building one.
What size posts should I buy?
4×4 posts for fences up to 6 ft (6×6 for gate posts and tall or windy runs), long enough for the fence height plus the hole depth. An 8 ft post suits a 6 ft fence with a 2 ft hole. Post length isn't counted here; match it to your frost depth.
Does this include gate materials or concrete?
No. Gates need hinges, a latch and diagonal bracing, and post concrete depends on hole size. Run your post count through the Post Hole Concrete Calculator for the bag count.
How many nails or screws do I need per fence picket?
Drive 2 fasteners per rail into every picket (one near each edge) so the board cannot cup or twist as it dries. A 2-rail fence uses 4 fasteners per picket, while a 3-rail privacy fence uses 6 fasteners per picket. For a 100 ft privacy fence with 210 pickets and 3 rails, plan on at least 1,260 exterior hot-dipped galvanized ring-shank nails or coated exterior screws for the pickets, plus 6 structural screws or 12 framing nails per section to secure the rails to the posts.
How much stain or paint do I need for a wood fence?
Calculate the square footage of one side (length times height) and multiply by 2 to cover both sides of the fence, plus the post faces. A 100 ft fence that is 6 ft tall has 1,200 sq ft of two-sided surface area. Because rough-sawn cedar and pressure-treated pine are porous, exterior wood stain or primer typically covers 150 to 250 sq ft per gallon on the first coat, meaning a 100 ft privacy fence takes roughly 5 to 8 gallons.

Related calculators

Estimate disclaimer: results are planning estimates based on standard manufacturer yields and coverage figures. Site conditions, product choice and installation method change actual quantities. Verify before you buy, and follow local building code for structural work. This tool does not replace professional engineering advice.

Use this calculator on your own site

Free to embed. Paste this code where you want the calculator to appear. It carries a small "by Figure My Build" credit link, which is all we ask.