Fence Post Calculator
Estimate how many fence posts you need based on fence length, post spacing, corners and gates, plus total material cost.
This fence post calculator converts your total fence length and post spacing into the number of line posts you need, then adds posts for corners and gates. Enter your measurements, pick a waste percentage for extra posts, and optionally add a price per post to estimate total material cost.
Your Estimate
Fence Length
100.0 ft
Line Posts Needed
13 posts
Corner Posts
4 posts
Gate Posts
2 posts
Total Posts Needed
19 posts
Total Posts Including Waste
20 posts
Assumes line posts are spaced evenly every 8 ft along the 100 ft fence line, with each gate requiring two posts.
Results Actions
Estimates are approximate. Actual post spacing, sizing and setting depth depend on fence material, height, soil conditions and local building code — always confirm before purchasing materials.
Common Fence Post Spacing
Post spacing depends on fence material, height, panel size and expected wind load — always confirm with your fence manufacturer and local building code before finalizing your layout.
How to Use the Fence Post Calculator
- 1Measure the total length of your fence line in feet (or meters).
- 2Choose your post spacing (6, 8 or 10 feet, or enter a custom spacing).
- 3Enter the number of corners and gates in your fence layout.
- 4Choose a waste percentage — 5% covers typical layout adjustments.
- 5Optionally enter a price per post to see an estimated material cost.
- 6Review the results: line posts, corner posts, gate posts and total posts with waste.
Example Calculation
Say you're building a 100 ft fence with posts spaced 8 feet apart, 4 corners and 1 gate, with a 5% waste factor. Line posts = 100 ÷ 8 + 1 ≈ 13 posts. Corner posts = 4. Gate posts = 2 (one per side of the gate). Total posts needed = 13 + 4 + 2 = 19 posts. With 5% waste, total posts including waste = 20 posts.
Accuracy & Assumptions
- Results are estimates only.
- Line post counts assume a post is placed at each end of every straight run, spaced evenly along the total fence length.
- Corner and gate posts are added on top of line posts and assumed to require one post each.
- Actual post spacing, sizing and setting depth vary with fence material, height, soil conditions and local wind load requirements.
- Consider ordering an additional 5–10% beyond the calculated waste for damaged posts or layout changes.
- Consult a licensed contractor and check local building codes and HOA rules before finalizing your fence plan.
Frequently Asked Questions
How many fence posts do I need?
Divide your total fence length by your chosen post spacing, then add one for the starting post. Add one post for every corner and two posts for every gate opening. For example, a 100 ft fence with 8 ft spacing needs about 100 ÷ 8 + 1 ≈ 13 line posts, plus posts for any corners and gates.
What post spacing should I use?
Wood privacy fences typically use 6-8 foot post spacing, while chain link fences often use 8-10 feet. Vinyl fence panels usually come in fixed widths, so follow the manufacturer's specified spacing. In high-wind areas, closer spacing adds stability — check your local building code.
Why do gates need two posts?
Every gate opening needs a post on each side to mount hinges and a latch. These gate posts are usually larger and set deeper than standard line posts to support the weight and swinging motion of the gate.
How much waste should I add for fence posts?
A 5% waste allowance covers occasional layout adjustments or a damaged post. Increase to 10% or more for irregular property lines, uneven terrain, or if you expect to make changes during installation.
Does this calculator account for post depth or concrete?
No — this calculator estimates only the number of posts needed based on fence length, spacing, corners and gates. Post setting depth and concrete quantities depend on post height, soil conditions and local frost line requirements, so check those separately.
This calculator provides an estimate for planning purposes only. Actual post counts, spacing and setting depth vary by fence material, height, soil conditions and local building code — always confirm final quantities with a licensed contractor before purchasing or building.