Enter your fence length and material to see the installed price, plus how many posts and sections you need. A 150 ft wood fence runs about $2,250 to $5,250 installed at national prices.
Estimated cost
– to –
How this calculator works
Fence contractors quote by the linear foot, installed. The calculator multiplies your total length by the price per foot, then adds any gate and removal prices you enter from your quote. Sections are the length divided by the post spacing. Posts are one per section plus one to finish the run, plus one for each corner and gate.
How to measure your fence line
Fence contractors price by the linear foot, so the one number that matters most is the total length. Walk the line with a measuring wheel or a long tape:
- Measure each side separately and add them up. Skip any side where the house wall or a neighbor’s fence closes the gap.
- Include gate openings in the total. The calculator prices the fence across the full length and adds each gate on top, so it leans slightly high. If your quote subtracts gate widths, do the same.
- Count corners: every place the fence turns needs its own corner post.
- Count gates: walk gates and drive gates are usually priced on their own line.
- Post spacing: 8 ft is the usual baseline (Homewyse prices posts set in concrete every 8 ft). Choose 6 ft if your panels are 6 ft wide or your installer sets posts closer.
Check your property line before you measure. A survey or your plat map shows where the line actually runs. Ask your town or HOA whether the fence has to sit a set distance inside it.
Fence cost per foot by material
The calculator starts with the national installed prices below. HomeGuide’s 2026 figures run higher for most materials, so check your quote against both. The last column is a 150 ft fence at the calculator’s prices:
| Material | Calculator starting price, per ft | HomeGuide installed, per ft | Lifespan (HomeGuide) | 150 ft at calculator prices |
|---|---|---|---|---|
| Wood | $15 to $35 | $20 to $50 | 15 to 50 years | $2,250 to $5,250 |
| Vinyl | $15 to $40 | $30 to $60 | 20 to 30 years | $2,250 to $6,000 |
| Chain link | $12.25 to $40 | $9 to $30 | 15 to 20 years | $1,840 to $6,000 |
| Aluminum | $15 to $40 | $25 to $75 | 30 to 50 years | $2,250 to $6,000 |
| Composite | $22 to $40 | $20 to $85 | 25 to 30 years | $3,300 to $6,000 |
| Wrought iron | $22 to $40 | $50 to $85 | 50 to 100 years | $3,300 to $6,000 |
| Steel | $15 to $60 | Not listed | Not listed | $2,250 to $9,000 |
| Split rail | $15.50 to $39 | Not listed | Not listed | $2,330 to $5,850 |
Same 150 ft fence line, eight materials
Wood: $2,250 to $5,250
Chain link: $1,840 to $6,000
Split rail: $2,330 to $5,850
Vinyl: $2,250 to $6,000
Aluminum: $2,250 to $6,000
Composite: $3,300 to $6,000
Wrought iron: $3,300 to $6,000
Steel: $2,250 to $9,000
Scale: $0 to $9,000. Installed at the calculator’s starting prices, before gates, removal or local price adjustment.
Price by fence height
The calculator has no height setting, so its starting prices fit a typical backyard fence. For a taller or shorter fence, type a per-foot price from this table into Edit the prices:
| Material | About 4 ft (picket) | 6 ft | 8 ft |
|---|---|---|---|
| Wood | $20 to $40 | $25 to $50 | $50 to $75 |
| Vinyl | $30 to $45 | $40 to $60 | $60 to $85 |
| Chain link | $10 to $20 | $13 to $30 | $20 to $40 |
How many posts and sections you need
Sections are the fence length divided by the post spacing, rounded up. Posts are one per section plus one to finish the run. Add one more post for every corner and gate. For a straight run:
| Fence length | Sections at 8 ft | Posts at 8 ft | Sections at 6 ft | Posts at 6 ft |
|---|---|---|---|---|
| 100 ft | 13 | 14 | 17 | 18 |
| 150 ft | 19 | 20 | 25 | 26 |
| 200 ft | 25 | 26 | 34 | 35 |
| 250 ft | 32 | 33 | 42 | 43 |
| 300 ft | 38 | 39 | 50 | 51 |
What to type in the gate and removal boxes
Gates and tear-out are the two lines most often missing from a per-foot price. If you don’t have a quote yet, these 2025 to 2026 figures are a fair starting point:
| Extra | Typical cost | Source |
|---|---|---|
| Walk gate | From $150; a manual wood gate averages $400 | HomeAdvisor, Angi |
| Vinyl gate, 4 to 6 ft wide | $150 to $780 installed | HomeGuide |
| Old fence removal | $3 to $5 per ft, or $10 to $20 per ft with hauling | Angi, HomeGuide |
| Property survey | $200 to $545 (up to $1,200) | HomeAdvisor, HomeGuide |
| Permit | $20 to $60 (up to $150) | Angi, HomeGuide |
Worked example: 150 ft wood fence with one gate
Worked example: 150 ft of wood fence with 2 corners and 1 gate, replacing an old fence. Sections: 150 ÷ 8 = 18.75, rounded up to 19. Posts: 19 + 1 + 2 corners + 1 gate = 23. Fence: 150 x $15 to $35 = $2,250 to $5,250. Gate: $400 (Angi’s average manual wood gate). Removal: 150 x $4 per ft (middle of Angi’s $3 to $5) = $600. Total: $3,250 to $6,250.
For a full breakdown with permits, surveys and slope work, see our fence installation cost guide.
What pushes fence prices up or down
- Height and style. A 6 ft privacy fence uses far more material than a 4 ft picket fence.
- Material. Wood and chain link cost the least. Composite, wrought iron and steel cost the most.
- Ground. Rocky soil, slopes and tree roots slow down post digging.
- Gates. Each gate adds hardware and labor and is often priced on its own line.
- Permits and HOA rules. Many towns cap fence height and require a permit or a property survey.
Before anyone digs post holes, call 811 a few business days ahead so underground utility lines get marked for free.
Related cost guides
- Fence Installation Cost (2026): per-foot prices by material and height, totals by yard size and extras.
- 6-Foot Privacy Fence Cost Per Foot: 2026 prices by material and style for 100 to 300 feet.
- Concrete calculator: cubic yards, bags and ready-mix cost for slabs and footings.
Where the prices come from
The starting prices are U.S. national installed ranges from 2025 and 2026 cost guides. Open Edit the prices in the calculator to replace any of them with the numbers from your own quote.
- Fixr: fence installation cost per linear foot (installed)
- NerdWallet: cost to install a fence in 2026 (split rail)
Other sources used on this page:
- Angi: fence installation cost, Aug 2026
- HomeGuide: fence installation cost and lifespans, Feb 2026
- HomeGuide: wood fence cost by height, Dec 2025
- HomeGuide: vinyl fence and gate cost, Dec 2025
- HomeGuide: chain-link fence cost by height, Aug 2025
- HomeAdvisor: cost to install a fence, Jun 2026
- Homewyse: wood privacy fence cost and post spacing, Sep 2026
Common questions
How many fence posts do I need?
Divide the fence length by the post spacing (usually 8 ft) and round up, add one post to finish the run, then add one for every corner and gate. A straight 96 ft run with 8 ft spacing needs 13 posts.
Why is my quote different from the calculator?
Local labor rates, fence height, style and site conditions all move the price. Put your quote’s price per foot into Edit the prices to compare materials on the same terms.
Do I need a permit for a fence?
Often, yes, especially for tall fences or fences in a front yard. Check with your city or county, and your HOA if you have one, before you build.
How much does 100 feet of fence cost?
At the calculator’s starting prices, 100 ft runs $1,500 to $3,500 in wood, $1,500 to $4,000 in vinyl and $1,230 to $4,000 in chain link, before gates and removal. A 6 ft privacy fence usually costs more; see the height table above.
Does the calculator include gates and removal?
Only if you type in a price. Enter your gate price and removal price per foot from your quote, or use the typical figures in the table above, and the calculator adds them to the total.