Every Single CalculatorOne place for every calculator

Fence calculator

Pick the kind of fence and enter its length to find the posts and everything that goes between them, plus the concrete to set the posts.

Example: A customer wants prices for the same 150 foot run in wood privacy, vinyl and chain link. Switch the fence type to get a materials list for each.

Your numbers

Choosing a fence type fills in typical sizes for it. Change any of them to match what you are buying.

ft
ft
For panel fences, use the panel width.
Each gate adds a post.
Use 3 for a wood fence 6 ft or taller.
in
5½ for a nominal 6 inch board.
in
0 for a privacy fence.
ft
Check the roll.
ft
50 lb bags. Enter 0 for driven or tamped posts.
  • Posts0
  • Sections0
  • Rails0
  • Pickets0
  • Panels0
  • Post caps0
  • Rolls of fabric or wire0
  • Top rail pieces0
  • Bags of concrete0

Fence calculator. Estimate from everysinglecalculator.com

Materials list
ItemBuyHow it was worked out

How the quantities are worked out

Divide the fence length by the post spacing and round up to get the number of sections. There is one more post than sections, plus an extra post for each gate.

Posts = sections + 1 + gates

Pickets = fence length × 12 ÷ (picket width + gap)

A worked example

A 100 foot fence with posts every 8 feet has 13 sections, so 14 posts, and one gate makes 15. Two rails per section is 26 rails. Solid privacy boards 5½ inches wide need 219 pickets. At 2 bags per post, the posts take 30 bags of concrete.

Good to know

  • Call 811 before you dig. It is free, and it gets buried gas, power and water lines marked.
  • A common rule is to bury a third of the post. A 6 foot fence usually takes 8 foot posts set about 2 feet deep, and deeper where the ground freezes.
  • Check the property line and any local or homeowner association rules on height and placement before you buy.
  • Each corner and end counts as a post already. Extra posts are only needed for gates.
  • Buy a few spare pickets. Some will be split or warped.

Common questions

How many bags of concrete per post?

It depends on the hole. A hole 10 inches across and 2 feet deep around a 4x4 post takes roughly two 50 lb bags. Bigger holes and gate posts take more.

Does this work for chain link or vinyl?

The post and section counts do. Chain link and vinyl are sold as fabric rolls or panel kits, so ignore the picket and rail figures.

What each fence type needs

  • Wood privacy and picket fences are built from posts, horizontal rails and vertical pickets. A picket fence leaves a gap between boards, so it uses far fewer.
  • Vinyl comes as panel kits that slot into routed posts. You buy one panel per section and a cap for every post. Corner, end and line posts are routed differently, so tell the supplier how many of each.
  • Chain link uses rolls of fabric, a top rail that runs the whole length, line posts up to 10 feet apart and heavier terminal posts at ends, corners and gates. You also need tension bars, bands, rail ends, caps and ties, which are usually sold as a kit per terminal post.
  • Aluminum and steel panel fences are sold as rigid panels, commonly 6 or 8 feet wide, with brackets that fix them to the posts.
  • Split rail has two or three rails per section slotted into the posts, which are often tamped in gravel with no concrete.
  • Wire and farm fence comes in long rolls stretched between driven posts, with braced wooden posts at the ends and corners.

How we know this calculator is right

Before this calculator went on the site, 33 answers were worked out separately from its code, by hand or straight from the formula above. Each time this page loads, your own browser runs the calculator on those same numbers and compares. Turn on JavaScript to see the comparison.

See every check
Numbers usedResultWorked out separatelyThis calculator

What this proves: the calculator does the arithmetic of the formula shown, correctly. What it cannot prove: your measurements, or figures such as coverage per bag, waste and spacing, which are typical starting values you can change. Go by the product label and your local code.

Used by: deck and fence builders, farm and ranch, handymen, homeowners.