EveryFix

Fence Calculator

The Fence Calculator estimates how many posts and rails you need based on your total fence length and post spacing, plus an estimate of concrete bags for setting posts.

Intermediate1-2 minutesUpdated 2026-06-01

Advertisement

Ad space (banner)
ft
ft

Taller privacy fences often use 3; shorter picket fences may use 2.

Enter your details above and click “Calculate Fence Materials” to see your results here.

Advertisement

Ad space (rectangle)

How This Tool Works

Enter your total fence length, desired post spacing, and number of gates to see exactly how many posts, rails, and concrete bags to buy.

Formula & Method

Sections = fence length ÷ post spacing (rounded up). Posts = sections + 1, plus one extra per gate. Rails = sections × rails per section. Concrete bags = posts × 2.

Example Calculation

A 100 ft fence with posts every 8 ft needs 13 sections, 14 posts, and (at 3 rails per section) 39 rails, plus 28 bags of concrete.

Please note: This calculator provides estimates only and is not professional construction or engineering advice. Material needs vary by project, local building codes, and site conditions — consult a licensed contractor or engineer before starting your project.

Frequently Asked Questions

How far apart should fence posts be?+

Most residential fences use 6–8 ft post spacing. Taller or heavier fence panels may need closer spacing for stability.

How much concrete per fence post?+

A typical post hole takes about 2 bags of 60 lb concrete, though larger posts or deeper holes may need more.

Does this include the gate itself?+

No, this estimates structural posts and rails only. Gate hardware and the gate panel should be purchased separately based on the gate width.

Advertisement

Ad space (banner)