Fence Calculator
Calculate the materials needed for your fence project. Enter the total fence length, height, and post spacing to get counts for posts, rails, pickets, and concrete bags.
Input Values
Results
How to Use This Calculator
How to Use the Fence Calculator
- **Measure the Total Fence Length** — Walk the perimeter where the fence will go and measure the total distance in feet. Include all straight runs.
- **Choose the Fence Height** — Standard privacy fences are 6 feet tall. Enter your desired height in feet.
- **Set the Post Spacing** — The default is 8 feet, which works for most standard privacy fences. Use 6 feet for taller fences or high-wind areas.
- **Review the Materials List** — The calculator provides counts for posts, rails, pickets, and concrete bags.
- **Plan for Gates** — Subtract gate openings from your total fence length. Each gate requires 2 additional posts (gate posts should be 6×6 for strength).
Before You Build - Check local building codes and HOA rules for height restrictions and setback requirements. - Call 811 to have underground utility lines marked before digging post holes. - Survey your property lines or check your plat map to avoid building on a neighbor's land.
Tips & Best Practices
- ✓Set corner and end posts first, then run a string line between them to align the intermediate posts.
- ✓Use pressure-treated lumber rated for ground contact (UC4A or higher) for all posts.
- ✓Pre-stain or paint pickets before installation — it is much easier than painting them after they are attached.
- ✓Install posts with a slight outward lean (about 1 degree) so the fence appears perfectly straight to the eye.
- ✓Leave a 2 inch gap between the bottom of the pickets and the ground to prevent moisture wicking and rot.
Frequently Asked Questions
How far apart should fence posts be?
Fence posts are typically spaced 6–8 feet apart. 8 feet is the most common spacing for wood privacy fences. Use 6 ft spacing in high-wind areas or for fences taller than 6 feet for extra stability.
How deep should fence posts be set?
A general rule is to bury 1/3 of the total post length. For a 6 ft fence, use 9 ft posts and set them 3 feet deep. In areas with frost, dig below the frost line to prevent heaving.
How many pickets do I need for a 100 ft fence?
Using standard 3.5 inch pickets with 0.25 inch gaps, you need approximately 320 pickets for 100 linear feet of fence. This calculator accounts for both picket width and gap spacing.
Do I need concrete for fence posts?
Concrete is recommended for most fence posts, especially in soft or sandy soil. Use 1 bag of 50 lb concrete per post for fences up to 6 ft and 2 bags per post for taller fences. Some builders prefer tamped gravel for drainage.
What is the cheapest type of fence to build?
Pressure-treated pine is the most affordable wood fence material. A basic 6 ft privacy fence costs roughly $10–$15 per linear foot for materials. Cedar costs more upfront but lasts longer and resists rot naturally.