How it works
A fence budget splits into three lines: the run, the posts and the gates. The run is the length times a per-foot price for the material you chose. Posts count one for every spacing along the length, plus one for the end. Gates are priced each. The per-foot default is a planning figure for a common wood or chain link fence, not a quote, and the price moves widely with material, height and region, so replace it with a figure from your supplier. Corners, slopes and gates need extra posts in practice, which this estimate does not add.
Formula
total = length × price per foot + posts × price per post + gates × price per gate
Sources
Example
150 ft at 8 ft spacing: posts = round up (150 ÷ 8) + 1 = 20. Cost = 150 × 15 + 20 × 12 + 1 × 150 = 2,250 + 240 + 150 = 2,640, which is 17.60 per foot. Check: 2,250 + 240 + 150 = 2,640.
Frequently asked questions
How many posts do I need?
One for each spacing along the run, plus one at the end. Corners and gate posts are extra.
What does a fence cost per foot?
It depends on material, height and where you live. Enter your supplier price for a real number.
Are gates priced separately?
Yes, each gate, because a gate plus its hardware and posts costs more than the same length of fence.
Is this a quote?
No. It is a planning estimate from the rates you type. Local quotes set the real price.