Fence calculator
Posts, pickets, and concrete from your run length, using published post-spacing and depth rules. Sources on the methodology page.
Post depth and footing requirements are code- and frost-line-dependent. Confirm with your local permit office before setting posts, and call 811 before you dig.