FenceLevel

Fence Post Calculator: How Many Posts, How Far Apart, How Deep

Enter your fence side by side, add the gates, and get the line, corner, end and gate post count at the right spacing for wood, vinyl, chain link, split rail or wire — with the bays evened out so you know where each hole actually goes. Then pick your state for the hole depth your frost line needs, the post length to buy and the bags of concrete. No email required.

The short answer

Divide each straight run by the maximum spacing, round up, and add one: a 100 ft run at 8 ft needs 14 posts, set 7′ 8¼″ apart once evened out. Corners are shared, so count them once; each gate adds a pair of gate posts. Buy posts 9 ft long for a 6 ft fence, set 30" deep, and budget one to two 60 lb bags of concrete per post.

1How many posts & how far apart

Maximum post spacing (on centre)
Sides of the fence (feet)One box per straight run, in order. Each join between two sides is a corner post.
Side 1
Side 2
Side 3
GatesEach opening gets two gate posts. 4–5 ft for a walk gate, 10–12 ft for a drive or double gate.

2How deep & how much concrete

Fence height

Your posts

28 posts

26 sections across 196.0 ft of fence + 4 ft of gates

Line
22
Corner
2
End
2
Gate
2

Actual spacing

7′ 1¾″ – 8′ on centre

Evened out so every bay on a run is equal — never more than 8′.

Run-by-run layout
  • Side 1: 50.0 ft → 7 × 7′ 1¾″
  • Side 2: 48.0 ft → 6 × 8′
  • Side 2: 48.0 ft → 6 × 8′
  • Side 3: 50.0 ft → 7 × 7′ 1¾″

Depth & concrete

Line posts

30" deep

Buy 9 ft · 10.5" hole

Corner, end & gate

36" deep

Buy 9 ft · 10.5" hole

Concrete

93 bags

37.7 cu ft of footing plus 10% waste

78 rails (3 per section) · 428 pickets. Full picket & rail list →

Gate posts carry a swinging load no line post sees. For a gate over 4 ft, or a heavy one, step the gate posts up a size.

Now price the whole job →

Quantities are geometry, not a specification. Buy a little over, confirm your frost depth with your building department, and check any HOA or code limit before you dig.

Fence post spacing by fence type

The spacing you choose is a maximum, not a target: the calculator divides each run into equal bays no wider than it. Panel and rail systems are the exception — there the panel is the spacing, so each run ends in one cut panel instead.

  • Wood privacy: 8 ft at most, 6 ft when it's tall or windy. Rails and pre-built panels come in 8 ft lengths and a rail has to land on a post. The Home Depot wood-kit instructions also set end, corner and gate posts at least 6 in deeper — the calculator does the same.
  • Vinyl: the panel width, 6′ or 8′ centre to centre. A vinyl panel can be cut shorter but never stretched, so the bay that doesn't fit is a cut panel, not a wider gap.
  • Chain link: 10 ft maximum, spaced equally. ASTM F567 §4.1 spaces line posts “equidistant at intervals not exceeding 10 ft”, and §4.2 puts a terminal post at every end, corner and gate. A 145 ft run is 15 equal bays of 9′ 8″ on 16 posts — not 14 bays of 10 ft and a 5 ft stub.
  • Wire on T-posts: 12–16 ft. University of Tennessee Extension recommends 12–14 ft for barbed wire and 14–16 ft for woven wire on flat ground; NRCS Illinois caps standard woven wire at 15 ft and barbed wire at 20 ft without stays. Every corner, end, gate and pull post is a braced wood assembly, not a T-post.

How many fence posts do I need? The counting rule

Fence posts are the textbook fence-post problem: a straight run cut into n sections needs n + 1 posts, because both ends need one. Everything else is bookkeeping about which posts are shared:

  • Sections = run length ÷ maximum spacing, rounded up. A 100 ft run at 8 ft is 13 sections, so 14 posts.
  • Corners are counted once. Two 40 ft sides counted separately come to 12 posts; joined at a corner they need 11, because the corner post serves both.
  • A closed perimeter has no end posts. A square with 50 ft sides needs 28 posts — one per section, the four corners included.
  • Each gate takes the opening out of the fence and adds two gate posts. The two pieces either side of it are separate runs, each rounded up on its own.

Worked example — the default in the calculator: a back yard of 50, 100 and 50 ft that stops at the house, with a 4 ft gate in the back side. That is 26 sections and 28 posts: 22 line, 2 corner, 2 end and 2 gate posts, set 7′ 1¾″ to 8′ apart.

How many posts for 100, 200 or 300 feet

This is the whole question for most people, so here it is in full rather than locked inside the calculator. A closed perimeter returns to where it started, so every section shares its posts. An open run — one fence line with two ends — needs one extra post to finish it.

Fence length6 ft spacing8 ft spacing10 ft spacing
50 ft9 / 107 / 85 / 6
100 ft17 / 1813 / 1410 / 11
150 ft25 / 2619 / 2015 / 16
200 ft34 / 3525 / 2620 / 21
250 ft42 / 4332 / 3325 / 26
300 ft50 / 5138 / 3930 / 31
400 ft67 / 6850 / 5140 / 41
500 ft84 / 8563 / 6450 / 51

Read each cell as closed perimeter / open run. Add one post per gate opening on top, and remember the gate width itself carries no panels.

What length post to actually buy

The post you buy is the fence height plus whatever goes in the ground, and this is where the standard advice quietly fails. A six-foot fence is not an eight-foot post job in most of the country — it's eight and a half feet before the frost line is even considered, which is why so many fences end up with 24-inch footings they were never meant to have.

Fence heightHole depthPost to buyDeep frost (42")Rails
4 ft24"6 ft8 ft2
6 ft30"9 ft10 ft3
8 ft36"12 ft12 ft4

Local rules vary. Frost depth is set by your building department, not by a rule of thumb, and it overrides everything in this table. It ranges from nothing in the far south to four feet or more up north — look up the frost line for your zip code, and see how deep fence posts should be for why a footing above it gets lifted every winter.

Concrete per post, by post and hole size

Concrete is the item people most often under-buy, because the intuition is about the hole and the arithmetic is about the hole minus the post. These figures already subtract the post and add 10% for the fact that a dug hole is never a true cylinder.

Post & holePer post50 lb bags60 lb bags80 lb bags
4x4 wood (3.5" actual)10.5" hole, 30" deep1.42 cu ft3.83.22.4
4x4 wood (3.5" actual)12" hole, 30" deep1.93 cu ft5.14.33.2
6x6 wood (5.5" actual)16.5" hole, 30" deep3.51 cu ft9.37.85.8
2⅜" round steel (chain link line post)9" hole, 30" deep1.13 cu ft3.02.51.9

Bag counts are per post, so multiply by your post count and round up — you cannot buy a tenth of a bag, and having one spare is far better than stopping mid-pour. Setting posts in gravel instead of concrete is a legitimate alternative that drains better and makes future replacement much easier.

What this tool deliberately won't tell you

A quantity calculator is geometry, and geometry has limits worth naming:

  • It can't size a gate post. A gate applies a swinging, twisting load no line post ever sees. Set gate and corner posts deeper and wider than the table says, and step up a post size if the gate is wide or heavy.
  • It places gates mid-side. Gates are spread evenly along the side you put them on. Moving one toward a corner can shift the count by a post either way, so treat the run-by-run layout as a plan to check on the ground with a string line.
  • Every join is a real corner. A slight bend doesn't need a corner post (NRCS only braces direction changes over 20°); enter a gentle curve as one side.
  • It doesn't know your ground. Rock, roots and sand all change what the hole can actually be — see fencing on a slope for how grade changes the layout too.
  • It isn't a permit check. Height caps, setbacks and pool-barrier rules are jurisdictional. Start at fence rules before you buy anything.

Call 811 before you dig, every time and everywhere in the US. It's free, it's usually required by law, and hitting a buried line is the one fencing mistake that can be genuinely dangerous rather than merely expensive.

Frequently asked questions

How deep should fence posts be?
A third of the above-ground height, floored at 24″ / 30″ / 36″ for a 4, 6 or 8 ft fence — unless your frost line is deeper, which it usually is. The same 6 ft fence wants 30″ in North Carolina and 60″ in Minnesota.
How deep do fence posts need to be below the frost line?
Below the depth your building department adopts, and never less than 12″ below grade (IRC R403.1.4). It is a code figure, not a weather one — look yours up with the frost line depth by zip code map.
How many fence posts do I need for 200 feet?
At the standard 8 ft spacing, 25 posts for a closed perimeter and 26 for an open run. At 6 ft it's 34–35; at chain link's 10 ft, 20–21. Each gate adds about one more.
How far apart should fence posts be?
8 ft on centre at most for wood (6 ft if tall or windy), the panel width (6 or 8 ft) for vinyl, 10 ft max for chain link (ASTM F567), about 10′4″ for split rail with 11 ft rails, and 12–16 ft for wire on T-posts. See the spacing table.
How many posts do I need for a 100 ft fence?
14 posts for a straight 100 ft run at 8 ft (13 sections plus one), set 7′ 8¼″ apart. At chain link's 10 ft, 11. Corners are shared; gates add a pair of posts.
How many T-posts do I need?
Each run ÷ spacing, rounded up, minus one — the ends, corners, gates and pull posts are braced wood, not T-posts. A quarter mile of barbed wire at 12 ft: 109 T-posts and 2 braced posts.
Do corner posts count twice?
No — a corner serves both sides. Two 40 ft sides need 11 posts joined, not 12. Corners are set deeper, though, and chain link uses a heavier terminal post there.
Do you use 8 or 10 foot posts for a 6 foot fence?
It depends on the hole. A 6 ft fence wants ~30" buried, making the post 8 ft 6 in total — so 8 ft is short and 9–10 ft is the right buy. An 8 ft post only works at a 24" footing, and not at all below a deep frost line.
How many bags of concrete do I need per fence post?
A 4x4 in a 10–12" hole 30" deep takes one to two 60 lb bags. A 6x6 in a 16" hole takes roughly three times as much. Add ~10% — a dug hole is never a true cylinder.
How wide should the post hole be?
Three times the post width — roughly 10–12" for a 4x4, 16" for a 6x6. Narrower cracks the collar; much wider only wastes concrete.
Does the calculator include gate posts?
Yes — add each gate to its side. The opening comes off the fence line and two gate posts frame it, counted separately and set deeper. For a wide or heavy gate, step up to a 6x6.
How many rails does a fence need?
Two up to 4 ft, three at 6 ft, four at 7 ft and above — it scales with height, not length, because rails resist twist.

Keep going