Fence calculator
Run length, post spacing, gates, and pickets: calculate posts, rails, and pickets needed.
Open the interactive calculatorQuick answers for common sizes
| Size | You need |
|---|---|
| 25 ft | 5 posts 55 pickets, 8 rails |
| 50 ft | 8 posts 110 pickets, 14 rails |
| 100 ft | 14 posts 220 pickets, 26 rails |
| 150 ft | 20 posts 330 pickets, 38 rails |
Computed with the calculator's default settings. Change the numbers for your own job.
Fence needed by size
| Length | Main result | Shopping list |
|---|---|---|
| 10 ft | 3 posts | 3 posts Posts; 22 pickets Pickets; 4 rails Rails |
| 25 ft | 5 posts | 5 posts Posts; 55 pickets Pickets; 8 rails Rails |
| 50 ft | 8 posts | 8 posts Posts; 110 pickets Pickets; 14 rails Rails |
| 100 ft | 14 posts | 14 posts Posts; 220 pickets Pickets; 26 rails Rails |
| 150 ft | 20 posts | 20 posts Posts; 330 pickets Pickets; 38 rails Rails |
| 200 ft | 26 posts | 26 posts Posts; 440 pickets Pickets; 50 rails Rails |
Every other setting is at the calculator's default. Change them in the calculator for your own job.
Worked example
Using the default sizes, the result is 8 posts (110 pickets, 14 rails).
| Item | Quantity | Note |
|---|---|---|
| Posts | 8 post | Includes start and end posts |
| Pickets | 110 picket | 10% waste included |
| Rails | 14 rail | 2 per section |
| Concrete mix for post holes, 80 lb bags | 16 bag | 2 bags per post, rule of thumb |
How it is calculated
- Sections:
ceil(fenced length ÷ spacing)
ceil(50 ÷ 8) = 7 sections - Posts:
sections + 1
7 + 1 (start and end) = 8 posts - Pickets per foot:
12 ÷ (picket width + gap)
12 ÷ (5.5 + 0.5) = 2 pickets/ft - Base pickets:
length × pickets per foot
50 × 2.000 = 100 pickets - With waste:
base pickets × (1 + waste)
100.00 × 1.10 = 110 pickets - Pickets to buy:
pickets with waste, rounded up
110.00 rounded up = 110 pickets - Rails:
sections × rails per section
7 × 2 = 14 rails
What to enter
| Field | Unit | Help |
|---|---|---|
| Run length | ft | Total length of the fence line. |
| Post spacing | ft | Distance between posts. 8 ft is common. |
| Rails per section | choose | Taller fences need a middle rail so pickets do not bow. Check your design. |
| Number of gates | gates | Gate openings inside the run. Each one is taken out of the fence length and gets its own two posts. |
| Width of each gate | ft | Opening between the gate posts. Only used when you have gates. |
| Picket width | in | Width of one picket. |
| Gap between pickets | in | Space between pickets. |
| Extra for waste | % | Covers mistakes and damaged boards. You can change it. |
Frequently asked questions
How do I calculate fence?
Run length, post spacing, gates, and pickets: calculate posts, rails, and pickets needed. Enter your sizes in the calculator. It works out sections (ceil(fenced length ÷ spacing)) and the later steps, then rounds up to what stores sell.
How much do I need for 25 ft?
With the calculator's default settings, 25 ft needs about 5 posts. Posts: 5 posts; Pickets: 55 pickets; Rails: 8 rails.
How much do I need for 50 ft?
With the calculator's default settings, 50 ft needs about 8 posts. Posts: 8 posts; Pickets: 110 pickets; Rails: 14 rails.
How much do I need for 100 ft?
With the calculator's default settings, 100 ft needs about 14 posts. Posts: 14 posts; Pickets: 220 pickets; Rails: 26 rails.
How much waste should I add?
The calculator starts at 10%. You can change it. More cuts, patterns or uneven ground need more.
Where does the fence post spacing number come from?
8 ft. contractor rule of thumb, editable This is an editable starting value, not an official figure. Change it if your product label or supplier says otherwise.
Where does the fence rails per section number come from?
2 rails/section. contractor rule of thumb, editable This is an editable starting value, not an official figure. Change it if your product label or supplier says otherwise.
Where does the fence post concrete bags number come from?
2 bag/post. Rule of thumb for 80 lb concrete bags set per fence post hole; depends on hole size. Not verified. This is an editable starting value, not an official figure. Change it if your product label or supplier says otherwise.
Does this calculator show prices?
No. It gives quantities and a shopping list you can share, print or export. Ask your supplier for prices.
Guides for this calculator
Common sizes
- How Many Fence Posts and Pickets for 25 Feet
- How Many Fence Posts and Pickets for 40 Feet
- How Many Fence Posts and Pickets for 50 Feet
- How Many Fence Posts and Pickets for 60 Feet
- How Many Fence Posts and Pickets for 75 Feet
- How Many Fence Posts and Pickets for 80 Feet
- How Many Fence Posts and Pickets for 120 Feet
- How Many Fence Posts and Pickets for 150 Feet
- How Many Fence Posts and Pickets for 160 Feet
- How Many Fence Posts and Pickets for 200 Feet
- How Many Fence Posts and Pickets for 250 Feet
- How Many Fence Posts and Pickets for 300 Feet
- How Many Fence Posts and Pickets for 400 Feet
- How Many Fence Posts and Pickets for 500 Feet