How Many Fence Posts and Pickets Do I Need?
Measure the fence line, choose a post spacing, account for gates and corners, then count posts, rails, pickets and post concrete for your fence.
Step 1: measure the fence line
Walk the line where the fence will go and measure each straight run separately. Write down where each corner and gate will be. Before you go further, confirm the property line, check local height and setback rules, and have buried utilities marked before anyone digs.
Step 2: choose the post spacing
For wood fences, posts are often set 6 to 8 feet apart, center to center. Closer spacing makes a stiffer fence, which helps with tall privacy fences and windy sites. Panel systems in vinyl or metal set the spacing for you: the panel width is the spacing.
Step 3: count sections and posts
Take the gate openings out of the length first. Divide what is left by the post spacing and round up to get sections. A straight run needs one more post than it has sections, and each gate adds a post.
| Example | Result |
|---|---|
| 100 ft, one 4 ft gate, 8 ft spacing | 96 ft fenced, 12 sections, 14 posts |
| 150 ft, no gate, 8 ft spacing | 19 sections, 20 posts |
| 50 ft, no gate, 8 ft spacing | 7 sections, 8 posts |
Add a post at every corner. A rectangular backyard fence with three sides has two corners, so it needs two more posts than a straight run of the same length.
Step 4: count rails
Rails run between posts. Fences up to about 5 feet often use 2 rails per section, while taller privacy fences commonly use 3. Multiply sections by rails per section. Check that your rail length spans the post spacing, or plan where rails will be joined on a post.
Step 5: count pickets
Convert the fenced length to inches and divide by the picket width plus the gap. Then add an allowance for split boards and cuts.
- Privacy fence: 96 feet is 1,152 inches. With 5.5 inch pickets and no gap that is 209.5, or 231 with 10 percent extra.
- Spaced picket fence: 150 feet with 3.5 inch pickets and a 2 inch gap is 1,800 ÷ 5.5 = 327.3, or 344 with 5 percent extra.
As a rule of thumb, an 8 foot section of a privacy fence with 5.5 inch pickets takes about 18 pickets.
Step 6: concrete for the posts
Many wood fence posts are set in concrete, though some builders prefer compacted gravel. The amount depends on the hole. Common guidance is a hole about three times the post width and deep enough to reach below the frost line, often a third to a half of the post length above ground. A 10 inch hole 36 inches deep around a 4×4 post holds about 1.38 cubic feet of concrete. The concrete footing calculator works it out for any hole size and bag yield.
Putting it together
The fence calculator runs all of these steps at once. Enter the total length, spacing, gates, picket size and rails, and optionally the bags per post and your picket price.
Worked example: a backyard on three sides
A backyard fence runs 60 feet along the back, 40 feet on the left and 40 feet on the right, with a 4 foot gate in the left side. Posts are 8 feet apart.
- Back: 60 ÷ 8 = 7.5, so 8 sections.
- Right: 40 ÷ 8 = 5 sections.
- Left: 36 feet of fence beside the gate, 36 ÷ 8 = 4.5, so 5 sections.
- Total: 18 sections. Each straight run needs one more post than sections, but the two back corners are shared, so posts = 18 + 3 runs − 2 shared corners + 1 gate post = 20 posts.
The quick calculator method of treating the whole 140 feet as one run gives 136 ÷ 8 = 17 sections and 19 posts, so adding the corners by hand makes a real difference. When in doubt, enter each run separately and add the posts at the corners yourself.
Rail length and post spacing
Rails come in standard lengths such as 8, 10, 12 and 16 feet. With posts 8 feet on center, 8 foot rails span exactly one section when they meet in the middle of each post, or 16 foot rails can span two. If you choose a spacing like 7.5 feet to make a run come out even, check that the rails still land on a post.
Picket counts per section
| Picket width | Gap | Pickets per 8 ft section |
|---|---|---|
| 5.5 in | 0 (privacy) | 18 |
| 3.5 in | 0 | 28 |
| 3.5 in | 2 in | 18 |
| 3.5 in | 3.5 in | 14 |
| 5.5 in | 1 in | 15 |
Counts are rounded up per section, before waste. A shadowbox fence, with pickets on alternating sides, uses roughly the same number of pickets as a privacy fence with the same width, because the pickets overlap instead of butting together.
Hardware and extras
- Fasteners: two per picket per rail is a common pattern, so a 2 rail fence uses about 4 nails or screws per picket.
- Post caps protect the end grain of wood posts.
- Gate kit: hinges, latch and often an anti-sag kit.
- Gravel at the bottom of each post hole for drainage.
Before you build
Call the utility locating service before digging, confirm your property line, and check local rules on height, setback and which side of the fence must face the neighbor. Many homeowners associations also have their own fence rules.
Common mistakes
- Forgetting corner posts and end posts at gates.
- Using the nominal picket width (6 inches) instead of the actual width (often 5.5 inches).
- Ordering rails that are shorter than the post spacing.
- Skipping a waste allowance; some pickets will be split, warped or cut at the ends.
- Digging before utilities are marked.
Frequently asked questions
How deep should fence posts be?
A common rule is to bury about a third of the post length, and in cold climates to go below the frost line. Local rules may set a minimum.
Should gate posts be bigger?
Gate posts carry the weight and swing of the gate, so many builders use larger posts or deeper holes for them.
How many pickets for a 6 foot privacy fence per foot?
With 5.5 inch pickets butted together, about 2.18 pickets per linear foot before waste.
Try a related calculator
Run the numbers for your own project with the matching CostRafter calculator.
Related guides
More published planning articles in the same topic.
CostRafter Guide
Decks & Fences
Decks & Fences
How Many Pickets Are in an 8 Foot Fence Section?
Picket counts for 6 and 8 foot sections with common picket widths and gaps, plus how to plan spacing so the last picket lands neatly.
CostRafter Guide
Decks & Fences
Decks & Fences
Deck Joist Spacing: 12, 16 or 24 Inches?
How joist spacing is chosen for wood and composite decking, how it changes the joist and screw count, and what to check before you frame.
CostRafter Guide
Decks & Fences
Decks & Fences
How Many Deck Boards Do I Need?
Count rows from your board width and gap, turn them into linear feet and boards, then add joists and screws, with worked examples for common deck size...
More in Decks & Fences
See the published calculators and guides collected under this topic.
Open Decks & Fences topic →