Methodology
Formula & assumptions
Panelled run
total run − gate opening
Removes the entered total gate width.
Spacing bays
ceiling(panelled run ÷ max spacing)
Keeps actual spacing at or below the limit.
Base posts
spacing bays + 1
Straight run needs one more post than bays.
Purchase posts
base posts + extra posts
Adds a configurable reserve/special-post count.