Fence Calculator
Building a fence? This calculator estimates the posts, rails, and pickets you need based on your total fence length and desired height. It uses standard 8-foot post spacing.
Enter Your Measurements
Results
How to Use This Calculator
- Measure the total length of fence needed in feet.
- Choose fence height (4, 6, or 8 feet are standard).
- Enter picket width — 3.5 inches is standard for a 1×4 or dog-ear picket.
- Enter gap between pickets (0 for a privacy fence).
- Review the material estimates.
How Fence Calculation Works
Fence posts are typically set 8 feet apart (6 feet for vinyl or windy areas). Each section between posts gets 2 horizontal rails (3 rails for fences over 6 feet). Pickets span the full length. Posts should be buried at least 1/3 of the total height (a 6-foot fence needs posts set 2 feet deep, so buy 8-foot posts). Each post hole typically needs one 50-lb bag of fast-setting concrete.
Formula
Posts = (Total Length ÷ 8) + 1. Rails = (Posts - 1) × 2 (for 2 horizontal rails). Use 3 rails for fences over 6 feet. Pickets = Total Length ÷ (Picket Width + Gap) in feet.
Frequently Asked Questions
How deep should fence posts be?
How much does a wood fence cost per foot?
How far apart should fence posts be?
Related Calculators
Concrete Calculator
Calculate how much concrete you need for slabs, footings, columns, and more.
Deck Calculator
Calculate decking boards, joists, posts, and materials for your deck project.
Lumber & Board Foot Calculator
Calculate board feet, total cost, and quantity for lumber and framing projects.
Paver Calculator
Calculate how many pavers you need for patios, walkways, and driveways.