Fence Calculator
Fence material calculator for fence installers: estimate wood fence posts, pickets, rails, brackets and fasteners from run length and spacing.
Fence Calculator
A straight, single-sided picket fence estimate. Add extra posts for corners or gates.
Post spacing sets the number of fence bays; picket width and gap set board count. Hardware is estimated from rails per section.
More free contractor calculators
How the fence quantities are derived
The run length divided by post spacing gives the number of bays, rounded up. A straight run needs one more post than bays, because both ends are posts. Extra posts cover corners, gate posts and any post that must be set at a fixed boundary point rather than on the spacing grid.
Picket count comes from the run length converted to inches, divided by the picket face width plus the gap between boards. That is a face-and-gap layout, not a centre-to-centre one: a 5.5 in picket with a 0.5 in gap occupies 6 in of run, so a 100 ft run takes 200 pickets.
Rails, brackets and fasteners
Rail length is the run length multiplied by the number of rails per bay. Bracket count assumes two brackets per rail end, which is the common face-mounted arrangement for a two- or three-rail wood fence. Fastener count is pickets multiplied by fasteners per picket, typically four for a two-rail picket — two per rail, one at each picket-rail crossing.
None of these are structural quantities. Post depth, footing diameter, gravel, concrete per post, gate framing and hardware are separate line items. Local codes often set minimum post depth and footing size by frost line, which no calculator can infer.
Layouts that break the simple formula
A run that turns a corner needs a corner post, and the two legs should be measured separately. Gated sections need gate posts sized for the gate load, usually heavier than line posts. Sloped ground forces either stepped panels or racked pickets, and stepped panels need more posts and shorter pickets than the flat-run estimate suggests.
For anything other than a straight, level, single-sided run, use this estimate as a materials floor and price the exceptions from a site layout.
Worked example
Worked example: 100 ft run, 8 ft spacing, 2 extra posts
Inputs: Fence length 100 ft (30.5 m), post spacing 8 ft (2.44 m), 2 extra posts, 5.5 in (140 mm) picket face, 0.5 in (13 mm) gap, 2 rails per bay, 4 fasteners per picket.
- Bays = 100 ÷ 8 = 12.5, rounded up to 13 sections.
- Posts = 13 + 1 line posts + 2 extra = 16 posts.
- Pickets = (100 × 12) ÷ (5.5 + 0.5) = 1200 ÷ 6 = 200 pickets.
- Rails = 100 ft × 2 rails = 200 linear ft, with 13 × 2 × 2 = 52 brackets.
- Fasteners = 200 pickets × 4 = 800.
The calculator returns 16 posts, 200 pickets, 200 linear ft of rail, 52 brackets, 16 post caps and 800 fasteners. In metric terms the run is about 30.5 m, the post spacing about 2.44 m, the picket face about 140 mm and the gap about 13 mm.
Common mistakes
Forgetting that both ends of a straight run are posts
Twelve bays need thirteen posts. Ordering posts equal to the bay count leaves one end of the fence unsupported.
Using centre-to-centre picket spacing
Picket width plus gap is the run each board consumes. Adding the gap twice, or measuring to the centre of a picket, changes the count by ten percent or more on a long run.
Assuming the calculator sized the footings
It did not. Post depth, hole diameter, gravel and concrete per post depend on the frost line, soil and code. Price those separately.
Units and conversions
The calculator works in feet and inches for the run and board dimensions. One foot is 0.3048 m, one inch is 25.4 mm. A 6 ft spacing is about 1.83 m, an 8 ft spacing about 2.44 m, and a 5.5 in picket face about 140 mm.
Data sources and calculation logic
- American Wood Council — span tables and deck construction guidance — Reference for post, rail and framing spans that this estimate does not design.
Guide reviewed 2026-10-24. The formulas above are the formulas the calculator runs; the "how this is calculated" note on the calculator states the same steps in short form. Every formula, source and exclusion is listed on the methodology page.
Frequently asked questions
How many pickets do I need for 100 feet of fence?
With a 5.5 in picket face and a 0.5 in gap, each picket consumes 6 in of run, so 100 ft takes 200 pickets. A wider gap or a narrower picket changes the count proportionally.
How many posts for a 100 ft fence?
At 8 ft spacing a 100 ft run is 12.5 bays, rounded to 13 sections, which needs 14 posts including both ends. Add posts for corners, gates and fixed boundary points.
How far apart should fence posts be?
Eight feet is the common spacing for wood picket and privacy fence with two or three rails. Some codes and windy sites require closer spacing. Confirm against the rail span your supplier allows.
Does the estimate include concrete for the posts?
No. Footing volume depends on hole diameter and depth, which depend on frost line and soil. Estimate one bag of post concrete per post as a starting point and confirm locally.
Can I use this for a corner or a sloped yard?
Only as a starting floor. Corners need dedicated corner posts, gates need heavier gate posts, and sloped ground means stepped or racked panels with their own material counts.
How do I price a sloped run?
Slope means stepped panels: each step needs a post and often a cut rail, so a 100 ft run on a fall can take 4 to 6 extra posts. Price the posts you will actually set, not the number the run length implies.
What do I do when I hit rock digging?
Stop and re-quote before you break out a bar. Rock, roots and buried services can turn a two-hour dig into a day, and a per-foot price agreed beforehand does not cover it. Put the condition in writing with a price per hole.
All results are planning estimates. Verify measurements, product coverage, job costs, applicable tax and local requirements before ordering materials or sending a formal quote. Paint starts at 350 sq ft per gallon, within Sherwin-Williams' typical 350–400 sq ft range. Roofing starts at 3 bundles per square; GAF notes products vary, so check the exact package.