Measure one uninterrupted straight run
Enter the length of one straight fence section in feet and the largest spacing you want between adjacent posts. Measure along the proposed fence line rather than using a property-line estimate that ignores turns or changes in grade. If a long boundary bends, divide it into separate straight runs and plan each run with its own end, corner, or brace posts.
The spacing field is a maximum bay length, not a promise that every bay will equal it. When the run does not divide evenly, the calculator increases the span count to the next whole number. That keeps the average span at or below the entered maximum, provided the posts are laid out evenly along that run.
Why the span count rounds upward
For a positive run, spans = ceil(run length ÷ maximum spacing). A fence with 121 feet to cover and a 10-foot maximum needs 13 spans, because 12 spans would average more than 10 feet. The post count is spans + 1 when both ends have a post. This is a counting relationship for a straight line, not a construction detail.
After calculating the integer number of spans, divide the measured run by that count to get the average bay length. That average is a planning check: it should not exceed the maximum. It does not account for post widths, terrain, terminal assemblies, gate openings, or the exact location of property corners.
Keep line posts separate from special assemblies
The result covers the straight run and its two end posts. A real fence may need additional corner, pull, gate, brace, or transition posts. Some assemblies replace an ordinary line post; others add posts. Count them from the actual plan rather than automatically adding the calculator total to a material takeoff without checking for overlap.
The USDA Natural Resources Conservation Service field-fence specification calls for a plan showing fence extent and the locations of gates, corners, braces, and endpoints. It also treats post spacing and assembly details as design information. That is why a simple evenly spaced estimate is useful early, while the local plan and project specification govern installation.
Check grade, materials, and local requirements
A level straight run is the simplest case. Uneven ground, depressions, waterways, corners, and changes in wire tension can require different post spacing or anchoring. Livestock pressure, wind exposure, soil strength, fence height, and post material also affect a design. Do not treat a number of posts as evidence that a fence is structurally suitable.
Use the result to budget line-post positions, then compare the count with a marked plan and the chosen construction standard. A fractional maximum such as 8.5 feet is allowed by the numeric field, but the resulting post positions still have to be measured in the field. Confirm units before entering a value; NIST defines the international foot as exactly 0.3048 metre.
Know what the calculator leaves out
The model does not subtract gate openings, determine terminal or brace-post counts, adjust for corners, or optimize where each post falls. It also does not calculate wire, rails, concrete, post length, embedment, or labor. Add those items using the drawings and the actual fence type.
A zero-length entry returns no run posts in the model; a positive length produces at least one span and two end posts. If your project consists of several disconnected sections, calculate them separately and reconcile shared corner assemblies so you do not double count. The final construction plan should set exact spacing and assembly details.
Worked examples
A 96-foot run with a fractional maximum
Inputs: Straight run = 96 ft; maximum spacing = 8.5 ft.
Calculation: Spans = ceil(96 ÷ 8.5) = ceil(11.2941…) = 12. Posts = 12 + 1 = 13. Average span = 96 ÷ 12 = 8 ft.
Plan for 12 equal bays and 13 posts along this straight run; corners, gates, and braces are separate.
A longer run that needs thirteen bays
Inputs: Straight run = 155 ft; maximum spacing = 12 ft.
Calculation: Spans = ceil(155 ÷ 12) = ceil(12.9167…) = 13. Posts = 13 + 1 = 14. Average span = 155 ÷ 13 ≈ 11.923 ft.
Fourteen end-and-line positions create an average bay of about 11.92 ft, below the 12 ft maximum.