How Much Does a Fence Cost?
100 ft of 6 ft treated-pine privacy fence with a 4 ft gate costs about $2,905 installed, $29.05 a foot: $1,705 of posts, pickets, rails, concrete and the gate, and $1,200 of labor. Installed cost per foot by type:
100 ft with one 4 ft gate, at the calculator's prices, all editable.
How to Calculate Fence Cost
The materials come from the fence itself: posts by the section, pickets by the section width, rails by the section, concrete by the post and a price for each gate. Count the fence materials on their own.
Fence Cost by Type, 100 ft
| Fence | Installed | Per foot |
|---|---|---|
| Wood privacy | $2,905 | $29.05 |
| Board on board | $3,015 | $30.15 |
| Picket, 4 ft | $2,465 | $24.65 |
| Wood panels | $3,211 | $32.11 |
| Vinyl | $4,818 | $48.18 |
| Chain link, 4 ft | $2,389 | $23.89 |
| Fence | Materials | Labor | Installed | Per foot |
|---|---|---|---|---|
| Wood privacy | $1,705 | $1,200 | $2,905 | $29.05 |
| Board on board | $1,815 | $1,200 | $3,015 | $30.15 |
| Picket, 4 ft | $1,265 | $1,200 | $2,465 | $24.65 |
| Wood panels | $2,011 | $1,200 | $3,211 | $32.11 |
| Vinyl | $3,318 | $1,500 | $4,818 | $48.18 |
| Chain link, 4 ft | $1,389 | $1,000 | $2,389 | $23.89 |
100 ft with one 4 ft gate; posts 8 ft apart, 10 ft for chain link. Vinyl costs the most to buy, chain link the least.
Fence Cost by Length
| Fence | Materials | Installed | Per foot |
|---|---|---|---|
| 50 ft | $978 | $1,578 | $31.57 |
| 100 ft | $1,705 | $2,905 | $29.05 |
| 150 ft | $2,494 | $4,294 | $28.63 |
| 200 ft | $3,251 | $5,651 | $28.25 |
| 300 ft | $4,677 | $8,277 | $27.59 |
6 ft wood privacy fence with one 4 ft gate. The cost per foot falls a little on longer runs, as the gate is spread over more fence.
Fence Cost by Height
Height changes the pickets and the posts, not the number of either. 100 ft of treated-pine privacy fence with one gate, installed:
| Height | Materials | Installed | Per foot |
|---|---|---|---|
| 4 ft | $1,401 | $2,601 | $26.01 |
| 5 ft | $1,513 | $2,713 | $27.13 |
| 6 ft | $1,705 | $2,905 | $29.05 |
| 8 ft | $2,139 | $3,339 | $33.39 |
An 8 ft fence runs $33.39 a foot against $29.05 for 6 ft. Its pickets cost a third more, its posts are 12 ft long and set 48 in deep, and each one takes 8 bags of concrete instead of 6. Drop to 4 ft and 8 ft posts are long enough, set 24 in deep with 4 bags apiece, which brings the run down to $26.01 a foot.
What Each Part Costs
The calculator's starting price for each part:
| Part | Price |
|---|---|
| 4x4 post, 8 ft, ground contact | $10.78 |
| 4x4 post, 10 ft, ground contact | $16.58 |
| Picket, 6 ft dog-ear, treated pine | $2.28 |
| Picket, 6 ft dog-ear, cedar | $4.28 |
| Rail, 2x4 × 8 ft | $4.48 |
| Wood privacy panel, 6 × 8 ft | $79.98 |
| Vinyl panel, 6 × 8 ft | $119.47 |
| Vinyl panel, 6 × 6 ft | $89.98 |
| Vinyl post | $45.00 |
| Chain link fabric, 50 ft roll: 4, 5, 6 ft high | $112.82, $136.04, $150.00 |
| Chain link line post, 7 and 9 ft long | $30.10, $38.70 |
| Chain link terminal post | $40.00 |
| Chain link top rail, 21 ft | $40.00 |
| Fast-setting concrete, 50 lb bag | $7.97 |
| Gate: wood, vinyl, chain link | $150, $250, $180 |
| Installation per foot: wood, vinyl, chain link | $12, $15, $10 |
Put together, one 8 ft section of treated-pine privacy fence costs $118.88 in materials: a 10 ft post, 18 pickets, 3 rails and 6 bags of concrete, or $14.86 a foot before the gate and the last post.
A post costs more once it is in the ground than on the rack. A 10 ft wood 4x4 with its six bags of concrete comes to $64.40; a vinyl post with nine bags $116.73; a 7 ft chain link line post with four bags $61.98, and a terminal post $71.88. Labor comes on top, priced by the foot of fence rather than by the post.
Cost to Fence a Backyard or Front Yard
Behind a house, the house often closes one side. A backyard 50 ft wide and 80 ft deep fenced along both sides and the back is 80 + 50 + 80 = 210 ft: about $5,890 installed in 6 ft treated-pine privacy fence with one gate, or $6,826 with cedar pickets. Measure along the line where the posts go, and count each gate.
A small yard 30 ft wide and 40 ft deep needs 110 ft on the same three sides, about $3,231 installed in the same fence. Out front, a 4 ft picket fence 60 ft long with one gate comes to $1,556 installed, $836 of it materials, with 105 pickets of 3½ in spaced 3 in apart.
Cost of a Pool Fence
Where the International Swimming Pool and Spa Code (ISPSC) is in force, a pool barrier needs:
- Height: at least 48 in, measured on the side away from the pool.
- Bottom: no more than 2 in between the ground and the fence over grass or gravel.
- Chain link: mesh no larger than 2¼ in, or 1¾ in with slats.
- Gates: open outward from the pool, self-closing and self-latching; a latch release lower than 54 in goes on the pool side, at least 3 in below the top of the gate.
A 16 × 32 ft pool with 4 ft of deck around it is fenced at 24 × 40 ft, 128 ft with one 4 ft gate:
| Fence | Materials | Installed |
|---|---|---|
| Chain link, 4 ft | $1,728 | $3,008 |
| Wood privacy, 6 ft | $2,144 | $3,680 |
| Vinyl, 6 ft | $4,263 | $6,183 |
Standard 2 in chain link mesh is inside the code's 2¼ in limit, which makes it the cheapest barrier here at $3,008 installed. The fence is one line of the whole pool budget.
Labor or Doing It Yourself
Labor is 41% of the installed price of the wood privacy fence, $1,200 of $2,905, and 42% of chain link. On vinyl it is only 31%, because the panels themselves cost so much. Building it yourself saves that share, in exchange for digging and setting 14 posts and pouring 84 bags of concrete for a 100 ft wood fence.
Cost to Fence an Acre or More
For land fenced all the way around, the fence is the perimeter: about 835 ft for a square acre. Installed cost of square lots with one gate:
| Lot | Fence | Wood privacy | Chain link, 4 ft |
|---|---|---|---|
| 0.25 acre | 417 ft | $11,465 | $8,932 |
| 0.5 acre | 590 ft | $16,156 | $12,374 |
| 1 acre | 835 ft | $22,662 | $17,418 |
| 2 acres | 1,181 ft | $32,045 | $24,455 |
| 5 acres | 1,867 ft | $50,382 | $38,451 |
| 10 acres | 2,640 ft | $71,189 | $54,126 |
A long, narrow lot takes more fence for the same area. Large rural acreage is usually fenced with wire on wood or steel posts, which costs far less per foot than either of these.
Pine or Cedar, per Foot, Meter and Square Foot
Cedar pickets cost nearly twice as much as treated pine, which raises the 100 ft fence from $2,905 to $3,337 installed: $29.05 against $33.37 a foot. In metric, $29.05 a foot is $95.32 a meter. To compare a price by the square foot of fence face, divide the price per foot by the height: for a 6 ft fence, $4.84 a square foot.
Replacing an Old Fence
A replacement costs the same new fence as above plus taking the old one down and hauling it off; price the hauling separately. Old treated wood never goes on a fire pile: its smoke and ash can carry toxic chemicals. Treated lumber sold to homeowners before 2004 may be CCA-treated; that year the industry stopped selling it for home use. Ask your local waste program where treated wood is accepted.
What Changes the Price
- Height: 8 ft pickets cost a third more than 6 ft ones, and the posts go deeper.
- Wood: cedar pickets cost nearly twice treated pine; see our wood fence calculator.
- Gates: each adds a post and the gate itself, $150 for wood and $250 for vinyl in the calculator.
- Corners and slopes: more posts and cuts; a slope is stepped or racked section by section.
- Old fence: removal and hauling are extra.
- Finish: stain adds to a wood fence; figure how much stain it takes.
Posts set deeper, below the frost line, take more concrete; work out the bags for your post depth.
Frequently Asked Questions
How much does a fence cost per foot?
About $29.05 a foot installed for 6 ft treated-pine privacy fence with a gate: $17.05 of materials and $12 of labor a foot. Chain link runs less and vinyl more.
How much does it cost to fence 100 feet?
About $2,905 for 6 ft wood privacy fence with one 4 ft gate, installed.
How much does a fence cost to build yourself?
The materials alone for 100 ft of 6 ft wood privacy fence come to about $1,705: 14 posts, 216 pickets, 36 rails, 84 bags of concrete and a gate.
What does fence installation labor cost?
The calculator starts at $12 a foot for wood, $15 for vinyl and $10 for chain link, all editable. A contractor's price covers the crew, the post-hole equipment, overhead and profit.
How much does a vinyl fence cost?
About $4,818 for 100 ft of 6 ft vinyl with a gate, installed, about $48.18 a foot.
How much does a chain link fence cost?
About $2,389 for 100 ft of 4 ft chain link with a gate, installed.
How much does it cost to fence an acre?
A square acre is about 835 ft around. In 6 ft wood privacy fence with one gate that is about $22,662 installed; a 4 ft chain link or a farm fence costs far less per foot.
How much does it cost to fence half an acre?
A square half acre is about 590 ft around: about $16,156 installed in 6 ft wood privacy fence with one gate, or $12,374 in 4 ft chain link.
How much is a fence gate?
The calculator starts a 4 ft gate at $150 in wood, $250 in vinyl and $180 in chain link. Each gate also adds a post and its concrete, and its width comes off the fence.
Do I need a permit to build a fence?
Not a building permit under the IRC for fences up to 7 ft high, but local zoning sets heights and setbacks; check before you build.
Sources
- International Code Council. (2020a). 2021 International residential code (Section R105.2).
- International Code Council. (2020b). 2021 International swimming pool and spa code (Section 305).
- National Pesticide Information Center. (n.d.). Regulation and disposal of treated wood. Oregon State University.
- QUIKRETE. (2025). QUIKRETE Fast-Setting Concrete Mix No. 1004 [Data sheet].
Updated .
Cite this page as:
Daniel, P. Fence Cost Calculator. Available at: https://constructioncalculators.com/fence-cost-calculator/. Accessed: October 28, 2026.