Fence calculator
5.5 in pickets, 0 in gap. Posts, rails and gates not included.
Estimate material cost (optional)
Changing the pricing unit clears the unit price. Enter a quote for the newly selected unit.
USD material estimate only; excludes tax, delivery, labor, other project materials and supplier minimums or delivery fees not entered in the comparison above. For bags or boards, match the size in Options. Seed priced per pound does not round up to full packages.
Fence layout planner: posts, rails and gates
Plan a single-sided, vertical-picket wood fence. Walk the layout in order: add a section at each corner and add each gate as its own opening. Adjacent sections share a post. This planner is independent of the quick picket calculator above.
Defaults are examples, not construction specifications. Choose post spacing and rail rows for your fence system. Gate openings are not divided by post spacing.
8 posts · 18 rail pieces · 88 pickets
6 fence bays · 1 gate opening · 40 ft of solid fence + 4 ft of openings
Pickets include 0% extra. Posts and rails have no spare allowance. Gate leaves, gate framing, hardware, fasteners and footing material are excluded.
| Section | Bays | Bay length | Pickets |
|---|---|---|---|
| 1: Fence (20 ft) | 3 | 6.67 ft | 44 |
| 2: Gate (4 ft) | — | — | 0 |
| 3: Fence (20 ft) | 3 | 6.67 ft | 44 |
Uses your current measurements and prices. Choose Save as PDF in your browser’s print options if available.
How this layout becomes a shopping list
Each solid run has length ÷ maximum spacing rounded up to whole bays. Each new line starts with one post, then each bay or gate adds one post. Shared corners and gate boundaries count once; a closed loop reuses its first post. Branches and intersections need a separate manual post check.
A 20 ft run, a 4 ft gate and another 20 ft run at an 8 ft maximum give 6 fence bays, 8 posts, 18 rail pieces at 3 rows, and 88 pickets at 5.5 inches with no gap. Each 20 ft run divides into three equal bays of about 6.67 ft.
Rail pieces means one piece per bay per rail row, not stock boards to purchase. Choose stock length after accounting for how rails attach to posts. Pickets are estimated across each full solid run; exposed posts, mounting style and cuts can change the count. This is not a cut list.
Do not subtract a gate twice: enter the solid lengths on either side, then enter the opening separately. Confirm clear gate openings, post dimensions and hinge/latch clearances against your gate instructions before marking holes. This planner does not size gate posts or design foundations.
Layout reference: Lowe’s fence layout and post-hole guide. Manufacturer spacing and local requirements take precedence over example settings.
How to use this fence calculator
For each straight run, divide (length in feet × 12 + gap in inches) by (actual picket width + gap). Round up, then apply any extra allowance.
Example estimate
A 20 ft run with 5.5 inch pickets and no gap needs 44 pickets before extra allowance.
Before you order
Use actual picket width, not nominal lumber size. Subtract gate openings and enter separate runs under Options. This estimate excludes posts, rails and gates. Use Options to add areas or adjust extra material.
Common fence questions
How many pickets do I need for 100 feet of fence?
With actual 5.5 inch wide pickets and no gaps, 100 feet requires 219 pickets before extra allowance. A different picket width or spacing changes the count.
Should I include gates in my fence length?
Exclude gate openings from the fence runs. Add each separate straight run under Options so its picket count is rounded up separately. Gate construction, posts and rails are not included.