Fence materials calculator

Posts, rails and pickets for a fence run.

This field is for validation purposes and should be left unchanged.
Total run, all sides added together.
8 ft is standard; 6 ft for tall or windy sites.
2 up to 5 ft tall, 3 for 6 ft and over.
A 1×6 picket is 5.5 in wide, a 1×4 is 3.5 in.
0 for privacy, 2–3 in for a spaced picket fence.
50 lb bags. Two for a 4×4 in a 10 in hole, three for a 6×6.
Round up. Add one more for every gate and every corner that is not at the end of a run.
For WordPress sites

Put this calculator on your site

Get it as a ready-made Gravity Forms template. Import it, match your colors, publish.

  • Import-ready form file
  • Step-by-step build guide
  • Works with any theme
Get the template · $9 Read the free build guide Requires Gravity Forms (any license).
Advertisement
Download Monitor

How it's calculated

The run is divided by the post spacing to get the number of sections, and a fence needs one more post than it has sections. Rails are sections times rails per section. Pickets are the run in inches divided by the width of one picket plus the gap beside it. Concrete is posts times bags per post. Everything rounds up, and gates, corners and slopes add posts, so buy a few extra.

Sections = Length ÷ Spacing Posts = Sections + 1 Pickets = Length × 12 ÷ (Picket width + Gap)
How far apart should fence posts be?

Eight feet is the usual maximum for a wood fence and matches 8 ft rails and 16 ft boards. Use 6 ft spacing for fences over 6 ft tall, heavy privacy boards or windy sites, and 10 ft for a post-and-rail farm fence.

How deep should fence posts go?

A third of the post length and at least 2 ft, below the frost line where the ground freezes. A 6 ft fence uses 8 ft posts set 2 ft deep. A 10 in diameter hole takes about two 50 lb bags of concrete per post.

Does the tool include gates?

No. A gate replaces one section of fence but needs its own two posts, usually heavier ones set in more concrete, plus the gate hardware. Subtract the gate width from the run, then add two posts per gate.

Advertisement
Gravity Forms

Results are estimates for informational purposes only and are not financial, medical or legal advice.