Enter the fence length, the width of your pickets and the gap you want between them. The calculator returns the number of pickets, the exact gap that spaces them evenly, and the posts, rails and sections for the run.
What this calculator does
- Pickets for a fence with the exact gap that spaces them evenly
- Sections, posts and rails
- Extra pickets and cost from the price per picket
How to use the picket fence calculator
- Measure the fence run from the outside of the first post to the outside of the last. Run each straight side separately and add the results.
- Enter the real picket width. A nominal 1×4 is 3 1/2 in wide and a 1×3 is 2 1/2 in.
- Enter the gap you are aiming for. The calculator adjusts it slightly so a whole number of pickets fits with every gap the same.
- Set the largest post spacing you will accept and the number of rails. Add a price per picket for a cost.
Formulas
Pickets = (fence length + gap) ÷ (picket width + gap), rounded to a whole number Actual gap = (fence length − pickets × picket width) ÷ (pickets − 1) Sections = fence length ÷ maximum post spacing, rounded up Posts = sections + 1 Rails = sections × rails per section
The layout puts a picket flush with each end of the run, so there is one fewer gap than pickets. Rounding to a whole picket leaves a little length over or under, and the second formula spreads it across every gap. Sections are made equal, which keeps every post spacing at or under the maximum you set.
Worked example: 50 ft of fence with 3 1/2 in pickets and a 2 1/2 in gap
- Length in inches: 50 × 12 = 600 in.
- Pickets: (600 + 2.5) ÷ (3.5 + 2.5) = 100.4, rounded to 100 pickets.
- Actual gap: (600 − 100 × 3.5) ÷ 99 = 2.53 in, about 2 1/2 in, which puts the pickets 6.03 in center to center.
- With 5% extra for splits and miscuts: 100 × 1.05 = 105 pickets to buy.
- Sections: 50 ÷ 8 = 6.25, so 7 sections of 7 ft 1 11/16 in, with 8 posts and 7 × 2 = 14 rails.
Pickets needed with 3 1/2 in pickets
| Gap | Pickets per foot | 8 ft run | 100 ft run |
|---|---|---|---|
| 1 1/2 in | 2.40 | 20 | 240 |
| 2 in | 2.18 | 18 | 219 |
| 2 1/2 in | 2.00 | 16 | 200 |
| 3 in | 1.85 | 15 | 185 |
| 3 1/2 in | 1.71 | 14 | 172 |
Run counts are before any extra and assume a picket at each end.
Layout tips
Cut a scrap of wood to the actual gap and use it as a spacer between pickets instead of measuring each one. Check for plumb with a level every few pickets so small errors do not build up. Start at a gate or the most visible end, so any adjustment lands where it shows least. Keep the bottom of the pickets a couple of inches off the ground to slow rot. Two rails are enough for a fence up to about 4 ft tall, and a third rail keeps taller pickets from warping. Posts are usually 4×4s set 8 ft apart or less, because standard rails are 8 ft long. A fence that serves as a pool barrier has to meet specific code limits on gaps and height, so confirm those with your building department before you choose a spacing.
Questions
How many pickets do I need per foot of fence?
Divide 12 by the picket width plus the gap. With 3 1/2 in pickets and a 2 1/2 in gap that is 12 ÷ 6 = 2 pickets per foot. A 1 1/2 in gap takes 2.4 per foot.
How many pickets do I need for 100 feet of fence?
With 3 1/2 in pickets, 100 ft takes 200 pickets at a 2 1/2 in gap, 240 at 1 1/2 in and 172 at 3 1/2 in. Add about 5% for damaged boards and cutting mistakes.
How far apart should fence pickets be?
Most picket fences use a gap between 1 1/2 and 3 1/2 in, and rarely wider than the picket itself. A 2 1/2 in gap with 3 1/2 in pickets is a common look. Smaller gaps give more privacy and keep small pets in.
How far apart should picket fence posts be?
No more than 8 ft on center, which matches standard 8 ft rails. Spacing posts 6 ft apart makes a stiffer fence and is worth it on windy sites or with heavier pickets.
Sources
- Voluntary Product Standard PS 20-20, American Softwood Lumber Standard, National Institute of Standards and Technology.
Used for: the dressed dry width of 3 1/2 in for nominal 4 in lumber and 2 1/2 in for nominal 3 in lumber.