Home Improvement
Post count
Divide the run by the spacing, round up, then add one for the far end.
Last updated
The Formula
posts = ceil(fence length / spacing) + 1
Divide the run by the spacing, round up, then add one for the far end.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| posts | Post count | posts | The total number of posts including both ends. |
| length | Fence length | feet | The total run of the fence line, in feet. |
| spacing | Post spacing | feet | Centre to centre distance, in feet. |
What Each Symbol Means
postsposts
Post count
The total number of posts including both ends.
lengthfeet
Fence length
The total run of the fence line, in feet.
spacingfeet
Post spacing
Centre to centre distance, in feet.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate fence posts page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate Fence Posts, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Post count?
The formula for Post count is posts = ceil(fence length / spacing) + 1. Divide the run by the spacing, round up, then add one for the far end.
What does each symbol in Post count stand for?
posts is post count; length is fence length; spacing is post spacing.
What units should I use with Post count?
Substitute posts in posts, length in feet, spacing in feet. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Post count?
Forgetting the end post. Sections plus one is the post count. Fifteen sections need sixteen posts, and ordering fifteen leaves the far end of the fence with nothing to nail to.