Fence Post Spacing Calculator
Divide separate straight fence runs into equal bays without exceeding your entered center-to-center limit.
YOUR CALCULATION
Result
—
Calculation steps
Work through one step at a time or reveal the complete calculation. The steps use your current inputs.
How to calculate
Round the number of bays upward, then divide each run into equal center-to-center spacings.
Bays per run=ceil(length/maximum spacing); posts=runs×(bays+1)
Worked example
A 20 m run with maximum spacing 2.4 m needs 9 bays, 10 posts and spacing 2.22222222 m.
Assumptions and input details
Each run has two independent end posts. Shared corners, gate openings, post width, foundations, loads and local fence requirements are excluded.
Unit definitions
Unit selection is independent of language. Each selector contains only units for its physical quantity. Calculations use defined base units internally.
Choose from 23 length definitions, including explicitly labelled regional measures. Area conversions square the length factor; geometric volumes cube it.
Regional measures are not interchangeable merely because their names look similar. This is a documented selection, not a claim to include every historical unit.
NIST measurement tables · Japanese traditional units · Mainland China and Hong Kong unit distinctions
Using this calculator
Can I enter my own problem?
Yes. Replace the example values with your own inputs. The result, calculation steps, tables and applicable diagrams update from those inputs. Blank or invalid values clear the result; example values are never silently substituted for missing inputs.
Are the results exact?
Results use floating-point arithmetic and displayed rounding. Read the formula, assumptions and any stated data precision before interpreting the result.
Is my input uploaded?
The calculation runs in your browser. No account, file upload or external AI service is required. Inputs are not saved between page reloads.
Plan straight full-run deck boards, fixed gaps and the final ripped strip using actual board dimensions.
Separate geometric cut and fill wedges along a straight bed grade and compare entered loose-material factors.
Find a minimum identical-stock allocation under an explicit per-piece kerf reservation and end-trim convention.
Reserved advertising space.