Fence Calculator

Enter your fence length, post spacing, rail count, and picket width to instantly calculate how many posts, rails, and pickets you need.

Fence Parameters

Common: 6 ft or 8 ft between post centers.

Include gap in this value for spaced pickets. Standard 1×4 = 3.5 in.

Fill in your fence details and click Calculate to see your materials list.

Summary

Enter your fence length, post spacing, rail count, and picket width to instantly calculate how many posts, rails, and pickets you need.

How it works

  1. Enter the total length of the fence run in feet.
  2. Set the on-center post spacing (typically 6 or 8 feet).
  3. Choose how many horizontal rails span each bay (usually 2 or 3).
  4. Enter the width of each picket or board in inches.
  5. Optionally add a waste percentage (5–10% is standard).
  6. The calculator returns post count, rail count, and picket count — ready for your shopping list.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu