Fence Calculator

Free online Fence Calculator.

Calculator

How to Use

  1. Enter the total linear feet of fence needed
  2. Enter the fence height (3, 4, 6, or 8 feet)
  3. Enter the picket width, the gap, the post spacing and the number of sides
  4. View posts, rails, pickets and concrete bags, plus the estimated cost

Formula

Linear_Feet = total fence perimeter length
Posts = (Linear_Feet / Post_Spacing, rounded up) + 1
Rails = Posts x Rails_per_Section, where a fence up to 4 ft takes 2 rails and a taller one 3
Pickets = Sides x (Linear_Feet x 12 / (Picket_Width + Gap), rounded up)
Concrete = 1 bag per post (60lb mix for 4x4 posts)
Cost = Linear_Feet x Cost_per_Linear_Foot

Example Calculations

Backyard privacy fence

Input: 200 linear feet, 6 ft tall, double-sided privacy, 6" pickets with 1/2" gap, 8 ft post spacing

Result: 26 posts, 78 rails, 740 pickets, 26 bags concrete

Front yard picket fence

Input: 80 linear feet, 4 ft tall, single-sided picket, 3.5" pickets with 1.5" gap, 8 ft post spacing

Result: 11 posts, 22 rails, 192 pickets, 11 bags concrete

About This Calculator

Calculate fence materials including posts, rails, and pickets. Free fence calculator for wood, vinyl, and chain link fencing with cost estimation.

Our fence calculator is free, easy to use, and provides instant results. All calculations are performed in your browser for privacy and speed.

Related Calculators

Frequently Asked Questions

How many posts do I need for a 100-foot fence?

At 8-foot spacing: 100/8 = 12.5, rounded up to 13 line posts, plus the 1 end post the formula adds = 14 posts. Add a post wherever the fence changes direction.

How deep should fence post holes be?

Minimum 1/3 the post height above ground, or 2 feet for a 6-foot fence. In frost zones, dig below the frost line (typically 36-48 inches). Set posts in concrete.

What is the average cost per linear foot for fencing?

Chain link: $8-15/LF. Wood privacy: $20-35/LF. Vinyl: $25-50/LF. Aluminum: $30-50/LF. Cost varies by height, material quality, and terrain difficulty.

How many pickets for a 6-foot privacy fence?

For 6-inch wide pickets with 1/2" gap: 100 LF x 12 / 6.5 = 185 pickets per side. Double-sided privacy fence: 370 pickets for 100 linear feet.