Fence Calculator — How Much Fencing Do I Need?

Calculate how many posts, rails, and pickets you need for your fence project. Enter your fence length and style to get a complete materials list.

Total perimeter length of your fence line
feet
Standard privacy fence is 6 ft. Common heights: 4 ft (decorative), 6 ft (privacy), 8 ft (tall privacy).
feet
Distance between fence posts. Standard is 8 ft for wood fences, 6–10 ft depending on material.
feet
Number of gate openings in your fence
Width of each gate. Standard walk gate is 3–4 ft, double/drive gate is 10–16 ft.
feet
Number of horizontal rails per fence section. Use 2 for fences under 5 ft, 3 for 6–8 ft fences.
Width of each picket/board. Standard 1×4 boards are 3.5 inches wide. 1×6 boards are 5.5 inches.
inches
Gap between pickets. Use 0 for a privacy fence (no gaps). Decorative fences typically have 1–3 inch gaps.
inches
Fence Posts Needed
Rails Needed
Pickets/Boards Needed
Additional Gate Posts
Disclaimer This calculator provides estimates for planning purposes only. Actual material requirements may vary based on surface conditions, application method, product brand, and other factors. Always consult product labels and your supplier for precise quantities. We are not responsible for material shortages or excess resulting from the use of this tool.

Assumptions

  • One post at each end and every post-spacing interval along the fence line
  • Gate posts are counted separately — add them to the fence post total
  • Pickets are only counted for fence sections (gate openings are excluded)
  • Rails span between every pair of adjacent posts
  • Standard 4×4 posts for most wood fences; 6×6 for gate posts and corners recommended
  • Posts should be set at least 2 feet deep (1/3 of total post length underground)
  • Does not include corner posts or end posts separately — they are part of the total post count

Frequently Asked Questions

How far apart should fence posts be?

Standard fence post spacing is 8 feet for most wood fences. For taller or heavier fences (6–8 ft), 6-foot spacing provides more stability. Vinyl and metal fences may allow up to 8–10 feet between posts.

How many fence posts do I need for 100 feet of fence?

With standard 8-foot post spacing, you need 14 posts for 100 feet of fence (100 ÷ 8 = 12.5, rounded up to 13, plus 1 for the end post). Add 2 extra posts for each gate opening.

How deep should fence posts be?

Fence posts should be buried at least 2 feet deep, or about 1/3 of the total post length. For a 6-foot fence, use 8-foot posts with 2 feet underground. In cold climates, set posts below the frost line.