★ CONSTRUCTION · FENCING

Fence Cost Calculator: Price Per Foot & Install 2026

A 150 ft fence costs $4,750.00 installed. The fence run is 150 ft at $30.00 a foot, which is $4,500.00, plus 1 gate at $250.00, which is $250.00. That is $31.67/ft all-in. Enter your fence length and prices to cost any fence, or work out how much fence a budget buys.

748

Fence cost — fence run and gates

A fence has two costs: the fence run and the gates. The run is the fence length times the cost per linear foot, and the cost per foot covers the posts, the panels or pickets, and the labour to put them in. The gates are priced each, and a gate costs far more than a foot of fence, because it has the frame, the hinges, the latch and the fitting. This calculator prices the run, prices the gates, and adds them — so the number you get is the number you pay at the till.

The length of the fence in feet. Measure along the boundary where the fence will go; a typical back garden is 100 to 200 feet. The default is 150 feet.

What the fence costs per linear foot, installed, including posts, panels and labour. Wood privacy is about $30 a foot, vinyl about $45, and materials-only DIY about $18. The default is $30.

How many gates the fence needs. Most gardens need one gate; a garden with a front and a back entrance needs two. The default is 1.

What one gate costs, installed, including the frame, hinges, latch and fitting. A standard wood gate is about $250. The default is $250.

Your fence budget in dollars. The calculator works out how many feet of fence the budget buys, after the gates. The default is $5,000.

Total fence cost$4,750.00150 ft at $30.00/ft = $4,500.00 + 1 gate at $250.00 = $4,750.00. That is $31.67/ft all-in. A $5,000 budget buys 158.33 ft of fence.

Fence run: $4,500.00

Gates total: $250.00

Total cost: $4,750.00

Cost per foot all-in: $31.67/ft

Cost per foot (run only): $30.00/ft

100 ft fence: $3,250.00

Vinyl $45/ft: $7,000.00

2 gates: $5,000.00

DIY $18/ft: $2,950.00

$5,000 budget buys: 158.33 ft

$6,000 budget buys: 191.67 ft

A 150 ft fence costs $4,750.00 installed. The fence run is 150 ft at $30.00 a foot, which is $4,500.00, plus 1 gate at $250.00, which is $250.00. On a $5,000 budget you could buy 158.33 ft of fence, which covers the 150 ft fence with 8.33 ft to spare.

100 ft fence: run $3,000.00 + gates $250.00 = $3,250.00.

Vinyl $45/ft: run $6,750.00 + gates $250.00 = $7,000.00.

2 gates: run $4,500.00 + gates $500.00 = $5,000.00.

DIY $18/ft: run $2,700.00 + gates $250.00 = $2,950.00.

Reverse: $5,000 budget − $250 gate = $4,750 ÷ $30.00/ft = 158.33 ft; $6,000 budget − $250 = $5,750 ÷ $30.00/ft = 191.67 ft.

How fence cost is worked out

A fence is priced by the linear foot, but a fence job is priced by the run plus the gates. The run is the fence length times the cost per linear foot, and the cost per foot covers the posts, the panels or pickets, and the labour to put them in. The gates are priced each: a gate costs far more than a foot of fence, because it has the frame, the hinges, the latch and the fitting. The total is the run plus the gates, and the all-in cost per foot is the total divided by the fence length — which is always higher than the per-foot rate, because the gate is spread over the run.

At the defaults — a 150 ft fence, $30.00 a foot for wood privacy installed, 1 gate at $250.00 — the fence run is 150 × $30.00 = $4,500.00, the gates cost 1 × $250.00 = $250.00, and the total is $4,750.00 — which is $4,750.00 ÷ 150 = $31.67/ft all-in.

FenceRunGatesTotalAll-in /ft
150 ft, $30/ft, 1 gate (default)$4,500.00$250.00$4,750.00$31.67/ft
100 ft, $30/ft, 1 gate$3,000.00$250.00$3,250.00$32.50/ft
150 ft, vinyl $45/ft, 1 gate$6,750.00$250.00$7,000.00$46.67/ft
150 ft, $30/ft, 2 gates$4,500.00$500.00$5,000.00$33.33/ft
150 ft, DIY $18/ft, 1 gate$2,700.00$250.00$2,950.00$19.67/ft

The worked example, line by line

Setup: a 150 ft fence, $30.00/ft wood privacy installed, 1 gate at $250.00.

Line 1 — the fence run. 150 × $30.00 = $4,500.00.

Line 2 — the gates. 1 × $250.00 = $250.00.

Line 3 — the total. $4,500.00 + $250.00 = $4,750.00.

Line 4 — the all-in cost per foot. $4,750.00 ÷ 150 = $31.67/ft.

Line 5 — the budget check. A $5,000 budget minus the $250 gate leaves $4,750, and $4,750 ÷ $30.00 = 158.33 ft of fence.

Every branch, checked

100 ft fence: the run is 100 × $30.00 = $3,000.00 and the gate is $250.00, so the total is $3,250.00. A shorter fence costs $1,500 less than the default, and the gate is a bigger share of the total: $250 of $3,250 is nearly 8%.

Vinyl at $45/ft: the run rises to 150 × $45.00 = $6,750.00, so the total is $7,000.00. Vinyl costs $2,250 more than wood privacy on this fence — and vinyl needs no painting, so the extra money is paid once, not every few years.

2 gates: the run stays at $4,500.00, but the gates cost 2 × $250.00 = $500.00, so the total is $5,000.00. A second gate adds $250 — the same as 8.33 ft of fence — so think twice before adding a gate you do not need.

DIY materials-only at $18/ft: the run falls to 150 × $18.00 = $2,700.00, so the total is $2,950.00. Doing it yourself saves $1,800 on this fence — but the gate still costs $250, because a gate is mostly fitting, and the fitting is the same whether you do it or a fencer does.

Reverse — the $5,000 budget: the gate takes $250 of the budget, leaving $4,750, and $4,750 ÷ $30.00 = 158.33 ft of fence — which covers the 150 ft fence with 8.33 ft to spare. A $6,000 budget buys 191.67 ft, which is 41.67 ft more than the default fence.

What the defaults assume

The model assumes a straight fence on flat ground: a slope, a corner, or a fence that follows a curve changes the length, because the fence is longer than the boundary line. It assumes $30.00 a foot covers the posts, the panels, and the labour for wood privacy — a taller fence, a fence on a slope, or a fence that needs old posts removed costs more. It assumes the gate costs $250.00 installed, which is right for a standard wood gate but not for a wide double gate or an automatic gate. It assumes the fence length is the boundary length, not the number of panels: panels are 6 or 8 feet long, so a 150 ft fence is 25 six-foot panels or 19 eight-foot panels, and the last panel is cut to fit. Rounding convention: money is rounded to cents and all figures are computed from unrounded values, rounded only for display.

Output · formula · meaning

OutputFormulaWhat it means
Fence runlength × cost per foot$4,500.00.
Gates totalgates × cost per gate$250.00.
Total costrun + gates$4,750.00.
All-in cost per foottotal ÷ length$31.67/ft.
100 ft fencesame modelRun $3,000.00, total $3,250.00.
Vinyl $45/ftsame model, $45/ftRun $6,750.00, total $7,000.00.
2 gatessame model, 2 gatesGates $500.00, total $5,000.00.
DIY $18/ftsame model, $18/ftRun $2,700.00, total $2,950.00.
Reverse: $5,000 budget(budget − gates total) ÷ cost per foot158.33 ft; $6,000 buys 191.67 ft.

Who uses this

  • The homeowner fencing a back garden: they learn a 150 ft fence costs $4,750.00 — $4,500.00 of fence and $250.00 of gate — so they know the exact number before they call the fencer, and they know the gate is the part to haggle over.
  • The landlord fencing a rental: they learn a 100 ft fence costs $3,250.00 — and they learn the gate is nearly 8% of the total on a short fence, so they order one gate, not two.
  • The couple choosing vinyl: vinyl costs $7,000.00 against $4,750.00 for wood — a $2,250 difference on this fence — so they can decide whether never painting again is worth it, fence by fence.
  • The renovator on a $5,000 budget: they learn $5,000 buys 158.33 ft of fence — so they know the 150 ft fence is covered with 8.33 ft to spare before they start.

Accuracy & limitations

The math is exact for the numbers you enter: the run is the length times the cost per foot, the gates are the count times the gate cost, and the total is the sum. What the model cannot do is measure your boundary for you: measure along the line where the fence will go, and for a fence that follows a curve or a slope, measure the fence line, not the straight-line distance. It leaves out the removal of the old fence, the levelling of the ground, the concrete for the posts, and tax — ask the fencer whether the quote includes those. It assumes the cost per foot is right for the whole fence; a taller fence, a fence on a slope, or a fence that needs old posts removed costs more per foot. For the pickets themselves, see fence picket chart; for the concrete for the posts, see concrete calculator.

Cite this calculatorBright Side Kit. “Fence Cost Calculator: Price Per Foot & Install 2026.” brightoolbox.com, 2026. Method: fence run = length × cost per foot; gates total = gates × cost per gate; total = run + gates; all-in cost per foot = total ÷ length; budget buys (budget − gates total) ÷ cost per foot. Defaults: 150 ft, $30.00/ft, 1 gate at $250.00 → run $4,500.00, gates $250.00, total $4,750.00, $31.67/ft all-in; 100 ft → total $3,250.00; vinyl $45/ft → total $7,000.00; 2 gates → total $5,000.00; DIY $18/ft → total $2,950.00; $5,000 budget → 158.33 ft; $6,000 budget → 191.67 ft.Bright Side Kit. "Fence Cost Calculator: Price Per Foot & Install 2026." https://brightoolbox.com/fence-cost-calculator/ Accessed October 24, 2026.
Embed this calculator

Paste this into any web page to embed the live calculator. The “Powered by Bright Side Kit” link below it must stay intact.

Frequently asked questions

How much does it cost to install a 150 ft fence?

$4,750.00. The fence run is 150 ft at $30.00 a foot, which is $4,500.00, plus 1 gate at $250.00, which is $250.00. That is $31.67/ft all-in.

How do you calculate fence cost?

Length times cost per foot, plus the gates. The fence run is 150 × $30.00 = $4,500.00. The gates cost 1 × $250.00 = $250.00. The total is $4,500.00 + $250.00 = $4,750.00, or $31.67/ft all-in.

How much does a fence cost per foot?

$30.00 a foot for wood privacy installed, $31.67/ft all-in with the gate. The per-foot rate covers the posts, the panels and the labour. Vinyl is about $45 a foot, and materials-only DIY is about $18 a foot, which brings this fence to $7,000.00 and $2,950.00 respectively.

How much fence can I get for $5,000?

158.33 ft. The gate takes $250 of the budget, leaving $4,750, and $4,750 ÷ $30.00 = 158.33 ft of fence. That covers the 150 ft fence with 8.33 ft to spare. A $6,000 budget buys 191.67 ft.

How much does a 100 ft fence cost?

$3,250.00. The run is 100 × $30.00 = $3,000.00 and the gate is $250.00, so the total is $3,250.00. That is $32.50/ft all-in — higher than the 150 ft fence, because the $250 gate is spread over fewer feet.

How much does a vinyl fence cost?

$7,000.00 for this fence. Vinyl is about $45 a foot installed, so the run is 150 × $45.00 = $6,750.00, plus the $250 gate. That is $2,250 more than wood privacy, and vinyl needs no painting, so the extra money is paid once, not every few years.

How much does a fence gate cost?

About $250 installed. A standard wood gate costs $250, including the frame, hinges, latch and fitting. A second gate adds another $250, taking this fence from $4,750.00 to $5,000.00 — the same as 8.33 ft of fence.

How much does DIY fencing save?

$1,800 on this fence. Materials-only DIY is about $18 a foot, so the run falls from $4,500.00 to $2,700.00 and the total falls from $4,750.00 to $2,950.00. But the gate still costs $250, because a gate is mostly fitting, and the fitting is the same whether you do it or a fencer does.