Fence Calculator: Posts, Rails, Pickets & Concrete

Enter the fence length, post spacing and picket size. Results show the main materials for a straight run.

Free · no sign-upRuns in your browser — nothing you type is uploadedLink saves your inputs

Calculator

ft
in
in
0 for a privacy fence.

Before you build

  • Call 811 a few days before digging so utilities are marked — it’s free.
  • Check property lines with your survey; fences are a common neighbor dispute.
  • Check local rules and HOA covenants for height, setbacks and which side faces out.
  • Pool fences must meet local safety barrier codes — see our pool hub.

Post depth

A common rule of thumb is to bury about one-third of the post’s length, and at least 2 feet — deeper in frost-prone areas and for tall privacy fences. Use pressure-treated posts rated for ground contact.

Concrete per post

Use the concrete calculator with “round column” to size concrete for your hole diameter and depth.

Frequently asked questions

How many fence posts do I need for 100 feet?

With 8-ft spacing, a straight 100-ft run needs 13 sections and 14 posts, plus extra posts for corners and gates.

How far apart should fence posts be?

Typically 6 to 8 feet. Closer spacing is stronger and helps with tall privacy fences in windy areas.

How to use this calculator

  1. Enter your numbers: fence length, post spacing, rails per section, picket width, gap between pickets, concrete bags per post. Defaults show a typical example.
  2. Read the answer — it updates instantly as you type.
  3. Tap the link icon to copy a URL that saves your inputs, or the reset icon to start over.
  4. Check the assumptions on this page against your manual or local rules before acting.

Guides that use this calculator

Related tools

Also useful from other hubs

Results are estimates based on the inputs and published rules of thumb shown on this page. Verify against your equipment’s manual and local codes before acting. See our disclaimer.