Fence Post Spacing & Count Calculator

Find out how many fence posts you need and the exact spacing for your fence length.

Calculate Your Fence

Example: 30 m length, 2.5 m spacing

Schematic — not to scale

Results

Number of Posts13
Actual Spacing2.50 m

You need 13 fence posts (including both ends), with a spacing of 2.50 m between posts, to build a 30.0 m fence.

How to Use

Get your fence post count and spacing in 3 simple steps.

1

Enter or Select

Enter the total fence length (e.g., 30 m) and the desired post spacing (e.g., 2.5 m).

2

Calculate

Click the Calculate button to instantly find the required number of posts and actual spacing.

3

Review & Share

Review the results and the fence diagram, then Share or Copy Link to save or send your calculation.

Reference Guide

Key formulas, guidelines, and tips for planning your fence.

Calculation Formula

Number of Posts = ⌈L ÷ S⌉ + 1

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.

Recommended Post Spacing

Fence typeTypical spacingNotes
Wood fence1.8–2.5 mCommon garden layout
Vinyl / PVC1.8–2.4 mFollow manufacturer guidance
Metal2.0–3.0 mCheck spans and loads
Wire / mesh2.5–3.0 mCheck wire tension

Illustrative planning ranges only. Confirm with your manufacturer and local requirements.

Tips & Notes

  • Both end posts are included.
  • Actual spacing is equal and never exceeds the maximum entered.
  • Corners and gates need separate planning.
  • Check local rules and manufacturer instructions.

Real-world Examples

See how the calculator works in common situations.

Example 1: Home Garden Fence

Example 1: Home Garden Fence

Total Fence Length
20.0 m
Desired Post Spacing (Max)
2.5 m
Number of Posts
9

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

Example 2: Farm or Field Fence

Example 2: Farm or Field Fence

Total Fence Length
50.0 m
Desired Post Spacing (Max)
3.0 m
Number of Posts
18

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

Example 3: Backyard Privacy Fence

Example 3: Backyard Privacy Fence

Total Fence Length
36.0 m
Desired Post Spacing (Max)
2.4 m
Number of Posts
16

Use 16 posts with 2.40 m spacing for a 36.0 m fence.

FAQ

Frequently asked questions about fence post spacing and calculation.

Does the calculated number of posts include the end posts?

Yes. One post is placed at each end of the straight run.

What spacing should I use for my fence?

Use the fence maker’s guidance and local requirements. The table gives illustrative ranges only.

What if my fence length is not an exact multiple of the spacing?

The tool rounds the number of segments up, then divides the full length equally.

How is the number of posts calculated?

Segments = ceiling(length ÷ maximum spacing). Posts = segments + 1.

Can I use a larger spacing than recommended?

Enter any maximum for an estimate, but verify safe spans for your materials and conditions.

Does this work for any type of fence (wood, vinyl, metal, or wire)?

It estimates geometry for a straight run only. Structural suitability varies by material.

What units can I use for length and spacing?

Enter metres or feet in either field; mixed units are converted before calculation.

Can I save or share my calculation results?

Share or Copy Link sends the page URL; your entered values are not included in that link.