Fence Post Spacing Calculator
Find the total posts and equal centre-to-centre spacing for one straight run. Enter the length between the two endpoint-post centres and a chosen maximum spacing. Both end posts are included; no spacing is recommended for your fence.
How to calculate posts and equal spacing
- Enter the run length from the centre of the first end post to the centre of the last. Choose the matching unit. Outside-edge measurements and clear openings are not the same length.
- Enter the maximum centre-to-centre spacing chosen for your plan. Its unit is independent of the run unit. The calculator does not choose a suitable maximum or check a fence design.
- Read total posts, equal intervals and spacing. Both end posts count toward the total. Use Same as run or choose another spacing unit; open Calculation details for the exact run-divided-by-intervals expression.
Why the count includes one more post
The number of intervals is run length divided by maximum spacing, rounded up to a whole interval. Total posts equals intervals plus one because an open straight run has a post at both ends.
Dividing the run equally across those intervals gives spacing no greater than the entered maximum. The maximum is a limit, not an exact fixed panel width or a preferred gap. No post width is subtracted.
The displayed spacing is rounded down to at most three decimal places in its selected unit. Very small positive spacing is shown as less than 0.001 unit, never zero. Counts use the original entered measurements, not the rounded spacing.
Exact spacing is the original run divided by the interval count. Repeatedly stepping out the rounded display value can move the last position away from the entered endpoint. This page is a layout-count aid, not a detailed setting-out or construction plan.
Worked straight-run examples
For a 100 ft run and an 8 ft maximum, 100 ÷ 8 is 12.5. Round up to 13 intervals, giving 14 total posts. Equal spacing is 100 ÷ 13 ft, displayed as about 7.692 ft after downward display rounding.
For a 96 ft run and the same chosen 8 ft maximum, there are 12 intervals and 13 total posts. The exact equal spacing is 8 ft. These maximum values are arithmetic examples, not installation recommendations.
A 30 m run with a chosen 2.4 m maximum needs 13 intervals and 14 total posts. Exact spacing is 30 ÷ 13 m; the displayed spacing is about 2.307 m. If the maximum is at least the run length, the result is one interval and two posts.
One open run, not a complete fence design
The tool counts one straight run between endpoint centres. Gates, corners, closed loops, shared endpoints and fixed existing intermediate posts are not modelled. Do not blindly sum runs and count a shared post twice. A total post count is not automatically a new-post shopping quantity.
It does not check panel or rail fit, post widths, height, loads, ground conditions, foundations, property boundaries or code and structural requirements. A maximum entered here is not a recommendation or a guarantee that a fence will be suitable.
Browser-side calculation
The calculator performs arithmetic in your browser and does not intentionally upload or save these inputs. Copy result uses the clipboard only when requested. Normal site services and consent settings remain separate.
Fence post count questions
Sources
These sources explain the arithmetic and unit conversions used here.
- bconstructive.co.nzBCITO / BCATS: Timber Fence learning resource, page 11
- nist.govNIST: SI conversion factors, section B.8
Checked 27 October 2026.
These sources do not certify a fence design or recommend the spacing entered here.
Related tools
Picture Hanging & Frame Spacing Calculator
Calculate frame edges, even row spacing and placement above furniture in cm or inches. Optional support-point heights are clearly distinguished from fixing holes.
Open tool — Picture Hanging & Frame Spacing CalculatorBoard & Batten Spacing Calculator
Plan evenly spaced decorative battens from a measured wall section and actual strip width.
Open tool — Board & Batten Spacing CalculatorCurtain Width & Panel Calculator
Plan flat curtain width, panels and packs, or check curtains you own.
Open tool — Curtain Width & Panel CalculatorTablecloth Size & Fit Calculator
Find a finished tablecloth size or compare up to three cloths with your measured table.
Open tool — Tablecloth Size & Fit CalculatorFrame & Mat Size Calculator
Choose a frame or size a single-opening mat for a measured artwork sheet.
Open tool — Frame & Mat Size CalculatorWindow Screen Mesh & Material Calculator
Find the mesh cut size from three measurements, then optionally plan complete rolls and separately measured retaining cord for identical rectangular screens.
Open tool — Window Screen Mesh & Material CalculatorFlooring Pack Calculator
Calculate whole flooring packs from area and coverage per pack, with an optional extra percentage you choose.
Open tool — Flooring Pack CalculatorBucket Test Flow Rate Calculator
Measure tap or hose flow from water collected and elapsed seconds. Supports litres, millilitres, US gallons and Imperial gallons.
Open tool — Bucket Test Flow Rate CalculatorRug Pad Size Calculator
Calculate a rectangular rug pad cut size from actual rug dimensions and inset per edge. Supports cm, inches and feet.
Open tool — Rug Pad Size CalculatorTank Fill Time Calculator
Estimate tank or pool filling time from the volume to add and measured flow, with optional water use.
Open tool — Tank Fill Time CalculatorRectangle Area Calculator
Find the area of a rectangle or square from two measurements, including mixed units and feet and inches.
Open tool — Rectangle Area CalculatorBoard Foot Calculator
Calculate lumber volume from thickness, width, length and the number of identical boards, with inch fractions or metric units.
Open tool — Board Foot CalculatorConcrete Calculator
Estimate concrete volume and bags from pour dimensions and stated mixed yield.
Open tool — Concrete CalculatorRoof Pitch Calculator
Convert roof rise and horizontal run or a known angle into pitch, degrees or percent grade.
Open tool — Roof Pitch CalculatorPaint Calculator
Estimate paint volume from net surface area, coverage per coat and number of coats.
Open tool — Paint CalculatorGrout Calculator
Estimate dry grout powder from tile joints, area and a product coverage factor, with a separate allowance and optional whole-bag estimate.
Open tool — Grout CalculatorWallpaper Roll Calculator
Estimate wallpaper rolls from wall widths, height and roll dimensions. Include trim, straight or half-drop repeats, with clear allowances and whole-roll counts.
Open tool — Wallpaper Roll Calculator