Fence Calculator
A 100-foot wood privacy fence with posts 8 feet apart needs 14 posts, 39 rails, about 200 pickets and 28 bags of concrete, plus one post and 2 bags per gate. Enter your fence length, post spacing, rails and picket gap below to get the full materials list for a privacy or picket fence, with an optional picket cost.
—
Enter a picket price to estimate cost.
You might also need:Concrete Calculator·Board Foot Calculator
How to calculate fence materials
- Measure the fence line in feet, including gate openings, and add all the runs together.
- Posts: divide by the post spacing (6 or 8 ft) and round up for the number of sections, then add 1 post, plus 1 for each gate.
- Rails: multiply the sections by 2, 3 or 4 rails, depending on fence height.
- Pickets: divide the length in inches by the picket width plus the gap.
- Concrete: allow two 50 lb bags of fast-setting concrete per post.
rails = sections × rails per section · pickets = length ÷ (picket width + gap)
concrete = 2 × 50 lb bags per post
A 100-foot privacy fence at 8-foot spacing needs 14 posts (plus one per gate), 39 rails and about 200 pickets, set with 28 bags of fast-setting concrete. Sloped yards need either stepped or racked sections — buy 5% extra rails and pickets for cuts.
Fence materials by length
For a wood privacy fence with posts 8 feet apart, 3 rails per section and 5½″ pickets with a ½″ gap, before gates and waste:
| Fence length | Posts | Rails (8 ft 2×4) | Pickets | 50 lb concrete bags |
|---|---|---|---|---|
| 50 ft | 8 | 21 | 100 | 16 |
| 100 ft | 14 | 39 | 200 | 28 |
| 150 ft | 20 | 57 | 300 | 40 |
| 200 ft | 26 | 75 | 400 | 52 |
Butting 5½″ pickets tight raises the count to about 2.2 per foot, and a 4-foot picket fence drops to 2 rails per section.
Fence post sizes and depths
| Fence | Post | Depth | Rails |
|---|---|---|---|
| 4 ft picket | 4×4 × 6.5 ft | 2 ft | 2 |
| 6 ft privacy | 4×4 × 8–9 ft | 2.5–3 ft | 3 |
| 8 ft privacy | 6×6 × 11 ft | 3 ft | 4 |
Build tips
- Call 811 before digging — free utility marking, required in most states, and post holes hit lines more often than you'd think.
- Set all posts first, let concrete cure overnight, then string a line and rail the whole run for a straight top.
- Crown side out: face picket crowns the same way and gap them with a spacer block for even reveals.
- Want exact bags per hole for your hole size and depth? Use the post hole concrete calculator.
- Prefer round pier footings for gate posts? Size them with the Sonotube calculator; bulk concrete math is in the concrete calculator.
Frequently asked questions
How many fence posts do I need?+
Divide the fence length by the post spacing and round up to get the number of sections, then add one post to finish the run and one more for each gate. A 100-foot fence at 8-foot spacing has 13 sections and needs 14 posts, or 15 with one gate.
How far apart should fence posts be?+
Set wood fence posts 6 to 8 feet apart on center. Eight feet matches standard rail lengths and minimizes posts; six feet is stiffer for tall privacy fences and windy sites. Chain link can stretch to 10 feet.
How many bags of concrete per fence post?+
Two 50 lb bags of fast-setting concrete per post is typical for a 4×4 post in an 8–10 inch hole 2 feet deep. Bigger 6×6 posts in 12-inch holes take 3–4 bags. This calculator totals it for the whole run.
How deep should fence posts be set?+
Bury one-third of the total post length, minimum 2 feet — a 6-foot fence uses 9-foot posts set 3 feet deep in frost country, or 8-foot posts at 2 feet where freeze isn’t a factor. Always set posts below the frost line.
How many pickets do I need per foot of fence?+
Standard 5½-inch pickets butted tight run 2.2 per linear foot; with a typical ½-inch gap it drops to about 2 per foot. A 100-foot privacy fence needs roughly 200–220 pickets.
How many rails does a fence need?+
Use 2 rails per section for fences up to 4 feet high, 3 for 5–6 foot privacy fences and 4 for 8-foot fences. With 8-foot post spacing each rail is one 8-foot 2×4, so a 13-section privacy fence needs 39 rails.
How much does a wood fence cost?+
DIY materials for a 6-foot pressure-treated privacy fence run $15–$25 per linear foot; cedar $25–$40. Professional installation doubles it. Gates add $150–$600 each depending on width and hardware.