Fence cost calculator
| Item | Qty | Price each | Line total |
|---|---|---|---|
| 4x4 x 10 ft pressure-treated post, ground contact | 16 posts | $265.28 | |
| 2x4 x 8 ft pressure-treated rail | 42 boards | $204.96 | |
| 2x4 x 8 ft pressure-treated, gate rails | 2 boards | $9.76 | |
| 2x4 x 8 ft pressure-treated, gate brace | 1 board | $4.88 | |
| 5 1/2 in dog-ear fence picket, 6 ft | 230 pickets | $524.40 | |
| Quikrete 50 lb Fast-Setting Concrete Mix | 67 bags | $533.99 | |
| Gravel for the hole bottoms, 0.5 cu ft bags | 11 bags | $71.17 | |
| 2 in galvanized ring shank nails for the pickets | 1,380 nails | $105.60 | |
| 3 in exterior screws for the rails | 168 screws | $32.97 | |
| Gate hardware kit, hinges and latch | 1 kit | $26.37 |
How the fence cost calculator works
Enter the fence the way you would in the fence calculator: length, height, style, spacing, corners, gates, post size and concrete. The calculator builds the same material list, then puts the store price beside each line where we have read one, with the date it was read. Screws and nails are priced by the box, so the line rounds up to whole boxes.
Your own prices
Every line has a price box. Type the price at your store, or a quote from a lumberyard, and the line total changes. When every line has a price, the total and the cost per linear foot appear.
What a wood fence takes, by length
| Straight fence, 6 ft privacy | Posts | Rails | Pickets | 50 lb fast-setting |
|---|---|---|---|---|
| 50 ft | 8 x 10 ft | 21 | 116 | 34 bags |
| 100 ft | 14 x 10 ft | 39 | 230 | 59 bags |
| 150 ft | 20 x 10 ft | 57 | 345 | 84 bags |
| 200 ft | 26 x 10 ft | 75 | 459 | 109 bags |
Posts every 8 ft, set by the 1/3 rule, no corners or gates. Each corner and gate adds a post.
Where the money goes
On a privacy fence the pickets are the largest line, because there is one for every 5 1/2 in of fence; a shadowbox fence takes about a fifth more. Posts come next, and they grow with the frost line: a deeper frost depth means a longer post and more concrete in every hole. Spaced picket fences and shorter fences take fewer boards and shorter posts.
Next steps
For the quantities alone with the hole sizes, use the fence calculator. To check the post depth for your state, use the fence post depth calculator. Pricing a deck or patio too? The deck cost calculator and the patio cost calculator price those from the same store.
Where the numbers come from
More free calculators
- Deck calculator
- Deck cost
- Joist span
- Beam span
- Stair calculator
- Stair stringer
- Deck footing
- Pergola span
- Paver calculator
- Concrete slab
- Slab cost
- Gravel
- Paver base
- Mulch
- Topsoil
- Raised bed
- Concrete steps
- Cinder block
- Patio cost
- Deck stain
- Railing
- Retaining wall
- Fence calculator
- Fence post depth
- Concrete for posts
- Fence stain
- Span tables
Questions
Anything else? Write to us or see every calculator.
Questions people ask
Count the materials first: posts, rails, pickets, concrete, gravel, nails, screws and gate hardware. Price each line at your store, add them up and divide by the length for a cost per linear foot. Add tax, delivery, a post hole auger rental and any permit fee on top. The calculator does the counting and keeps a price box on every line.
A straight 100 ft privacy fence 6 ft tall with posts every 8 ft takes 14 posts of 4x4 x 10 ft, 39 rails of 2x4 x 8 ft, 230 pickets and 59 bags of 50 lb fast-setting concrete. A 4 ft fence of the same length takes 14 posts on 8 ft lengths and 26 rails.
A 4x4 x 10 ft pressure-treated ground contact post, the length a 6 ft fence needs on the 1/3 rule, was $16.58 at Home Depot Hamilton Mill, read Oct 8, 2026. A 2x4 x 8 ft rail was $4.88. Prices change by store and week, so type your own into the calculator.
Tax and delivery, renting a post hole auger, removing an old fence, hauling away the dug soil, a survey to find the property line and a permit where your town asks for one. A contractor's price also includes labor, which this calculator does not estimate.