Skip to main content

Fence Calculator

Calculate posts, rails, pickets, and concrete for your fence project. Works for wood privacy fences, picket fences, and board-on-board styles.

🪵 Enter Your Fence Dimensions

8 ft is standard; use 6 ft for windy areas

How to Calculate Fence Materials

Our fence calculator helps you estimate posts, rails, pickets, and concrete for your wood fence project. Whether building a privacy fence, picket fence, or board-on-board style, accurate material calculations save time and money.

Fence Post Spacing

  • 6 ft spacing: For tall fences (8 ft), windy areas, or heavy gates
  • 8 ft spacing: Standard for most residential fences
  • 10 ft spacing: For lightweight or decorative fences only

Rail Requirements

Fences under 5 ft typically use 2 horizontal rails. Fences 6 ft and taller should use 3 rails for stability. Rails can be 2x4s (lighter fences) or 2x6s (heavier pickets or windy areas).

Post Depth and Concrete

Fence posts should be buried at least 1/3 of their total length, with a minimum of 2 ft in the ground. Each post hole should be 3x the post width (12 inches for 4x4 posts) and filled with concrete for maximum stability.

Common Fence Styles

  • Privacy fence: No gaps between pickets
  • Board-on-board: Overlapping boards for privacy from both sides
  • Shadowbox: Alternating boards on each side of rails
  • Picket fence: 2-3 inch gaps between pickets

The Fence Material Formula

This calculator estimates a wood fence with the following steps:

  1. Posts: fence length divided by post spacing, rounded up, plus 1 for the end of the run
  2. Rails: number of sections (posts minus 1) times rails per section — 2 rails for fences under 6 ft, 3 rails for 6 ft and taller
  3. Pickets: fence length in inches divided by (picket width + gap), plus 5% waste, rounded up
  4. Concrete: 2 50-lb bags per post, plus 2 extra bags per gate for the gate posts

Worked Example: 100 ft Privacy Fence

A 100 ft long, 6 ft tall privacy fence with 8 ft post spacing, 5.5" pickets, no gap, and 1 gate:

  • Posts: 100 / 8 = 12.5, rounds to 13 sections, plus 1 = 14 posts
  • Rails: 13 sections x 3 rails = 39 rails
  • Pickets: 1,200 inches / 5.5" = 218, plus 5% waste = 230 pickets
  • Concrete: 14 posts x 2 bags + 2 extra for the gate = 30 bags

At the 2026 installed range of $15-$60 per linear foot, 100 ft of fence runs roughly $1,500 to $6,000 depending on material, region, and site conditions.

Fence Cost Factors and Common Mistakes

Material drives most of the budget: chain link is the cheapest, pressure-treated wood sits in the middle, and vinyl or composite cost the most per foot. Height, slopes and rocky soil, the number of gates, and old fence removal all move the price. Cost also varies by region, and many areas require a permit.

  • Waste factor: 5% on pickets covers warped or split boards; buy a few extra pickets for future repairs
  • Common mistakes: building on the wrong side of the property line, skipping the 811 utility locate call, and setting posts too shallow for the local frost line
  • Gate planning: gate posts carry extra load — set them deeper and use more concrete than line posts
  • Wind: solid privacy fences catch wind like a sail; use 6 ft post spacing in exposed areas

Frequently asked questions

How many fence posts do I need for 100 feet of fence?⌄
With standard 8 ft post spacing, a straight 100 ft fence run needs 14 posts: 13 sections of fence plus one post at each end. Add an extra post for every corner, gate, or change of direction in the fence line.
How deep should fence posts be set?⌄
Bury at least 1/3 of the total post length, with a minimum depth of 24 inches. For a 6 ft fence that means an 8 ft post set 2 ft in the ground. In cold climates, dig below the frost line to prevent posts from heaving.
How much does a fence cost per foot in 2026?⌄
In 2026, installed fencing typically runs $15 to $60 per linear foot depending on material. Chain link sits at the low end ($15-$30), wood privacy fences run $25-$45, and vinyl or composite fences run $35-$60 per foot installed.
How many pickets do I need per foot of fence?⌄
For 5.5 inch wide pickets with small gaps, plan on about 2.2 pickets per linear foot. A privacy fence with no gaps uses roughly 2.2 pickets per foot, so a 100 ft fence needs around 220 pickets plus 5% waste.
How many bags of concrete do I need per fence post?⌄
Plan on 1 to 2 80lb bags of concrete per 4x4 fence post in a 24-30 inch deep, 10-12 inch wide hole. Use the higher amount for corner posts, gate posts, and taller fences that catch more wind.

See What Your New Fence Could Look Like

Upload a photo and visualize your fence style and backyard design with AI

Try AI Design Tool