Fence Post Spacing Calculator
Enter the fence length and your maximum post gap to get the post count and even spacing.
Result
How it is calculated
Enter the total length of one straight fence run and the largest gap your panels or rails allow, both in metres. The tool computes sections = ceil(length / max gap), rounding up so no gap exceeds the limit. Then posts = sections + 1, because a straight run needs a post at both ends, and spacing = length / sections, the even gap between posts, shown to two decimals. The even spacing is always at or below your maximum. The result is for an open, straight run: for several runs, corners or a closed loop, calculate each run separately, and a closed loop needs as many posts as sections. Gate posts, thicker corner posts and post thickness are not added.
Worked example
A fence run of 15.5 m with a maximum gap of 2.4 m. Sections = 15.5 / 2.4 = 6.46, rounded up to 7. Posts = 7 + 1 = 8. Even spacing = 15.5 / 7 = 2.21 m, which is under the 2.4 m limit. Marking out 2.21 m between centres, with a post at each end, uses all eight posts at the same interval and leaves no short gap at the end.
Common mistakes
- Counting one post per section: a straight run always needs one more post than sections, because both ends are posted.
- Entering the length in feet and the gap in metres: both fields must use the same unit, and the tool is labelled in metres.
- Using the panel width as the maximum gap without checking it is measured post centre to post centre.
- Adding up several runs into one length: corners and gates add posts, so each straight run should be calculated on its own.
- Rounding the spacing to a neat number and moving the last post: that leaves an uneven end gap, which the even spacing is meant to avoid.
About this calculator
Fence post spacing works backward from two numbers: the total fence run length and the maximum gap the rail or panel material allows between posts (commonly 6 to 8 feet for wood, tighter for wire mesh). The number of posts needed is the fence length divided by the maximum gap, rounded up, plus one for the closing post at the end; dividing the total length by the number of gaps then gives the exact even spacing that uses every post at the same interval instead of leaving an odd short gap at one end.
DIYers and fencing contractors use this calculation before ordering materials, because buying posts based on a rough guess either leaves you short mid-project or wastes money on posts you did not need, and an uneven final gap looks visibly wrong once the fence is built.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments