Garden & OutdoorLast reviewed: November 2026

Fence Calculator

The Fence Calculator generates a complete bill of materials for privacy and picket fences. Enter your property perimeter to get an itemized count of 4x4 treated posts, 2x4 stringer rails, dog-ear pickets and rapid-set post concrete — including gate deductions and the extra boards that board-on-board and shadowbox styles need.

Key facts:
  • A 150-ft privacy fence needs 20 posts, 57 rails, 345 pickets and 40 bags of concrete.
  • Use 3 rails on a 6-ft fence to stop pickets warping.
  • Bury posts one-third of their height and below the frost line.
  • Board-on-board needs about 50% more pickets; shadowbox needs about twice as many.

Loading calculator…

Share or Export Current Results

Share Fence Calculator directly or copy link to clipboard

TwitterLinkedInFacebookWhatsApp

Calculation Formula & Mathematical Engine

Theoretical equation governing this computation.

Posts = \lceil L_{ft}/8 \rceil + 1, \quad Pickets = \frac{L_{ft} \times 12}{W_{picket} + Gap} \times 1.05

Variable Definitions

Posts4x4 or 6x6 fence posts spaced 6-8 feet on center
PicketsVertical fence boards including 5% cutting waste
L_{ft}Total linear perimeter footage of fenced boundary

Step-by-Step Calculation Example

Materials for a 150-Foot 6-Foot Privacy Fence

Scenario: Building a 150-foot perimeter fence with 8-foot post spacing, 1x6 pickets, and 3 rails per section.
Perimeter150 ft
Post Spacing8 ft
Fence Height6 ft (3 rails)
Picket Width5.5" (1x6 actual)
Execution Steps
  1. 1Sections: 150 ÷ 8 = 19 sections (20 posts needed)
  2. 2Rails: 19 sections × 3 rails = 57 rails (2x4x8ft)
  3. 3Pickets: (150 × 12) ÷ 5.5 = 328 pickets (+5% = 345 pickets)
  4. 4Concrete: 20 posts × 2 bags = 40 bags (50-lb fast-setting)
Final Verified Output:20 Posts | 57 Rails | 345 Pickets | 40 Concrete Bags

How to Plan and Build a Fence

Follow these steps to get your result.

  1. 1Measure the total perimeter and mark where gates will go.
  2. 2Choose the fence style and picket gap — privacy, spaced picket, board-on-board or shadowbox.
  3. 3Enter the perimeter, style and height to get the posts, rails, pickets and concrete count.
  4. 4Call 811 before digging, then set posts one-third buried and below the frost line.
  5. 5Attach rails and pickets, and fit heavier gate posts with hinges and a latch at each opening.

Comprehensive Practical Guide

In-depth analysis, domain guidelines, standard practices, and common pitfalls.

Setting Fence Posts Below Regional Frost Lines

Fence posts must be buried to at least 1/3 of their total height (and below local frost depth, typically 36" to 42" in northern climates) to prevent winter frost heaving.

Privacy, Spaced Picket, Board-on-Board or Shadowbox: How Style Changes the Count

Privacy fences butt pickets edge to edge, so the count is the fence length divided by the picket width. A spaced picket fence adds the gap to the width: pickets = (length × 12) ÷ (picket width + gap), so a 2-inch gap on 5.5-inch pickets uses about a quarter fewer boards than privacy. Board-on-board overlaps each picket over the next and needs roughly 50% more boards, while a shadowbox fence puts pickets on both sides of the rails and needs about twice the boards of a single-sided fence.

How Do Gates Change the Materials Count?

Deduct the gate opening from the picket run before counting boards: a 4-ft walk gate removes 4 ft of pickets and one rail span, but adds two heavier gate posts (6×6 is standard), hinges and a latch. A 10- to 12-ft drive gate needs the same treatment plus a diagonal brace and a drop rod. Measure each gate opening separately rather than guessing it from the total perimeter.

Frequently Asked Questions About Fence Calculator

Direct, verified answers to common calculation and methodology questions.

Always use 3 rails on 6-foot fences to prevent the pickets from warping and bowing.
Authoritative Sources & Data References:
  • American Fence Association (AFA) Wood Fence Specification Manual
  • Method: posts = ceil(length ÷ spacing) + 1; pickets = (length × 12 ÷ picket width) × 1.05 waste.

Disclaimer: Call 811 before digging post holes to locate underground utilities.