Fence Calculator

Turn a fence run and gate opening into post, rail, picket and footing quantities.

DIYProjectCalcs

Fence Calculator · material shopping list

Length
80 ft
Height
6 ft
Gate width
0 ft
Maximum post spacing
8 ft
Picket width
5.5 in
Picket gap
0.25 in
Rails per section
3
Waste allowance
10%
Try a size

Project inputs

10%

5% for simple layouts · 10% typical · 15% for complex cuts

Customize local unit prices

Planning allowances in US dollars. Enter supplier and contractor rates for your location.

Fence posts11 posts
Live blueprintFront elevation
Fence elevationElevation of a 80 ft long by 6 ft high fence.80 ftPost bays 8 ft · footing depth shown 30 in6 ft
Fence posts11 posts
10% waste allowance

Material shopping list

  • 4×4 line and end posts11 posts
  • 2×4 rails30 rails
  • Pickets including waste184 pickets
  • 50 lb fast-setting concrete allowance22 bags

One straight run with an optional end gate. The gate opening uses two posts. Gates and hardware are priced separately. The two-bag allowance per post depends on actual footing and post dimensions.

Project budget

USD
DIY materials$1,232.00
Pro installed$2,560.00

Estimated DIY savings $1,328.00

Quantity breakdown

Picketed run
80 ft
Fence bays
10 bays

Quick answer

A straight 80-foot run with posts at no more than 8 feet on center has ten bays and eleven posts before gates or corners. Rail counts depend on rows per bay. Pickets depend on their installed face width and gap. Confirm gate hardware and footing sizes before ordering concrete.

Project tool checklist

  • Post-hole digger
  • Post level
  • Mason’s line
  • Exterior fasteners

Quick reference table

Examples use the displayed project presets, default product sizes and 10% order allowance. Costs use the calculator’s example unit rates in US dollars.

Fence Calculator quick reference
Project presetMain estimateDIY materialsInstalled budget
32 ft run5 posts$492.8$1,024
80 ft run11 posts$1,232$2,560
120 ft run16 posts$1,848$3,840

How to use the Fence Calculator

  1. Measure each straight run independently, mark shared corners, and record every gate opening. Use actual picket width and the intended gap.
  2. Choose your units, enter the measured dimensions, and review the live drawing. Set a waste allowance and enter local prices.
  3. Count gate and end supports individually on the sketch. Check post embedment and concrete yield against the local footing detail.
Formula & engineering reference

Straight bays = ceiling(run ÷ maximum post spacing). Posts = bays + 1. Rails = bays × rail rows. Pickets use net fence length divided by picket width plus gap, then the material allowance.

Project questions

Why is there one more post than bays?

Each bay needs two ends, but adjacent bays share a post. A free-standing straight run has one post at each end and one between bays.

Is two bags per post a footing design?

Two 50 lb bags is a buying allowance. Required volume depends on hole diameter, depth, post displacement and the approved footing detail.

How can I avoid double-counting a corner?

Estimate each run and mark its shared end on a plan. Count a physical corner post once unless the detail actually specifies two posts.

How does a gate change the estimate?

Its clear opening removes picket and rail coverage. Mark the hinge and latch posts separately, including any larger posts or dedicated footing details.

Will eight-foot rails fit every bay?

Actual cut length depends on whether rails attach to post faces, fit between posts, or use brackets. Record a measured bay and the connection detail before buying stock.