Four lines that make a fence price: material, height, terrain, gates
A fence price is a base rate per linear foot set by the material at 6 ft high, multiplied by a height factor and a terrain factor, plus gates and removal, then multiplied by a region factor:
base rate per linear foot at 6 ft ($) = $17.50 chain-link · $32.50 wood privacy · $27.50 vinyl · $27.50 aluminum · $52.50 composite · $65.00 wrought iron
total ($) = (length (ft) × base rate × height factor (×0.85 4 ft · ×1.00 6 ft · ×1.25 8 ft) × terrain factor (×1.00 flat · ×1.15 sloped · ×1.35 rocky) + gates × $300.00 + removal $5.00 a foot) × region factor (×0.90 low-cost · ×1.00 average · ×1.10 high-cost)posts = length ÷ 8 ft, rounded up, plus one end postThe same formula is behind the table above, so every row can be rebuilt by hand. The worked example is 150 ft of 6 ft wood privacy fence on flat ground, one gate, no removal, average region: 150 × $32.50 × 1.00 × 1.00 is $4,875.00 for the run, plus 1 gate at $300.00, which is $5,175.00 — $34.50 a linear foot, with 20 posts at 8 ft spacing.
Worked example, checked against the published calculators
Four published 2026 fence installation price guides bracket the worked example rather than matching it to the dollar, because no two guides use the same per-foot rate — and the bracket is the honest check. FenceReport's calculator puts a 150 ft wood privacy fence at 6 ft at about $4,188 typical for the fence run — about $25.83 a foot — plus about $313 for a walk gate, about $4,501 all-in, inside a $1,550 to $8,100 range; this page's run is $4,875.00 and its all-in total $5,175.00, higher than their typical but inside their range. BenchCalcs puts chain-link at $10 to $25 a foot, wood privacy at $20 to $45, composite at $35 to $70 and wrought iron at $30 to $100, with gates at $150 to $600 each, removal at $3 to $10 a foot, height factors from 0.75 to 1.25 and terrain factors of 1.0 flat, 1.15 sloped and 1.35 rocky — this page's $17.50, $32.50, $52.50 and $65.00 sit inside all four bands, its $300.00 gate and $5.00 a foot removal sit inside theirs, and its height and terrain factors match. CalculatorZilo prices the same 150 ft wood fence at $30 a foot with a $400 gate at $7,350.00 installed, on a materials-plus-50%-labour model — this page's $5,175.00 sits below it, and the gap is the labour model, not the material. Fixr puts the national average at $4,500, typically $3,000 to $7,000, for 200 linear feet of 4-foot cedar picket with a gate — this page's 200 ft wood fence at 4 ft with one gate is $5,825.00, inside it. The table rows show the model's edges: a sloped vinyl fence with two gates and removal is $7,925.00, a rocky composite fence at 8 ft in a high-cost region is $14,947.97, and a wrought iron fence in a low-cost region is $7,020.00.
How to read your result, and its limits
Four cautions keep the number honest. First, the per-foot rate carries everything: posts, rails, panels or mesh, concrete and hardware are inside the rate, and so is the labour — CalculatorZilo's rule is that labour is 50% of the materials subtotal, so a materials-only price for the worked example's run is roughly $3,250.00 against the $4,875.00 installed run, and the two are not comparable. Second, height is the multiplier: the same 150 ft wood fence is $4,443.75 at 4 ft, $5,175.00 at 6 ft and $6,393.75 at 8 ft — a quote that names the material but not the height is not comparable with another quote. Third, terrain and removal are the swing: rocky ground adds 35% — the worked example on rocky ground is $6,881.25 — and removing the old fence adds $5.00 a foot, $750.00 on 150 ft, taking the worked example to $5,925.00. Fourth, the rate is national: BenchCalcs' region tiers run ×0.90 to ×1.10, and no guide publishes a regional table, so a high-cost region turns the worked example from $5,175.00 into $5,692.50 — get two or three written estimates from licensed local fence contractors before trusting any total. The posts are worth counting before you order — the fence calculator prices the materials from the same length, and the concrete calculator prices the mix for setting the posts.
Common mistakes
- Comparing a materials-only price with an installed price. The worked example's run is $4,875.00 installed and roughly $3,250.00 in materials alone on CalculatorZilo's 50% labour rule — a materials-only quote looks cheaper by $1,625.00 because it leaves the labour out.
- Forgetting the gates. Each gate is $300.00 — the vinyl example's two gates are $600.00 of its $7,925.00, and a quote that prices the run but not the gates understates the job by $300.00 a gate.
- Counting the house in the length. The length is fence run only, minus the width of the house where the fence ties in — a 150 ft yard with a 40 ft house frontage needs about 110 ft of fence, not 150 ft, and pricing the full 150 ft overstates the job by roughly $1,300.00.
- Forgetting the removal. Old fence removal is $5.00 a foot — $750.00 on 150 ft — so the worked example with removal is $5,925.00, not $5,175.00, and a quote that omits it understates the job by that much.
- Treating the region factor as exact. Location swings costs by about 20% on BenchCalcs' tiers, and this page's ×0.90 to ×1.10 is a planning proxy — the worked example is $4,657.50 in a low-cost region and $5,692.50 in a high-cost one, and only local bids settle the real number.
Related tools: Lawn Care Cost Calculator — What does lawn care cost for the year? Lawn size, mowing rate, season length, fertilizer, aeration and seeding — per mow and per year.
Frequently asked questions
How much does a fence cost per foot?
BenchCalcs puts installed chain-link at $10 to $25 a linear foot, wood privacy at $20 to $45, composite at $35 to $70 and wrought iron at $30 to $100. This page uses $17.50, $32.50, $52.50 and $65.00 — inside all four bands — and the worked example comes to $34.50 a linear foot all-in with a gate.
How much does a 150 ft wood fence cost?
FenceReport's calculator puts a 150 ft wood privacy fence at 6 ft at about $4,188 typical for the fence run, plus about $313 for a walk gate — about $4,501 all-in. On this page the run is $4,875.00 and the total with one gate is $5,175.00, inside FenceReport's $1,550 to $8,100 range and inside BenchCalcs' $20 to $45 a foot band.
How many posts do I need for a fence?
Posts go at 8 ft spacing, one more than the number of panels: posts = length ÷ 8, rounded up, plus one end post. A 150 ft fence needs 20 posts, a 100 ft fence needs 14 and a 200 ft fence needs 26 — corners and gate posts add to this on a real layout.
How much does it cost to remove an old fence?
HomeAdvisor puts old fence removal at $3 to $5 a linear foot and BenchCalcs at $3 to $10. This page uses $5.00 a foot: removal adds $750.00 to the 150 ft worked example, taking it from $5,175.00 to $5,925.00.

