Fence Cost Calculator
Estimate the cost of installing a new fence based on length, height, material, and your ZIP code.
Used for local labor rates
Adds $4/ft removal cost
Your Estimate
Sources & Methodology
Data updated July 2026Every estimate on this page blends three data sources, then adjusts for your ZIP code.
- Material & project baselines — curated from HomeAdvisor / Angi True Cost Guide, Fixr, and Remodeling Magazine's Cost vs. Value Report. Reviewed quarterly.
- Labor rates — U.S. Bureau of Labor Statistics Occupational Employment and Wage Statistics (May 2024 release), by trade, with standard contractor markup.
- Regional multiplier — ZIP3-based, derived from BLS metro wage differentials and materials-cost indices. Ranges roughly 0.82× (lowest-cost rural markets) to 1.55× (highest-cost coastal metros).
Estimates are for planning only; real contractor bids for the same scope typically spread 15–30%. Read our full methodology for the exact formula, contingency guidance, and what's not included.
How much does a fence cost to install?
Fence installation in 2025 typically runs $18–$60 per linear foot installed, driven mostly by material and gate count. A basic 150-foot chain-link fence is roughly $2,700–$4,500, while a 150-foot cedar privacy fence runs $5,200–$8,500, and vinyl privacy is $6,000–$10,500. Ornamental aluminum or wrought iron pushes $45–$85/lf. Our calculator estimates fence cost by linear footage, material, height, number of gates, and ZIP-adjusted labor.
Material comparison
- Chain-link — $18–$35/lf. Cheapest, best for containment (dogs, pool code), minimal privacy. Galvanized lasts 20+ years, vinyl-coated 15+.
- Pressure-treated wood — $25–$40/lf. Most common. Needs staining every 2–3 years, lasts 15–20 years.
- Cedar or redwood — $35–$55/lf. Naturally rot-resistant, warmer look, silvers gracefully if left untreated.
- Vinyl — $40–$60/lf. No maintenance, 25+ year warranties, higher up-front cost.
- Aluminum ornamental — $35–$60/lf. Rust-proof, best for slopes (adjustable rackable panels).
- Steel/wrought iron — $50–$85/lf. Premium look, heaviest, usually powder-coated.
- Composite (Trex Seclusions) — $55–$80/lf. Wood-and-plastic panels; the most premium privacy option short of masonry.
What the cost includes
- Posts and hardware — 25–35% of material. Steel or heavy wood posts, brackets, hinges, latches, post caps.
- Panels or pickets — 40–55% of material.
- Gates — $250–$1,500 each. A single 4' walk gate is the cheap end; a double 12' drive gate with hardware is $1,200–$3,000.
- Labor — 25–40% of total. Digging post holes, setting posts in concrete, panel install, gate hanging.
- Concrete for post footings. Roughly one 60-lb bag per post; adds ~$1–$2/lf.
- Permit and property survey. Permits $50–$400 depending on jurisdiction; a survey is $400–$900 if lot lines aren't marked.
How to use the calculator
Enter total linear feet of fence, choose the material and height (4', 5', 6', or 8'), add gate count, and enter your ZIP. The estimate covers material, labor, and typical hardware. If your ground is sloped, rocky, or has utility lines, add a 10–20% contingency — hand-digging or step-fencing adds time.
Wood fence details that matter
Not all "cedar privacy fences" are equal. Ask any bidder:
- Post material — Pressure-treated 4×4 minimum, ideally 6×6 corners. Cedar posts rot at the ground line within 8–12 years.
- Post spacing — 8' on center is standard; 6' costs more but is much stiffer.
- Picket thickness — Nominal 5/8" pickets are common; 3/4" or full 1" pickets last significantly longer.
- Rail count — 2 rails is the cheap standard; 3 rails on a 6' fence prevents warping.
- Fasteners — Hot-dip galvanized or stainless nails or screws only; electroplated fasteners bleed rust in 2–3 years.
Vinyl fence quality tiers
Vinyl varies more than most homeowners realize. Cheap vinyl is thin (0.100" wall), yellows in sun, and cracks in cold. Quality vinyl (Bufftech, Certainteed, Illusions) is 0.135–0.150" wall, UV-inhibited, and warranted 25–30 years. Expect a $10–$15/lf gap between the two — and the cheap stuff is the top complaint we see in reviews.
Property line and permits
Before you dig, do three things:
- Call 811. Free utility marking; missing it and hitting a gas line is a $2,000+ mistake.
- Confirm the property line. A survey costs $400–$900 and prevents the worst neighbor disputes and forced fence removal.
- Check HOA and municipal rules. Height limits are usually 6' in back, 4' in front. Corner lots often have sight-line triangle rules.
Gate placement and hardware
Gates fail before fences do — always. Two rules save headaches:
- Use heavy hinges rated for the gate weight. Cheap decorative hinges sag within a season.
- Set gate posts in bigger footings. Gate posts take side load; use 12"-diameter footings 36"–42" deep, not the 8" footings used on line posts.
Saving money without sacrificing quality
- Skip decorative post caps on chain-link and utility runs. They add cost and break first.
- Use pressure-treated pine for the framing, cedar for the pickets. All-cedar looks great but cedar posts rot fastest.
- Do the gate yourself. If the contractor sets the posts, hanging a pre-built gate is a 90-minute DIY job.
- Coordinate with neighbors. Splitting the cost on a shared line fence is legal in most states if both parties agree in writing.
- Time the install for late fall or winter. Fence installers are slow after Thanksgiving through February; 5–10% off is common.
Regional notes
Frost-line depth drives post-hole cost — footings go 48" in Minnesota vs. 12" in Georgia. Rocky terrain (New England, Colorado foothills) may require augering or mini-excavator time; add 15–25%. High-wind coastal zones need denser post spacing or aluminum instead of wood.
After installation
- Register warranty within 30 days for vinyl and composite
- Reseal wood pickets year 1, then every 2–3 years
- Tighten gate hinges seasonally; sag is the #1 warranty callback
- Trim vines and shrubs 6" back from fence to allow airflow (prevents rot on wood)
Resale considerations
A well-kept privacy fence adds perceived value and speeds sale but rarely returns 100% at close. Chain-link is often seen as neutral or slightly negative in higher-end markets. Ornamental aluminum in front yards is often the highest-ROI fence choice for curb appeal.
Savings Tips
- ✓Get at least 3 quotes from local contractors — prices can vary by 30% or more.
- ✓Install during the off-season (late fall/winter) when contractors offer better rates.
- ✓Handle old fence removal yourself to save $4/ft or more.
- ✓Choose pressure-treated pine over cedar for budget builds — it lasts 15–20 years with proper staining.
Typical Tools & Materials
Informational reference only. Prices are typical retail ranges and may vary by region and retailer.
Post Hole Digger
Manual post hole digger for setting fence posts.
Concrete Mix (50 lb)
Fast-setting concrete mix for fence post installation.
Cordless Impact Driver Kit
For driving screws into fence panels quickly.
Frequently Asked Questions
Compare your options
Side-by-side cost breakdowns for the most common decisions.
Cost by state
See regional pricing for fence cost calculator in your state.
You may also like
Concrete Slab Cost Calculator
Estimate the cost of a poured concrete slab for patios, driveways, or garage floors.
Gutter Installation Cost Calculator
Estimate gutter installation cost by linear footage, material, downspouts, and gutter guards.
Deck Cost Calculator
Estimate the cost to build a new deck by size, material, and region.
Window Replacement Cost Calculator
Estimate window replacement cost based on number of windows, frame material, size, and installation labor.
Flooring Installation Cost Calculator
Estimate the cost of new flooring by material, room size, and region.
Interior Paint Cost Calculator
Estimate the cost to paint interior rooms by wall area, paint grade, and coats.
Driveway Paving Cost Calculator
Estimate the cost to install a new driveway based on dimensions, material (concrete, asphalt, pavers, gravel), and removal of the existing surface.
Roof Replacement Cost Calculator
Estimate a full roof replacement by size, material, pitch, and tear-off.
Bathroom Remodel Cost Calculator
Estimate your bathroom remodel cost based on size, finish quality, and whether the layout changes.
Kitchen Remodel Cost Calculator
Estimate your kitchen remodel budget based on size, quality tier, and scope (appliances, layout changes).
HVAC Replacement Cost Calculator
Estimate the cost to replace your HVAC system based on home size, system type, efficiency (SEER), and whether ductwork needs replacing.