Fence Post Calculator: Posts, Gates and Corners From Your Perimeter

By the PlotWalk team ·

To count fence posts, divide each side's length by your post spacing, round up, and subtract one: those are the line posts between the corners. Then add one post for every corner and one on each side of every gate. A square with four 250 ft sides and posts every 8 ft needs 31 line posts per side plus 4 corner posts, so 128 posts.

Fence post calculator

The calculator needs JavaScript. The rule below works just as well with a pencil.

Measure it with PlotWalk. Tap your fence line on a satellite map and the app counts the posts, gates and corners with this same rule.

App Store Google Play

It runs in your browser. Nothing you type is sent anywhere.

How the calculator counts posts

  1. Split the fence into sides at its corners. A bend of less than 10° isn't a corner, just part of a side, so a fence that curves gently along a road is one side.
  2. Take out the gates. Gates go on the longest sides first, one per side, then round again. Gate openings aren't fenced, so their width comes off the fence length.
  3. Place the fixed posts: one at every corner, and one on each side of every gate. For a fence that doesn't close, such as one that runs from the house and back, count a post at each end and at each bend instead. If a gate hangs on a corner post, that corner post is one of the gate's two.
  4. Fill each run between fixed posts with line posts: divide the run by the spacing, round up, and subtract one.

Why round up, then subtract one?

Rounding up means no gap is ever longer than the spacing you chose. Subtracting one is because the posts at each end of the run are already counted as corner or gate posts.

For example, a 100 ft side at 8 ft spacing is 12.5 spacings long. Round up to 13 gaps, which need 12 posts between the two corners, and the gaps come out at about 7.7 ft. Rounding down instead would leave gaps of 8.3 ft. When a side divides exactly, say 240 ft at 8 ft, that's 30 gaps and 29 line posts, with no extra post.

Worked examples

A square paddock, no gate

Four 250 ft sides, posts every 8 ft. 250 ÷ 8 = 31.25, so 32 gaps and 31 line posts per side. Four sides give 124 line posts, plus 4 corner posts: 128 posts for 1,000 ft of fence.

The same paddock with a 4 ft walk gate

The gate goes in the middle of one side. That side now has 246 ft of fence in two runs of 123 ft. 123 ÷ 8 = 15.4, so 16 gaps and 15 line posts per run: 30 for the side, plus 2 gate posts. The other three sides are unchanged at 93 line posts. Total: 93 + 30 + 2 gate posts + 4 corners = 129 posts, for 996 ft of fence.

A backyard fence from the house

Three sides of 60, 100 and 60 ft, with both ends at the house wall and a 4 ft gate. Untick "goes all the way round". There's a post at each end and at both bends: 4. The gate goes on the 100 ft side, leaving two 48 ft runs with 5 line posts each. Each 60 ft side needs 7. Total: 4 + 2 gate posts + 10 + 14 = 30 posts. If the fence fixes to the wall with a bracket instead of a post, take one off for each end.

Choosing the post spacing

The calculator starts at 8 ft (2.5 m in metres), a common spacing for wood board and privacy fences, because 8 ft and 16 ft rails span it neatly. Wire fences are often spaced wider, and high-tensile electric fences much wider. Closer posts make a stronger fence and cost more. Use the spacing your fencing supplier, the material's manufacturer or your local extension service recommends, and enter it above.

What the count doesn't include

  • Bracing. Wire fences need braced corners and gate posts, often with an extra post per brace. Add those to match the bracing you'll build.
  • Post sizes. Corner and gate posts carry the most strain, so they're usually thicker and set deeper than line posts. Order them separately.
  • Spares. Order a few extra for posts that split or turn out crooked.
  • Ground. Dips and sharp rises can need extra posts to keep wire close to the ground or a panel level.
  • Rails or wire. Multiply the fence length (without the gates) by the number of rails or strands.

In the US, call 811 a few days before you dig, so buried utility lines get marked. And build on your side of the line: if you're not sure where it is, see how to find your lot size and boundaries.

First, measure the perimeter

The calculator needs the length of each side. Use a tape or a measuring wheel, or measure on a satellite map. How to measure acreage compares the methods and how accurate each one is. One warning for short fences: phone GPS is typically accurate to a few metres, which is a big share of a 60 ft side, so a tape or the satellite map is the better choice for a backyard.

Post counts are estimates for planning and ordering. Measurements are not a legal survey.

Count your fence posts with PlotWalk

PlotWalk's fence estimate uses the same rule as this page, straight from the shape you measure.

  • Tap the corners on a satellite map, or walk the boundary with GPS.
  • Posts, gates and corners from the fence line you measure, plus rails or wire and an optional cost.
  • Free to measure. No account, no ads, no tracking.