Fence Post, Section and Rail Calculator

Formula

N = ceil(Fence length/Maximum post spacing); P = N + 1; R = ceil(N × Rails per section × (1+Waste allowance/100))

Planning estimate. Check product specifications and local requirements before purchasing.

Worked example: Fence Material Calculator

Measurements in this example

Fence length30 m
Maximum post spacing2.5 m
Rails per section2
Waste allowance5 %

Calculated quantities

Fence sections12
Fence posts13
Horizontal rails26

What to check

This calculation uses: Fence length, Maximum post spacing, Rails per section, Waste allowance. It returns: Fence sections, Fence posts, Horizontal rails.

Measure each straight fence run and mark corners, ends and gates. Sloping ground may need shorter stepped sections.

The length is divided by maximum post spacing and rounded up to complete sections. One extra post closes the final section.

Posts and rails are planning quantities. Panels, pickets, fasteners, caps, braces and gate hardware depend on the chosen system.

Check exact post positions against boundaries, underground services and gate openings before drilling or digging.

Use the units beside each field. The values in the worked example are starting inputs; replace them with your measurements and the specifications of your material.

Compare alternatives

Open a tool, enter your measured dimensions, then save an estimate. Keep another version if you want to compare products or allowances.

Project sheet

Saved in this browser. Each entry keeps its own measurements. Quantities from different jobs are not added together.

Your sheet is empty. Save a calculation to keep it here.

The project sheet stays on this device. Clearing browser data removes it.