Fence Cost Calculator

Installing a typical 150-linear-foot, 6-foot cedar privacy fence with one walk gate costs $4,095 to $5,233 turnkey ($27.30 to $34.89 per linear foot). DIY materials run $2,430 to $3,038, including posts, pickets, gate hardware, and post-hole concrete.

Free · No sign-up · Last reviewed

Quick start:

Your project size

(feet)
feet
(gates)
gates
(gates)
gates

Estimated Fence Construction Cost

$4,664 Turnkey Installed (150 Linear Feet)

Contractor Price Benchmark

$4,095 – $5,233 ($27.30 – $34.89/lin ft, WOOD CEDAR)

Want a real price for this fence co t calculator project?

Get up to 3 free quotes from local contractors. No obligation. Your numbers are included.

Materials list

MaterialQuantityUnitNotes
Fence Panels / Pickets: WOOD CEDAR150Linear Feet6-ft height fence specification
Structural Fence Posts (4×4 Treated / Metal)20PostsSpaced 8-ft on-center
Post Hole Fast-Setting Concrete4050-lb Bags2 bags per in-ground post hole
Gate Hardware Kits with Self-Closing Hinges1KitsHeavy-duty powder-coated steel hinges and latches

Estimated cost: DIY vs. contractor

National Average
DIY Raw Materials Only
$2,430 – $3,038

Cost of raw lumber, concrete, shingles, wire, or stone without equipment rentals or labor.

Hired contractor
$4,095 – $5,233

Full installation: permits, site prep, skilled trade labor, equipment, and structural warranty.

Estimated Sweat Equity
~$1,930

Average trade labor savings if executed as a skilled DIY homeowner project.

American Fence Association Perimeter Estimating Formula

Rendering formula...

Fence Installation Cost Breakdown for 150 Lin Ft (6' H)

  1. Total Perimeter = 150 linear feet. Post count (8' spacing): ceil(150 / 8) + 1 = 20 posts.
  2. Selected Material: WOOD CEDAR at ~$28.00/ft turnkey.
  3. Gates: 1 walk gate(s) + 0 double drive gate(s).
  4. Turnkey fence contractor bid range: $4,095 – $5,233 in National Average.
Tip: Call 811 to locate underground gas, power, and telecom utilities before digging any fence post holes.

Quick Reference Sizing & Coverage Table

Standard commercial specifications and pre-calculated project benchmarks.

Fence RunPT Pine WoodCedar PrivacyVinyl PrivacyChain Link (4-ft)
75 Lin Ft$1,450 – $2,100$1,950 – $2,850$2,250 – $3,350$1,150 – $1,750
150 Lin Ft (Standard)$2,850 – $4,100$3,850 – $5,650$4,450 – $6,650$2,250 – $3,450
250 Lin Ft (Large Yard)$4,750 – $6,800$6,400 – $9,400$7,400 – $11,100$3,750 – $5,750
400 Lin Ft (Estate)$7,600 – $10,900$10,200 – $15,100$11,800 – $17,800$6,000 – $9,200
ASTM F537 / IRC Section R312 & Swimming Pool Barrier Codes

ASTM F537 Specification for Wooden Fences

Pool safety barriers must maintain minimum 48-inch height with maximum 4-inch picket spacing to prevent child passage. Gates must be equipped with self-closing and self-latching devices with release mechanism at least 54 inches above grade.

How to use the fence cost calculator

  1. Measure and enter your planned perimeter length in linear feet (subtracting building walls that already enclose the space).
  2. Choose your fence height (4 feet, 6 feet, or 8 feet) and select your construction material: pressure-treated pine, western red cedar, vinyl, chain link, or ornamental aluminum.
  3. Enter the number of pedestrian walk gates and double-drive vehicular gates to see complete contractor bid estimates and DIY material requirements.

How much does it cost to put up a fence?

Nationally, professional fence installation costs between $18.00 and $42.00 per linear foot for standard 6-foot fencing at baseline rates, plus $350 per walk gate and $850 per double drive gate. On a standard 150-foot residential backyard with one walk gate, turnkey contractor pricing ranges from $2,745 to $3,507 for chain link, $3,285 to $4,198 for pressure-treated pine, $4,095 to $5,233 for cedar, $4,905 to $6,267 for vinyl, and $5,985 to $7,647 for ornamental aluminum.

Our calculator scales pricing based on fence height: 4-foot fences use an 0.8× factor ($14.40 to $33.60 per foot baseline), 6-foot fences represent the standard 1.0× baseline ($18.00 to $42.00 per foot), and 8-foot privacy fences apply a 1.3× factor ($23.40 to $54.60 per foot) to account for longer structural posts, third stringer rails, and increased wind resistance.

Our estimate assumes two 50-lb bags per post; link our fence post depth calculator to determine exact post-hole depth and concrete volume based on your local frost line.

For example, a standard 150-foot, 6-foot cedar privacy fence with one pedestrian gate breaks down as follows:

Perimeter Length = 150 linear feet
Post Count (8' on-center spacing) = ceil(150 / 8) + 1 = 20 posts
Fast-Setting Concrete = 20 posts × 2 bags = 40 fifty-pound bags
Turnkey Baseline Rate = 150 ft × $28.00 = $4,200
Walk Gate Contractor Surcharge = 1 × $350 = $350
Total Base Cost = $4,200 + $350 = $4,550
Turnkey Bid Range (±10% to +15%) = $4,095 – $5,233
DIY Materials Range = $2,430 – $3,038
Fence Material (6-Ft Height)150 Ft Turnkey QuoteCost per Foot InstalledDIY MaterialsDIY Savings
Chain Link (Galvanized)$2,745 – $3,507$18.30 – $23.38 / ft$1,755 – $2,194$1,152
Pressure-Treated Pine$3,285 – $4,198$21.90 – $27.99 / ft$2,025 – $2,531$1,464
Western Red Cedar$4,095 – $5,233$27.30 – $34.89 / ft$2,430 – $3,038$1,930
Vinyl Privacy Panels$4,905 – $6,267$32.70 – $41.78 / ft$2,835 – $3,544$2,397
Ornamental Aluminum$5,985 – $7,647$39.90 – $50.98 / ft$3,375 – $4,219$3,019

Fence cost per foot by material (table)

Material choice determines durability, maintenance obligations, and upfront construction expense. Pressure-treated pine is the most economical privacy option but requires periodic sealing. Western red cedar provides natural rot resistance and straighter grain with less seasonal warping. Vinyl privacy panels eliminate staining entirely and wash clean with a hose. Galvanized chain link delivers maximum wind resistance and perimeter security at the lowest cost per foot, while ornamental aluminum combines security with decorative pool-code compliance.

Material4-Ft Turnkey Rate6-Ft Turnkey Baseline8-Ft Turnkey Rate150 Ft (6-Ft, 1 Gate) Pro Bid150 Ft DIY Material Cost
Chain Link$14.40 / lin ft$18.00 / lin ft$23.40 / lin ft$2,745 – $3,507$1,755 – $2,194
Pressure-Treated Wood$17.60 / lin ft$22.00 / lin ft$28.60 / lin ft$3,285 – $4,198$2,025 – $2,531
Western Red Cedar$22.40 / lin ft$28.00 / lin ft$36.40 / lin ft$4,095 – $5,233$2,430 – $3,038
Vinyl Privacy$27.20 / lin ft$34.00 / lin ft$44.20 / lin ft$4,905 – $6,267$2,835 – $3,544
Ornamental Aluminum$33.60 / lin ft$42.00 / lin ft$54.60 / lin ft$5,985 – $7,647$3,375 – $4,219

How much to fence a yard — ¼ acre, ½ acre examples

Yard fencing costs depend heavily on the total boundary perimeter and the property shape. Fencing the full outer perimeter of a square quarter-acre lot (10,890 sq ft, 104.4 ft per side, 417 linear feet derived) with a 6-foot cedar privacy fence and one walk gate costs $10,823 to $13,830 installed ($6,406 to $8,008 DIY materials). A square half-acre lot (21,780 sq ft, 147.6 ft per side, 590 linear feet derived) runs $15,183 to $19,401 installed ($8,964 to $11,205 DIY materials).

These figures represent the derived, full perimeter of a square lot; fencing only the backyard or leaving out the house side lowers the footage and the total.

Yard Size & MaterialLinear FootagePosts NeededConcrete Bags (50-lb)Turnkey Contractor BidDIY Material Cost
1/4 Acre, 4-Ft Chain Link (1 Gate)417 lin ft54 posts108 bags$5,719 – $7,308$3,854 – $4,818
1/4 Acre, 6-Ft Wood PT (1 Gate)417 lin ft54 posts108 bags$8,572 – $10,953$5,280 – $6,600
1/4 Acre, 6-Ft Cedar (1 Gate)417 lin ft54 posts108 bags$10,823 – $13,830$6,406 – $8,008
1/4 Acre, 6-Ft Vinyl (1 Gate)417 lin ft54 posts108 bags$13,075 – $16,707$7,532 – $9,415
1/2 Acre, 4-Ft Chain Link (1 Gate)590 lin ft75 posts150 bags$7,961 – $10,173$5,353 – $6,691
1/2 Acre, 6-Ft Wood PT (1 Gate)590 lin ft75 posts150 bags$11,997 – $15,329$7,371 – $9,214
1/2 Acre, 6-Ft Cedar (1 Gate)590 lin ft75 posts150 bags$15,183 – $19,401$8,964 – $11,205
1/2 Acre, 6-Ft Vinyl (1 Gate)590 lin ft75 posts150 bags$18,369 – $23,472$10,557 – $13,196

Gates, removal, and permit costs

Every complete fencing estimate must budget for entry openings, existing barrier tear-out, and local municipal approvals:

  1. Gate Hardware & Construction: Standard 4-foot pedestrian walk gates add $350 per opening installed ($180 DIY materials) including self-closing powder-coated steel hinges and a padlockable gravity latch. Double vehicular drive gates (10 to 12 feet wide) add $850 installed ($450 DIY materials) with steel drop-rod ground anchors.
  2. Old Fence Tear-Out & Disposal: Removing and hauling away an existing deteriorated fence adds labor and disposal fees. Posts rotted at ground level in dirt are faster to pull than posts anchored in solid concrete footings that require mechanical jacks or excavation.
  3. Building Permits & Zoning: Permit requirements and fee schedules vary by municipality. Local zoning ordinances frequently set strict height limits along front property lines to preserve vehicular sightlines, while side and rear boundaries often allow standard privacy heights. Check local municipal building codes before planning posts, and call 811 before digging to locate buried utilities.

Frequently asked questions

Cheapest fence type

Galvanized chain-link is the most affordable fencing material, averaging $18.00 per linear foot installed for a 6-foot fence ($14.40 per foot for 4-foot height), with DIY materials running about $8.10 per foot before posts and hardware (derived: 18 × 0.45). For privacy fences, pressure-treated pine is the lowest-cost option at $22.00 per foot installed, saving roughly $6.00 per foot compared to cedar and $12.00 per foot compared to vinyl.

How long each material lasts

Chain link and ornamental aluminum offer durable service with minimal maintenance, as metal does not rot or split. Vinyl privacy fencing resists rot, decay, and insect attack without needing stain or paint. Western red cedar provides natural decay resistance through wood extractives and stays dimensionally stable when sealed periodically, while pressure-treated pine relies on chemical preservatives driven into the wood cells to resist rot and fungal decay in contact with soil.

Who pays for a shared fence

Responsibility depends on state and local boundary fence laws. In jurisdictions with "good neighbor fence" statutes, adjoining landowners are presumed to share equal financial responsibility for maintaining boundary fences located directly on property lines, provided advance written notice is delivered before construction begins. In other jurisdictions, the homeowner initiating the fence build pays the entire cost unless a written cost-sharing agreement is reached with neighbors. Check state and local law before building.

Sources and review

Prices and quantities come from the calculator above. Last reviewed . How our calculators work.