UNDERSTAND YOUR ESTIMATE
How to use the fence calculator
Measure along the fence line and split it at every corner. Each run gets its own whole number of bays; spacing can be reduced to make those bays equal. Pickets are calculated by coverage across each run, while rails are counted as individual pieces spanning bays. This produces a material takeoff for a face-mounted picket fence.
Formula
Bays = Σ ceil(run length ÷ maximum spacing) Posts = bays + 1 (open), or bays (closed) Pickets = Σ ceil((run length + gap) ÷ (picket width + gap)) Purchase pickets = ceil(pickets × (1 + waste ÷ 100))
Assumptions & scope
- Runs are connected end to end and share corner posts. For disconnected stretches, calculate each stretch separately.
- Gate openings are excluded. Calculate the uninterrupted sections on either side separately and add gate hardware and supporting posts according to the gate design.
- Pickets do not overlap and are not installed board-on-board. Actual lumber width is used, not the nominal trade size.
- Post spacing, rail count and fence height must suit the approved construction detail; this tool does not size structural members.
A calculation you can check
For one 100 ft run with 8 ft maximum spacing, 5½ in pickets, no gaps, three rails per bay and 10% waste: 13 bays, 14 posts, 219 net pickets and 241 purchase pickets. Rails are 39 net pieces or 43 with allowance.
Quick reference
| Run length | Bays at 8 ft max | Posts, open run |
|---|---|---|
| 50 ft | 7 | 8 |
| 100 ft | 13 | 14 |
| 150 ft | 19 | 20 |
| 200 ft | 25 | 26 |
Calculation methodology
Run-by-run spacing and picket coverage are evaluated at full precision, with whole-piece rounding only at bay, picket and purchase boundaries.
Length conversions use the NIST SI conversion factors. See our calculation and editorial standards for precision, validation and limitations.
Common questions
Should I enter nominal or actual picket width?
Use the measured coverage width. A nominal 1×6 picket may measure 5½ inches, but products vary; measure the actual stock before ordering.
How do I handle corners and gates?
Enter connected straight runs separated by commas. Corners share one post. Gates interrupt the coverage calculation, so calculate the separate fence sections and plan gate posts and hardware independently.
Does waste increase my post count?
No. Posts are counted from the layout. Waste increases pickets and rails, with rounding applied after the allowance. Add spare posts manually if required.