Fence Post Spacing Calculator – Post Count & Layout

Fence Post Spacing Calculator

Figure out how many posts a fence run needs before you dig a single hole. Enter your fence length and pick a post type, and this calculator spaces the posts on-center and totals up the cost.

ft
%

Covers curves, corners and offcuts. 5–15% is normal.

ft
$
$
Scale drawing of the bed outline
0ft

Wood 4×4 post (8 ft spacing)

Units needed
0
Stakes
0
Coverage / unit
0
Recommended order

ItemQtyCost

Everything is calculated in your browser. Nothing you type is sent anywhere or stored.

Ordering tips

Coverage & waste

Coverage per unit
Total length
Stakes
Waste allowance

Material profile

Post count comes from dividing your total fence length by the post spacing for that material, then rounding up to the next whole post. Wood privacy and picket fence typically runs 8 ft on-center, vinyl panel fencing runs 6 ft on-center (matched to pre-built panel widths), and chain link or wire fencing can stretch to 10 ft on-center between line posts. Add your waste percentage for cut-offs and damaged posts, then multiply the post count by the price per post to get material cost.

Standard Post Spacing by Fence Type

Spacing is driven by the fence panel or picket run, not just the post material. Use these as a starting point, then check the panel width on the product you’re actually buying.

Typical on-center post spacing by fence type
Fence TypeTypical Post SpacingNotes
Wood privacy/picket6-8 ft on-centerMatches standard 8 ft dog-ear and privacy panel stock
Vinyl panel fencing6-8 ft on-centerLocked to the manufacturer's panel width, not adjustable
Chain link8-10 ft on-centerLine posts only; add terminal posts at ends, corners, gates
Split rail8-10 ft on-centerMatches standard 8 or 10 ft rail lengths
Farm/wire fencing10-12 ft on-centerTighter spacing on uneven or hilly ground

How to Calculate Fence Post Spacing

Posts = Fence length ÷ Post spacing (rounded up to the next post)
  1. Measure the total run of the fence line in feet, including any turns treated as separate straight runs.
  2. Pick your post material and its standard spacing (wood 8 ft, vinyl 6 ft, metal 10 ft by default).
  3. Divide the fence length by the post spacing and round up to get a whole post count.
  4. Add waste if you want a buffer for damaged posts or layout changes.
  5. Multiply posts by price per post, and stakes by price per stake, to get total material cost.

Worked example

Here’s a 100 ft straight run of wood privacy fence using 4×4 posts on 8 ft spacing, with no waste added.

  • Fence run100 ft (line, no waste)
  • Post typeWood 4×4 post, 8 ft spacing
  • Posts needed13 posts
  • Stakes needed13 stakes
  • Post cost13 x $22 = $286
  • Stake cost13 x $22 = $286
  • Total material cost$572

Post Depth and Footing Basics

Post spacing tells you how many posts to buy. Post depth tells you how deep to dig. A common rule of thumb is to set posts one-third of their above-ground height into the ground, with a minimum of 24 in for a 6 ft fence. In cold climates, dig below the local frost line so seasonal freeze-thaw doesn’t heave the posts. Corner, end, and gate posts carry more load than line posts and should go a few inches deeper and get a larger concrete footing than the posts in the middle of a straight run.

Common mistakes

  • Ignoring gate postsGate posts need to be set closer together than the standard spacing and often need a bigger footing; measure the gate opening separately.
  • Skipping corner postsEvery corner and end of a fence run needs its own post regardless of the on-center spacing math for the straight sections.
  • Using line-post spacing for panelsVinyl and pre-built panel fencing is locked to the panel width; you can’t stretch spacing to save posts the way you can with wood picket fence.
  • Forgetting slope adjustmentsSloped yards often need closer post spacing than flat ground to keep the fence line looking straight and the panels properly supported.

What this calculator assumes

Adjust your result if your project differs from these.

  • The fence run is treated as one or more straight lines; curves aren’t modeled.
  • Post spacing is on-center and matches the standard for the chosen material.
  • One stake is used per post for bracing during installation, if stakes apply to that material.
  • Waste percentage is applied to total fence length before dividing into posts.
  • Corner, end, and gate posts are counted the same as line posts in the total count.

Common questions

How far apart should fence posts be?

It depends on the material: wood privacy and picket fencing usually runs 6-8 ft on-center, vinyl panels are typically 6-8 ft (set by the panel width), and metal chain link or wire fencing can go 8-10 ft between line posts.

Do I need extra posts for corners and gates?

Yes. Every corner, end, and gate opening needs its own dedicated post in addition to the line posts spaced along the straight runs.

What's the difference between a post and a stake?

The post is the permanent structural member set in the ground; a stake is a temporary brace used to hold the post plumb while concrete cures, then removed.

Should I round post count up or down?

Always round up. A partial post at the end of a run still needs a full post, so the calculator rounds up to the next whole number.

Does adding waste percentage change the spacing?

No, waste only pads the total fence length used in the calculation to account for cut-offs or damaged posts; it doesn’t change the spacing itself.

Embed this calculator

Free to use on your own site. Copy the code below.

<iframe src="https://materialcalculate.com/embed/fence-post-spacing-calculator/" width="100%" height="900" style="border:1px solid #DFE6EA;border-radius:4px" title="Fence Post Spacing Calculator"></iframe> <p><a href="https://materialcalculate.com/tools/fence-post-spacing-calculator/">Fence Post Spacing Calculator</a> by MaterialCalculate</p>

Related calculators

Fence Post Spacing Calculator Estimate

MaterialCalculate
materialcalculate.com/tools/fence-post-spacing-calculator/

Project

Shape
Dimensions
Total length
Material
Waste allowance

Shopping list

Units needed
Stakes
Estimated total cost

Notes

Estimate generated by materialcalculate.com. Confirm quantities with your supplier before ordering.