BuildPriceCalcBuilding calculators
2026 US rates · Updated November 2026

Fence Calculator

A fence quote is only useful if you can check it. Use this fence calculator to get a realistic total cost range and the cost per linear foot for your material and state — plus the full shopping list: posts, rails, pickets or panels, concrete bags and screws, so you can spot what a quote left out.

No signup Answer in under 10 seconds All 50 states
Materials covered6 — wood to aluminum
State pricingAll 50 states
You getRange + shopping list
15-year costIncluded
SignupNone

Your fence

Change anything — the estimate updates instantly.

LIVE
01 Runs, length & height
Total fence length: 100 ft · 1 run

Measure each side along the fence line, not straight across the yard, and add it as its own run. Shared corners are counted once — a corner post where two runs meet is one post, not two. A typical suburban backyard is 120–180 ft in total across 3 runs.

02 Material, terrain & location
What terrain changes

Slope means stepped or racked panels, longer posts on the low side and slower digging. The factor applies to the whole job before the state adjustment. Flat is the worked-example default.

03 Who builds it?
04 Posts & gates
in
in

Concrete is calculated from hole volume (diameter × depth, minus the post), not a fixed bags-per-post guess — a 60 lb bag yields about 0.45 cu ft. Depth defaults to one third of the fence height; go deeper where your frost line requires it, and allow about 2 in of gravel under the post.

gates
gates

Gates are priced by type, not one flat rate: a walk gate is a single pedestrian leaf; a double drive gate is two leaves wide enough for a vehicle, with heavier posts, hinges and a drop rod. Both prices include posts, frame, hinges and latch and are editable below.

Adjust the prices (2026 defaults)

Got a local quote? Type its per-linear-foot rates in here and the whole estimate — including the 15-year cost — follows your numbers, not ours. Defaults: walk gate $275, double drive gate $605 (about 2.2× the walk gate, for two leaves, heavier posts and vehicle hardware).

Estimated total · 100 ft · 6 ft pressure-treated wood · pro build
$0 – $0
A range, not a single number — real quotes vary by contractor, soil, slope and lumber prices. Budget for the middle, be pleased if you land low.
Midpoint total
$0
Per linear ft
$0
Fence length
0 ft
If you DIY instead
$0
Where the money goes
Materials $0 Labour $0

Shopping list

What to actually buy · BuildPriceCalc yard ticket
    Estimate · Not a quote

    Estimates use the 2026 benchmark rates in How this calculator works. They are planning numbers, not quotes — lumber prices move, and only a contractor who has walked your fence line can give you a firm price.

    Worked example

    Fence Cost Calculator: How Much Does a 100 ft Fence Cost?

    A typical backyard fence, worked through in full: 100 ft in one run, 6 ft pressure-treated wood privacy, posts every 8 ft, one 4 ft walk gate at $275, flat ground (terrain ×1.00), hired pro, national-average pricing.

    The worked example

    Fence materials (100 LF × $16.00)$1,600
    Labour (100 LF × $13.00)$1,300
    Walk gate, 4 ft single (posts, frame, hardware)$275
    Terrain — flat (×1.00)$0
    Total (midpoint)$3,175

    As a range: roughly $2,794 – $3,747, or about $31.75 per linear foot including the gate. Swap the walk gate for a 10 ft double drive gate at $605 and the total is $3,505 (range $3,084–$4,136). On gentle slope (×1.08) the walk-gate version is $3,429; on moderate slope (×1.15) $3,651; on steep / rocky ground (×1.25) $3,969. The same fence in vinyl lands near $4,675 with a walk gate; built DIY in pine, near $2,025 including tool hire. Run it above with your own state, runs and terrain to see your version.

    Same 100 ft, split into 3 runs

    Run A — 40 ft · 5 sections · 6 posts before sharing40 ft
    Run B — 30 ft · 4 sections · 5 posts before sharing30 ft
    Run C — 30 ft · 4 sections · 5 posts before sharing30 ft
    Shared corners (connected chain: 3 runs − 1 = 2)−2 posts
    Total posts to buy (16 − 2)14 posts

    Cost is unchanged at $3,175 — runs do not change the per-foot price — but the takeoff does: counting each run separately would have you buy 16 posts and 50 bags of concrete; with shared corners counted once it is the same 14 posts and 44 bags as the single run. If the three runs formed a closed loop, shared corners would be 3 and the total would be 13 posts.

    And the shopping list for it

    Posts (4×4, set in concrete, 8 ft spacing)14
    Rails (2×4 × 8 ft, 3 per section × 13 sections)39
    Pickets (1×6, 6 ft — 96 ft of run after the gate)231
    Concrete (60 lb bags — 12 in × 24 in holes, ~3.1 per post)44 bags
    Screws (6 per picket — 2 in each of 3 rails)≈1,386

    Pickets include 10% waste and do subtract the gate: (100 − 4 ft walk gate) ÷ 0.458 ft per picket × 1.10 = 231. With a 10 ft double drive gate instead it would be (100 − 10) ÷ 0.458 × 1.10 = 217 pickets. Rails do not subtract the gate: 13 sections × 3 rails = 39, because the gate leaf is framed from rail stock and the part-section beside the gate still needs its rails. A 6 ft privacy fence always uses 3 rails per section — top, middle and bottom — not 2. Concrete comes from hole volume, not a fixed bags-per-post rule: a 12 in diameter × 24 in deep hole, minus the post, takes about 1.40 cu ft, and at 0.45 cu ft per 60 lb bag that is ~3.1 bags per post × 14 posts = 44 bags. Buy the extra pickets — wood pickets warp, split and arrive with wane, and sorting out the bad 5% at the store is the cheapest quality control there is.

    Compare materials

    Fence Material Calculator: Cost by Material in 2026

    Posts, concrete and labour are roughly the same whatever you face the fence with. What changes the price is the material itself — and how long it lasts. Here is the full picture for a standard 100 ft, 6 ft fence, professionally built, before state adjustment and gates:

    Material comparison — 100 linear ft, 6 ft tall, pro build
    MaterialMaterials $/LFLabour $/LFTotal for 100 ftLifespanCost per year
    Chain-link$9.00$9.00$1,800~20 yrs$90
    Pressure-treated pine$16.00$13.00$2,900~15 yrs$193
    Cedar$21.00$14.00$3,500~20 yrs$175
    Vinyl (PVC) privacy$28.00$16.00$4,400~30 yrs$147
    Composite$34.00$17.00$5,100~25 yrs$204
    Aluminum ornamental$38.00$18.00$5,600~30 yrs$187

    Fence line only, flat ground — gates, terrain, old-fence removal, permits and surveys are extra, and the calculator above adds gates, terrain and removal. Add $275 per walk gate (4 ft) or $605 per double drive gate (10 ft), then apply terrain: gentle slope ×1.08, moderate ×1.15, steep / rocky ×1.25. The surprise in this table: chain-link is cheapest per year by a wide margin, and vinyl beats pressure-treated pine per year despite costing $1,500 more on day one — because it lasts twice as long.

    Live from your calculator

    Fence Cost by Length

    These figures follow the calculator: pressure-treated pine, 6 ft, hired pro, national-average pricing, fence line only, no gates, flat terrain, each length as a single run. Change the material, height, state, terrain or DIY setting above and this table updates with it — terrain multiplies every total in the table.

    Estimated cost by fence length
    Fence lengthMaterialsLabourTotalPer linear ftPosts needed

    Longer runs usually cost a little less per foot in real life — the crew, auger and delivery are already on site. This table keeps the rate flat so you can compare lengths fairly; treat the longest runs as slight overestimates.

    Know the levers

    What Drives Fence Cost?

    Two 100 ft fences can differ by $3,000. These are the levers, in the order they usually bite:

    • ×3 rangeMaterial

      Chain-link at about $18/LF installed versus aluminum near $56/LF. Material choice alone can triple the same fence line.

    • ±45%DIY vs hiring a pro

      Labour is typically 40–50% of a pro quote. Building it yourself removes most of that — and adds post-hole digging, which is the hardest physical work in the whole job.

    • +30%Going from 6 ft to 8 ft

      Taller fences need longer pickets or panels, longer posts set deeper, and a fourth rail (a 6 ft privacy fence already uses three) — and many cities cap backyard fences at 6 ft without a variance. Check before you fall in love with 8 ft.

    • ±28%Where you live

      Labour rates in coastal California and the Northeast run roughly 25–30% above the national average; much of the Southeast and Midwest runs 5–10% below. That is why this calculator asks for your state.

    • $275 / $605Each gate — priced by type

      A walk gate (single, 4 ft) is $275 fitted; a double drive gate (10 ft, two leaves for vehicles) is $605 fitted. A gate is a small fence that has to swing, latch and not sag — posts set deeper, heavier hardware, diagonal bracing, and a drop rod on the drive gate.

    • ×1.08–1.25Slope, soil and access — the terrain factor

      Flat ×1.00, gentle slope ×1.08, moderate slope (stepped) ×1.15, steep / rocky / tight access ×1.25. Sloped yards need stepped or racked panels and more digging. Rocky soil or old concrete footings in the post line slow everything down — this is where "cheap" quotes quietly grow.

    • Shared postHow the runs join

      Every extra run rounds its sections up separately, but a corner where two runs meet is one shared post, not two. A connected chain of 3 runs shares 2 corners; a closed loop shares one per run. Count corners twice and you over-buy posts and concrete.

    Build it or hire it

    DIY vs Hire a Pro

    DIY — you keep the labour money

    On the 100 ft pine example, DIY drops the bill from about $3,175 to about $1,875 in materials and gate parts — plus roughly $150 to hire a post-hole auger and a dump run. Realistic time for a competent first-timer: 3–4 weekends, with one full weekend just on holes and posts.

    The fence lives or dies on the posts. Set them a third of the fence height deep, below the frost line, in concrete with a crowned top so water sheds. A beautiful picket job on shallow posts is a fence that leans by year three.

    Pro — you buy speed and a straight line

    A two-person crew installs that same 100 ft in 2–3 working days, including setting posts one day and hanging pickets or panels after the concrete cures. You are paying for a straight, level line, posts at the right depth, and someone else hauling the old fence away.

    Get three quotes, expect them to spread by 20–30%, and ask each one the same question: "How deep do you set posts, and is old-fence removal included?" Vague answers are how a cheap quote becomes an expensive fence.

    Don't get caught out

    Hidden Costs Most Calculators Miss

    01

    Survey — $300–$600

    If you don't know exactly where your property line is, a survey is cheaper than moving a fence. Building 6 inches onto a neighbour's land can mean rebuilding the whole run.

    02

    Permit & HOA approval — $50–$400

    Many cities require a permit for fences over a set height, and HOAs often dictate material, colour and which side faces out. Approval first, posts second.

    03

    Old fence removal — $5–$9 / LF

    Panels, posts and old concrete footings all have to go somewhere. The calculator adds removal at $7/LF on a pro build when you tick the box — most calculators pretend the old fence vanishes free.

    04

    Buried surprises in the post line

    Old concrete footings, tree roots and rocks turn a 20-minute hole into an hour. Call 811 before you dig — utility marking is free, and hitting a gas or fibre line is not.

    05

    The "good side" rule

    Many areas require the finished side of the fence to face your neighbour. If you want the pretty side facing your yard too, that's a shadowbox or board-on-board style — more pickets, more money.

    06

    Posts are the fence

    Cheap quotes save money where you can't see it: shallow posts, no concrete, posts spaced too far apart. Ask for post depth in writing — it's the single best predictor of whether the fence is standing straight in ten years.

    The long view

    Wood Fence Calculator: Wood vs Vinyl 15-Year Cost

    Pressure-treated pine wins on day one and charges you rent every few years after: staining or sealing every 2–3 years, plus warped pickets and the occasional post. Vinyl, aluminum and composite mostly need a wash. For a 100 ft, 6 ft fence, pro build, fence line only:

    Build cost 15 years of maintenance

    Maintenance assumptions over 15 years, per linear foot: pine — $18 (five stain-and-seal cycles plus picket swaps), cedar — $15, vinyl — $3 (washing), composite — $3, aluminum — $2, chain-link — $2. By year 15, pine's $1,500 day-one saving over vinyl has shrunk to roughly nothing — and the vinyl fence still has half its life left.

    Open maths, no black box

    How This Fence Calculator Works

    No black box. Every number above comes from these formulas, with the 2026 benchmark rates shown — and you can override any of them in the calculator.

    total length = sum of all runs # Run A + Run B + … · default: one 100 ft run materials = total length × material rate × height factor # 4 ft ×0.82 · 5 ft ×0.92 · 6 ft ×1.00 · 8 ft ×1.30 labour = total length × labour rate × height factor # $0 if DIY gates = walk gates × $275 + double drive gates × $605 # priced by type · both editable · walk 4 ft · drive 10 ft removal = total length × $7 # pro · $3/LF disposal only if DIY terrain = (materials + labour + gates + removal) × terrain factor # flat ×1.00 · gentle slope ×1.08 · moderate / stepped ×1.15 · steep / rocky ×1.25 total = terrain-adjusted subtotal × state index range = total × 0.88 to total × 1.18 sections = sum over runs of ceil(run length ÷ post spacing) posts = sum over runs of (sections per run + 1) − shared corners # shared: chain = runs − 1 · closed loop = runs · separate = 0 · gate posts included rails = total sections × rails per section # 4 ft ×2 · 6 ft ×3 · 8 ft ×4 · full run, gate NOT subtracted concrete = posts × (hole volume − post volume) ÷ 0.45 cu ft per 60 lb bag # hole volume = π × (diameter ÷ 2)² × depth · defaults 12 in × 24 in ≈ 3.1 bags/post pickets = ceil( (total length − gate width) ÷ 0.458 ft × 1.10 ) # gate width IS subtracted · walk 4 ft · drive 10 ft · 1×6 picket, 10% waste · wood only panels = ceil( (total length − gate width) ÷ 6 ft ) # gate width IS subtracted · vinyl / aluminum / composite screws = pickets × rails per section × 2 per-run cost = total × (run length ÷ total length) # breakdown in the results panel, by length share

    Gates, stated plainly: gate width is subtracted from pickets and panels, because no pickets or panels go in a gate opening. Gate width is not subtracted from rails or posts — the gate leaf itself is framed from rail stock, the part-section beside the gate still needs its rails, and every gate opening still needs a post on each side. Concrete is never a flat bags-per-post figure here: change the hole diameter or depth inputs and the bag count follows the hole volume.

    Runs and corners, stated plainly: each run rounds its own sections up, so splitting a fence into runs can add a section compared with one long run. Corners where runs meet are then counted once: subtract 1 post per shared corner (runs − 1 for a connected chain, runs for a closed loop, 0 for separate runs).

    Benchmark rates were cross-checked against published 2026 US fence pricing from contractor calculators and cost guides in November 2026, then rounded — treat them as national planning figures. State indexes reflect relative regional labour and material costs. Lumber is a commodity: if prices spike, edit the rates in the calculator rather than trusting any website, including this one. Full sources and assumptions are in the table below, reviewed 26 November 2026.

    Sources & assumptions

    Sources & Assumptions — Reviewed 26 November 2026

    Every rate and rule the calculator uses, in one place, with the basis for it. All figures on this page were last reviewed on 26 November 2026 against the sources below. If a local quote disagrees, the quote that has walked your fence line wins — edit the prices in the calculator to match it.

    Assumptions used by this calculator — reviewed 26 November 2026
    ItemValue usedSource / basisReviewed
    Material rates (materials / labour, per LF at 6 ft)Chain-link $9 / $9 · PT pine $16 / $13 · Cedar $21 / $14 · Vinyl $28 / $16 · Composite $34 / $17 · Aluminum $38 / $18BuildPriceCalc 2026 US national benchmarks, cross-checked against published 2026 contractor and cost-guide fence pricing, rounded26 Nov 2026
    Height factors4 ft ×0.82 · 5 ft ×0.92 · 6 ft ×1.00 · 8 ft ×1.30Longer pickets / panels and posts, deeper holes and a 4th rail at 8 ft; 2 rails at 4 ft, 3 at 6 ft, 4 at 8 ft26 Nov 2026
    Walk gate (single, 4 ft)$275 each, fittedGate leaf, 2 posts, hinges and latch at 2026 national pricing; editable in the calculator26 Nov 2026
    Double drive gate (10 ft)$605 each, fittedAbout 2.2× the walk gate — two leaves, heavier posts / hinges and a drop rod for vehicle access; editable26 Nov 2026
    Terrain factorFlat ×1.00 · Gentle slope ×1.08 · Moderate / stepped ×1.15 · Steep / rocky ×1.25Stepped or racked panels, longer low-side posts and slower digging on slope / rock; applied to the whole job before the state index26 Nov 2026
    Multi-run / shared cornersPosts = Σ(sections per run + 1) − shared cornersChain: shared = runs − 1 · Closed loop: shared = runs · Separate: 0. Example 40 + 30 + 30 ft = 16 − 2 = 14 posts26 Nov 2026
    Post spacing & rails8 ft standard, 6 ft option · Rails 2 / 3 / 4 per section by heightStandard residential practice; 6 ft spacing for wind, slope and 8 ft fences; 6 ft privacy always 3 rails26 Nov 2026
    Pickets & waste1×6 picket = 0.458 ft cover · +10% waste · Gate width subtracted5.5 in actual picket width; waste covers warps, splits and wane. Panels: 6 ft wide, same gate rule26 Nov 2026
    ConcreteHole volume − post volume · 0.45 cu ft per 60 lb bag · Default hole 12 in × 24 in ≈ 3.1 bags/postCylinder volume maths; 60 lb bag yield per manufacturer data; depth defaults to ⅓ of fence height, frost line may require deeper26 Nov 2026
    State index×0.89 (MS) to ×1.30 (HI) · National average ×1.00Relative regional labour and material costs across all 50 states26 Nov 2026
    Removal & DIYRemoval $7/LF pro, $3/LF DIY disposal · DIY tool hire $150 flatTear-out and haul-away at 2026 pricing; auger hire plus a dump run for DIY builds26 Nov 2026
    Lifespan & 15-year maintenance (per LF)Pine ~15 yrs / $18 · Cedar ~20 / $15 · Vinyl ~30 / $3 · Composite ~25 / $3 · Aluminum ~30 / $2 · Chain-link ~20 / $2Stain-and-seal every 2–3 years for wood; washing only for vinyl / composite / metal. Used in the 15-year comparison only26 Nov 2026
    Estimate rangeMidpoint ×0.88 to ×1.18Typical spread between competing local quotes for the same fence line (20–30% quote-to-quote)26 Nov 2026

    Sources are planning benchmarks, not a quote for your yard. Lumber and vinyl are commodity-priced and move during the year — that is why every price in the calculator is editable.

    Common questions

    FAQ

    How much does a 100 ft fence cost?

    This fence calculator puts a professionally built 100 ft fence at 6 ft tall, fence line only, at about $1,800 for chain-link, $2,900 for pressure-treated wood, $3,500 for cedar, $4,400 for vinyl, $5,100 for composite and $5,600 for aluminum — before gates and state differences. Add $275 for a single walk gate (4 ft) or $605 for a double drive gate (10 ft). On flat ground the worked example — 100 ft, 6 ft pressure-treated wood, one walk gate, pro build — totals $3,175 ($2,794–$3,747), or $31.75 per linear foot.

    How does the calculator handle multiple fence runs and shared corners?

    Add each side as its own run and the calculator adds the lengths together. Posts are worked out per run — sections = ceil(run length ÷ spacing), posts per run = sections + 1 — then shared corner posts are counted once, not twice. Example: 40 ft + 30 ft + 30 ft at 8 ft spacing is 5 + 4 + 4 = 13 sections. Counted separately that is 6 + 5 + 5 = 16 posts; with 2 shared corners in a connected chain it is 16 − 2 = 14 posts, the same as a single 100 ft run. A closed loop subtracts one shared corner per run. The results show a per-run breakdown of length, sections, posts and cost share.

    How does slope or terrain change fence cost?

    Terrain is a multiplier on the whole job before the state adjustment: flat / level ×1.00, gentle slope ×1.08, moderate slope (stepped panels) ×1.15, and steep slope, rocky soil or difficult access ×1.25. On the $3,175 worked example, gentle slope takes the total to $3,429, moderate slope to $3,651 and steep / rocky to $3,969. Sloped ground needs stepped or racked panels, longer posts on the low side and slower digging.

    How much does a fence gate cost?

    Gates are priced by type: a single walk gate (4 ft, pedestrian) is $275 fitted, including its two posts, frame, hinges and latch; a double drive gate (10 ft, two leaves for vehicle access) is $605 fitted. Both prices are editable in the calculator. Gate width is subtracted from pickets and panels — a 100 ft run with one 4 ft walk gate has 96 ft of pickets (231 pickets); with one 10 ft drive gate it has 90 ft (217 pickets) — but not from rails or posts.

    How much does a fence cost per linear foot in 2026?

    This fence calculator uses installed rates at 6 ft of about $18 per linear foot for chain-link, $29 for pressure-treated pine, $35 for cedar, $44 for vinyl privacy, $51 for composite and $56 for aluminum. DIY roughly halves the wood figures because the labour comes out. Your state can move any of these by 10–30%.

    How many fence posts do I need?

    Divide your fence length by the post spacing and add one: a 100 ft fence at 8 ft spacing needs 14 posts; at 6 ft spacing, 18. Use 6 ft spacing on sloped ground, in high wind, or for 8 ft fences. Concrete is worked out from hole size, not a fixed bags-per-post rule: with the calculator defaults — 12 in diameter × 24 in deep holes — each post needs about 3.1 bags (60 lb) on average, so 14 posts need 44 bags in total.

    How many rails does a fence need?

    Rails run horizontally between posts on the back of a wood fence: 2 per section for a 4 ft fence, 3 per section for a 6 ft privacy fence, and 4 per section for an 8 ft fence. A 100 ft fence at 8 ft spacing has 13 sections, so a 6 ft privacy fence needs 13 × 3 = 39 rails. Rails are counted on the full run — gate width is not subtracted — because the gate leaf itself is framed from rail stock and the part-section next to the gate still needs its rails.

    Is gate width subtracted from pickets and rails?

    Pickets and panels: yes. Rails: no. Pickets are counted on the fence line left after gate openings are taken out — a 100 ft run with one 4 ft walk gate has 96 ft of pickets, which is 231 pickets including 10% waste; with one 10 ft double drive gate it has 90 ft of pickets, which is 217 pickets. Rails are counted on the full run (all 13 sections), because the gate leaf is framed from rail stock and the part-section beside the gate still needs rails. Posts are also counted on the full run, because gate openings still need a post on each side.

    How deep should fence posts be?

    The rule of thumb: one third of the post underground — 2 ft for a 6 ft fence — and always below your local frost line, which can mean 3 ft or more in cold states. Gate posts go deeper and get more concrete, because they carry a swinging load. Shallow posts are the number one cause of leaning fences.

    What is the cheapest fence to install?

    Chain-link, by a wide margin — about $18 per linear foot installed and around $90 per year over its 20-year life. If you need privacy on a budget, pressure-treated wood is the cheapest solid fence at about $29/LF, but budget for staining every 2–3 years or it will grey, warp and rot early.

    Do I need a permit or a survey for a new fence?

    Often, yes to one or both. Many cities require a permit above a certain height (commonly 6 ft) and most HOAs must approve material and style. A survey ($300–$600) is worth it whenever the property line isn't certain — a fence built over the line can have to be moved at your cost. And always call 811 for free utility marking before digging post holes.