CCalclabhub

Home Improvement

Post count

Divide the run by the spacing, round up, then add one for the far end.

The Formula

posts = ceil(fence length / spacing) + 1

Divide the run by the spacing, round up, then add one for the far end.

SymbolMeaning
postsPost count
lengthFence length
spacingPost spacing

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.