Fence Post Calculator — How Many Posts Do I Need?

Count end, corner, gate and line posts for your layout, plus concrete. No prices.

Your fence
Units
Including gates
ft
Fence height
Material
Layout
0
Max post spacing
Typical: 8 ft
1
ft

Posts

Exact run lengths
Total posts
22
End posts
2
Corner posts
0
Gate posts
2
2 per gate
Line posts
18
Bays
20
max 7.3 ft each

Net fence 146 ft after 4 ft of gate openings. Recommended post length: 8 ft.

Concrete

80 lb bags
34
or 50 lb bags
55
Concrete volume
20.26 cu ft
Gravel base
6 cu ft
Posts
22
  • All posts: 22 × 10" Ø × 24" deep → 0.92 cu ft each
How this was calculated
  • Open run with 0 corner(s): 1 run(s), exact run lengths (gates assumed mid-run).
  • 1 gate(s) × 4 ft removed from infill: 150 ft total → 146 ft net fence.
  • Terminal posts = 2 end + 0 corner + 2 gate. Line posts keep every bay ≤ 8 ft. Gates assumed mid-run.
  • Holes 10" Ø × 24" deep (⅓ of height, min 24") over a 6" gravel base. 80 lb bag ≈ 0.6 cu ft.

Planning estimate only — not a contractor quote. Actual pricing varies by location, terrain, material quality, permits and project complexity.

How many posts for 50–200 ft of straight fence?

A 100 ft straight, open fence with no gates needs 14 posts at 8 ft maximum spacing, or 18 at 6 ft. Both counts include the two end posts, with no spare posts or waste added.

Straight open run · no corners · no gates · total posts
Length6 ft max spacing8 ft max spacing
50 ft108
100 ft1814
150 ft2620
200 ft3526

For this layout only: posts = ceil(length ÷ maximum spacing) + 1. “Ceil” means round up to a whole bay, then add the final end post. For 100 ft at 8 ft maximum spacing, 12.5 rounds to 13 bays; 13 + 1 = 14 posts. Evenly distributing those bays gives about 7.69 ft per bay, not thirteen full 8 ft sections.

Counting corners, gates and separate runs

The straight-run shortcut does not apply to corners, gates or closed loops. Terminal posts = end posts (2 for an open layout, 0 for a closed loop) + corner posts + 2 dedicated posts per gate. For each positive-length infill segment between terminal posts, line posts = ceil(segment ÷ maximum spacing) − 1. Add terminal and line posts for the total.

A 180 ft open run with two 4 ft gates has 172 ft net infill. The calculator assumes three equal segments of about 57.3 ft: at 8 ft spacing, each has 8 bays and 7 line posts. That is 21 line + 6 terminal = 27 posts under the assumed gate layout, not a precise count for every gate position.

For a U-shaped open fence with specified runs of 50, 100 and 30 ft, two corners and no gates, 8 ft spacing gives 6 + 12 + 3 line posts and 4 terminal posts: 25 total. Enter each run length for unequal layouts; otherwise the calculator divides total length equally and marks it estimated. Gates are assumed mid-run in either case. See the post-count guide for the breakdown.

Choose spacing before buying posts

Wood uses an 8 ft maximum rail span in this calculator; panel systems set spacing from panel width, and chain link allows up to 10 ft. These are planning assumptions, not a structural approval. Follow the product instructions and account for wind, soil and fence height. See fence post spacing before setting your maximum; use the panel calculator for prebuilt sections.

Frequently asked questions

How many fence posts do I need for 100 feet?

For one straight open run with no gates or corners: 14 posts at 8 ft maximum spacing, or 18 at 6 ft. These include two end posts and no spares. Gates, corners and closed loops require a separate layout calculation.

Does a closed loop need an extra end post?

No. A closed loop has no end posts. The calculator counts corner and gate posts, then line posts for each infill segment. Do not use the straight-open-run plus-one shortcut for a loop.

Why can two fences of the same total length need different post counts?

Each segment between ends, corners and gates is rounded to whole bays separately. Unequal run lengths and gate locations can change the total. Specified run lengths remove the equal-run assumption, but gate positions are still assumed mid-run.

How deep should fence posts be?

A common rule is one-third of the above-ground height, with a minimum of 24 inches — deeper below the frost line in cold climates.

Do gates need special posts?

Yes. Gate posts carry more load; many builders use 6×6 wood or heavier-gauge metal posts and set them deeper.

Related tools & guides