YardSolver app iconYardSolver is now an app —Get it on Google Play· iPhone app coming soon
YardSolver
Know what you need. Buy exactly that.

Fence Calculator

Step 1 · Type your numbers Step 2 · See your answer Step 3 · Print your list

A fence is mostly straight lines and repeated parts — which makes it perfect calculator work. Enter the run length and post spacing and get every post, rail, panel or picket, plus the concrete to set them.

 

Concrete is estimated at one 60 lb bag per post — deeper or wider holes need more. Call before you dig, and check your property line and local fence rules first.

How to use this calculator

  1. Measure the full fence run, corner to corner, in feet.
  2. Choose post spacing (8 ft matches standard panels) and your style — panels, or pickets built on site.
  3. Read the answer: posts, rails, panels or pickets, and concrete bags.
  4. Print the list. Gates, hardware and post caps are extra — add yours at the store.

How the maths works: sections = fence length ÷ post spacing, rounded up. Posts = sections + 1. Rails = sections × rails per section. Privacy pickets (nominal 5.5 in wide with a small gap, 6 in per picket) = about 2 per foot of fence. Concrete = 1 bag per post, as a starting estimate.

What are you using this for?

Tell us what you are making, and we will help you do it yourself. Type your project below — for example “a backyard privacy fence” — and we will show you the full method, step by step, using the estimate you just made.

A worked example

A 100 ft fence with 8 ft post spacing: 100 ÷ 8 = 12.5 → 13 sections, 14 posts, 26 rails at 2 per section, and about 14 bags of concrete (60 lb, one per post). Built with privacy pickets instead of panels, the same fence needs about 200 pickets.

Keep going

Posts into a patio edge? The Concrete Slab Calculator covers pads and footings by volume. Counting lumber by the board? The Board Foot Calculator. Building beside a deck? The Deck Calculator.

Questions people ask

How far apart should fence posts be?
8 ft is the standard for wood panel fences and matches pre-built panel widths. Drop to 6 ft in windy spots or for tall, heavy fences.

How deep should fence post holes be?
A common rule is one third of the post in the ground, and always below your local frost line — often 3 to 4 ft in Canada and the northern US. Check local code. The full reasoning — frost line, gravel base and deeper gate posts — is in How Deep Should Fence Posts Be?

How much concrete does one fence post need?
About one 60 lb bag for a standard hole (roughly 8–10 in wide and 3 ft deep). Wider or deeper holes can take two — treat the count here as a starting estimate.

How many pickets do I need per foot?
Privacy pickets are nominally 5.5 in wide and are nailed tight or with a small gap, so plan on about 2 pickets per foot of fence — 200 for a 100 ft run.

How many fence posts do I need?
Posts = fence length ÷ post spacing + 1 for a single straight run. A 100 ft fence at 8 ft spacing is 100 ÷ 8 = 12.5, which rounds to 13 sections — and 13 sections need 14 posts, exactly the worked example above. The calculator adds corners and gate posts on top of the straight-run count.

Are the costs exact?
No — typical store-price ranges for your country. This is an estimate — prices can go up or down.