Enter or Select
Enter the total fence length (e.g., 30 m) and the desired post spacing (e.g., 2.5 m).
Find out how many fence posts you need and the exact spacing for your fence length.
Schematic — not to scale
You need 13 fence posts (including both ends), with a spacing of 2.50 m between posts, to build a 30.0 m fence.
Get your fence post count and spacing in 3 simple steps.
Enter the total fence length (e.g., 30 m) and the desired post spacing (e.g., 2.5 m).
Click the Calculate button to instantly find the required number of posts and actual spacing.
Review the results and the fence diagram, then Share or Copy Link to save or send your calculation.
Key formulas, guidelines, and tips for planning your fence.
L = total fence length; S = maximum desired spacing. Divide, round up to whole segments, then add one end post.
Example: L = 30 m, S = 2.5 m. 30 ÷ 2.5 = 12 → 12 + 1 = 13 posts.
| Fence type | Typical spacing | Notes |
|---|---|---|
| Wood fence | 1.8–2.5 m | Common garden layout |
| Vinyl / PVC | 1.8–2.4 m | Follow manufacturer guidance |
| Metal | 2.0–3.0 m | Check spans and loads |
| Wire / mesh | 2.5–3.0 m | Check wire tension |
Illustrative planning ranges only. Confirm with your manufacturer and local requirements.
See how the calculator works in common situations.

Use 9 posts with 2.50 m spacing for a 20.0 m fence.

Use 18 posts with 2.94 m spacing for a 50.0 m fence.

Use 16 posts with 2.40 m spacing for a 36.0 m fence.
Frequently asked questions about fence post spacing and calculation.
Yes. One post is placed at each end of the straight run.
Use the fence maker’s guidance and local requirements. The table gives illustrative ranges only.
The tool rounds the number of segments up, then divides the full length equally.
Segments = ceiling(length ÷ maximum spacing). Posts = segments + 1.
Enter any maximum for an estimate, but verify safe spans for your materials and conditions.
It estimates geometry for a straight run only. Structural suitability varies by material.
Enter metres or feet in either field; mixed units are converted before calculation.
Share or Copy Link sends the page URL; your entered values are not included in that link.