Wood Fence Calculator

Estimate any wood fence: side-by-side privacy, board-on-board, prebuilt panels, picket or split rail. Get posts, rails, pickets or panels, concrete, screws and gates in one list, with the total cost and cost per foot.

Your fence

Fence length per side (ft)

Add one side for each straight run. Corner posts are shared.

Who builds it?
Advanced settings

A common rule is three times the post width. 10 in suits 4x4 wood posts.

Materials list and cost

Prices last reviewed: October 2026

How much does a wood fence cost?

With the calculator's default prices for pressure treated pine, a wood fence costs about $9 to $33 per foot in materials and about $17 to $49 per foot installed. The style and height matter more than anything else. A 3 ft split rail fence sits at the low end and an 8 ft board-on-board privacy fence at the high end.

The table shows a 150 ft fence in one straight run with one 4 ft walk gate.

Wood fenceHeightDIY totalDIY per ftInstalled totalInstalled per ft
Split rail, 2 rails3 ft$1,400$9.33$2,600$17.33
Split rail, 3 rails4 ft$1,798$11.98$2,998$19.98
Picket4 ft$1,831$12.21$3,481$23.21
Prebuilt panels6 ft$2,426$16.17$3,926$26.17
Privacy, side by side6 ft$2,639$17.59$4,739$31.59
Board-on-board6 ft$2,941$19.61$5,341$35.61
Privacy, side by side8 ft$4,338$28.92$6,438$42.92
Board-on-board8 ft$4,895$32.64$7,295$48.64

Cedar and redwood cost more than pressure treated pine. Enter their prices in the Unit price column to see the difference.

Which wood fence style is right for you?

Pressure treated pine or cedar?

Pressure treated pine is the most common and cheapest choice for posts and rails, and many people use it for pickets too. Cedar costs more but resists rot and insects naturally, weighs less and stays straighter. A common mix is pressure treated posts in the ground with cedar pickets on top. Whatever wood you choose, use posts rated for ground contact.

How the calculator counts wood fence materials

Tips for a wood fence that lasts

More fence calculators

Frequently asked questions

How much does a wood fence cost per foot?

Using the calculator's default prices, a 6 ft wood privacy fence costs about $17.60 per foot in materials and about $31.60 per foot installed. A 4 ft picket fence costs about $12 per foot in materials and $23 installed. Split rail is the cheapest at about $9 to $12 per foot in materials.

What is the cheapest wood fence to build?

A split rail fence is the cheapest wood fence. For privacy, prebuilt wood panels on 4x4 posts are usually the cheapest option, at about $16 per foot in materials for a 6 ft fence in our example.

How many pickets do I need per foot of fence?

For side-by-side 1x6 pickets, about 2.2 per foot. For board-on-board, about 2.7 per foot. For spaced 1x4 pickets with a 2.5 in gap, 2 per foot. Add about 10 percent for waste.

What size posts does a wood fence need?

4x4 posts are standard for fences up to 6 ft. Many builders use 6x6 posts for gates and for 8 ft fences because they resist bending. Posts should be rated for ground contact.

How long does a wood fence last?

A well built pressure treated or cedar fence often lasts 15 to 20 years. Good drainage, keeping pickets off the ground and regular staining all help it last longer.

Should I use nails or screws for a wood fence?

Both work. Exterior screws hold better and make repairs easier. Ring shank nails are faster with a nail gun. Either way, use fasteners rated for treated lumber so they do not corrode.