Skip to content
CalcTide logo
Construction & Home

Fence Calculator

A 100-foot privacy fence with 8-foot post spacing needs 14 posts, 26 rails, and about 357 pickets using standard 3.5-inch boards. Enter your fence length and spacing to get a full materials count for posts, horizontal rails, and vertical pickets. The calculator works for privacy fences (no gap) and spaced picket fences alike.

Construction & HomeBy

Quick answer

Posts are set at regular intervals along the fence line, plus one at each end.

What this tells you

  • Posts are set at regular intervals along the fence line, plus one at each end.
  • Each section between posts gets horizontal rails and a row of vertical pickets.
  • Picket count depends on board width and the gap between boards.

How to Use

  1. 1Enter the total linear footage of your fence.
  2. 2Set the fence height in feet (6 feet is the most common privacy fence height).
  3. 3Enter the post spacing in feet (8 feet is standard for most residential fences).
  4. 4Choose the number of horizontal rails per section (2 for fences under 6 feet, 3 for taller fences).
  5. 5Set the picket width in inches and the gap between pickets (0 for a solid privacy fence).

How It Works

Formula

Posts = ceil(Fence Length / Post Spacing) + 1 Sections = Posts - 1 Rails = Sections x Rails per Section Total Pickets = ceil(Sections x (Post Spacing x 12) / (Picket Width + Gap))

The calculator divides the fence into equal sections based on post spacing, then figures out how many pickets fill each section based on board width and gap size. The total is rounded up so you buy full boards.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

100-foot privacy fence

Fence Length100 ft
Height6 ft
Post Spacing8 ft
Rails per Section2
Picket Width3.5 in
Picket Gap0 in
Result14 posts, 13 sections, 26 rails, 357 pickets

50-foot spaced picket fence

Fence Length50 ft
Height4 ft
Post Spacing8 ft
Rails per Section2
Picket Width3.5 in
Picket Gap1.75 in
Result8 posts, 7 sections, 14 rails, 128 pickets

Fence Materials by Length (6 ft height, 8 ft spacing, 3.5 in pickets, privacy)

Quick reference for standard privacy fences with 4x4 posts at 8-foot spacing and 1x6 (3.5-inch actual) pickets with no gap.

Fence LengthPostsSectionsRails (2 per)Pickets
50 ft8714192
100 ft141326357
150 ft201938522
200 ft262550686

These counts assume straight runs with no gates or corners. Add one extra post for each gate opening and each corner.

How Far Apart Should Fence Posts Be?

Most residential wood fences use 8-foot post spacing because standard lumber comes in 8-foot lengths. That means each horizontal rail spans one section without cutting. For areas with high wind, 6-foot spacing gives more strength at the cost of extra posts and labor.

Corner posts and gate posts are always set at the exact corner or opening, regardless of the regular spacing pattern. That often creates one shorter section next to the corner or gate.

Posts should be buried at least one-third of their total length. For a 6-foot fence, use an 8-foot post and set it 2 feet deep. In frost-prone areas, dig below the frost line (typically 36 to 48 inches) to keep posts from heaving.

Wind load matters more than most builders expect. A solid privacy fence acts like a sail. If your area gets sustained winds above 30 mph, consider dropping to 6-foot spacing or adding a third rail for extra rigidity.

Common mistakes

  • Forgetting to add extra posts for gate openings on each side of the gate
  • Not accounting for corner posts that break the regular spacing pattern
  • Ignoring ground slope, which increases the actual fence length compared to the horizontal distance
  • Using 2 rails on fences taller than 6 feet instead of 3 for proper wind resistance
  • Buying exactly the calculated number of pickets without adding 5-10% for waste and bad boards

Frequently Asked Questions

A 100-foot privacy fence using standard 3.5-inch pickets with no gap needs about 357 pickets. The exact count depends on your post spacing and whether you leave a gap between boards. With a 1.75-inch gap for a semi-private look, the count drops to around 229.
8 feet is the standard spacing for most residential wood fences. This matches standard lumber lengths so rails do not need cutting. In windy areas, reduce spacing to 6 feet for added strength.
Fence posts should be buried at least one-third of their total length. For a 6-foot fence, use 8-foot posts and set them 2 feet deep. In areas with frost, dig below the frost line, which is typically 36 to 48 inches deep.
Most fences under 6 feet tall use 2 horizontal rails per section, one near the top and one near the bottom. Fences 6 feet and taller benefit from a third rail in the middle, especially in areas with strong winds.
Add the picket width and gap size together, then divide the section width (post spacing in inches) by that number. For example, with 3.5-inch pickets and a 1.75-inch gap in an 8-foot (96-inch) section, you get 96 / 5.25 = about 19 pickets per section.
4x4 pressure-treated posts work for fences up to 6 feet tall. For 8-foot privacy fences or high-wind areas, use 6x6 posts for better rigidity. Post length should be fence height plus burial depth (at least 2 feet for a 6-foot fence).
It estimates fence calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Construction & Home