Skip to content
Design free

Fence cost calculator

Enter the fence. We list every post, rail, picket, bag and box, show the store price where we have read one with its date, and total it per linear foot once every line has a price.

The materials for a 100 ft fence 6 ft tall come to $1,779.38, which is $17.79 per linear foot, before tax and delivery.
Material list for the fence. Type a price in any row to use your own.
ItemQtyPrice eachLine total
4x4 x 10 ft pressure-treated post, ground contactThe Home Depot, read Oct 8, 202616 posts$265.28
2x4 x 8 ft pressure-treated railThe Home Depot, read Oct 8, 202642 boards$204.96
2x4 x 8 ft pressure-treated, gate railsThe Home Depot, read Oct 8, 20262 boards$9.76
2x4 x 8 ft pressure-treated, gate braceThe Home Depot, read Oct 8, 20261 board$4.88
5 1/2 in dog-ear fence picket, 6 ftThe Home Depot, read Nov 7, 2026230 pickets$524.40
Quikrete 50 lb Fast-Setting Concrete MixThe Home Depot, read Nov 7, 202667 bags$533.99
Gravel for the hole bottoms, 0.5 cu ft bagsThe Home Depot, read Nov 6, 202611 bags$71.17
2 in galvanized ring shank nails for the picketsThe Home Depot, read Nov 6, 20261,380 nails10 boxes$105.60
3 in exterior screws for the railsThe Home Depot, read Nov 4, 2026168 screws1 box$32.97
Gate hardware kit, hinges and latchThe Home Depot, read Nov 7, 20261 kit$26.37

Shelf prices from Home Depot, Hamilton Mill (ZIP 30011), read Oct 8, 2026 to Nov 7, 2026, before tax and delivery. Screws and nails are bought by the box.

Quantities only: fence calculator

The same list without prices, with the post holes and layout.

Material planning figures for a wood fence, before tax, delivery and labor. Prices are shelf prices read on the dates shown, and a line with no price we have read is left empty, never guessed. Call 811 before you dig.

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 privacyPostsRailsPickets50 lb fast-setting
50 ft8 x 10 ft2111634 bags
100 ft14 x 10 ft3923059 bags
150 ft20 x 10 ft5734584 bags
200 ft26 x 10 ft75459109 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

Quantities come from the fence calculator, so the two pages agree. The posts, the 2x4 rails, the 80 lb concrete mix, the gravel and the 3 in screws are Home Depot Hamilton Mill (ZIP 30011) shelf prices, read Oct 8, 2026 to Nov 7, 2026, the same file our deck and patio calculators use.

More free calculators

  • Deck calculator

    Joists, beam, posts, decking, hardware and concrete for a deck of any size.

  • Deck cost

    What your deck costs in wood or composite, per sq ft and installed.

  • Joist span

    The smallest joist that spans your distance, and how far it can overhang.

  • Beam span

    How far apart the posts can be for a 2-ply or 3-ply built-up beam.

  • Stair calculator

    Steps, riser, tread, run, angle and stringers for any stair, drawn to scale.

  • Stair stringer

    Steps, riser and tread sizes, stringer count and board length from a total rise.

  • Deck footing

    Footing size, depth and concrete bags for the whole deck.

  • Pergola span

    How far a pergola beam and rafters can span, and what limits them.

  • Paver calculator

    Pavers, gravel base, sand, edging and polymeric sand for a patio.

  • Concrete slab

    Cubic yards, 80 lb and 60 lb bags, gravel, mesh and control joints for a slab.

  • Slab cost

    What a slab costs in bags, in ready-mix or hired out, per sq ft.

  • Gravel

    Cubic yards, tons and bags of gravel for any shape and depth.

  • Paver base

    Gravel base, bedding sand and dig depth under pavers.

  • Mulch

    Cubic yards and bags of mulch for a bed of any shape.

  • Topsoil

    Cubic yards, tons and bags of topsoil or fill dirt.

  • Raised bed

    Cut list, boards, screws and soil for a wood raised bed of any size.

  • Concrete steps

    Risers, landing and concrete for poured steps.

  • Cinder block

    Concrete blocks, mortar and grout for a block wall.

  • Patio cost

    What a paver, concrete, stamped or flagstone patio costs, materials and installed.

  • Deck stain

    Gallons of stain or sealer for the deck floor, railings and stairs.

  • Railing

    Even baluster spacing under 4 in, posts, rails and what to buy.

  • Retaining wall

    Blocks, caps, base and drain gravel for a segmental block wall.

  • Fence calculator

    Posts, rails, pickets, concrete and hardware for a wood fence.

  • Fence post depth

    How deep to dig by the 1/3 rule and your frost line, and what post to buy.

  • Concrete for posts

    Bags of fast-setting or regular concrete per post and for the fence.

  • Fence stain

    Gallons of stain for a privacy or picket fence.

  • Span tables

    The joist, beam and post tables from DCA 6, by species and spacing.

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.