Skip to content
Home Improvement

Fence Calculator

Estimate the posts, sections, and rails for a straight run of fence from its length and post spacing.

Your details

About the Fence Calculator

Enter the fence length and post spacing to get the number of posts, sections, and rails. Add posts for corners and gates, and set posts in concrete for stability.

How it’s calculated

Sections = length ÷ spacing (rounded up). Posts = sections + 1 for a straight run. Rails = sections × rails per section.

Example calculation

A 100 ft fence at 8 ft spacing needs 14 posts and 13 sections.

Frequently asked questions

What about corners and gates?

Add one extra post at each corner, and a gate takes the place of a section with its own posts. This estimate covers a single straight run.

How much concrete per post?

It depends on post and hole size, but many fence posts use about half a 60 lb bag each. Use the concrete calculator with your hole dimensions to be sure.

This is a general material estimate for planning only. Actual quantities vary with waste, offcuts, site conditions, product coverage, and technique. Confirm measurements and coverage rates before ordering, follow local building codes, and round up — running short mid-project is costly.