Fence Calculator
A fence is posts, rails and pickets in a rhythm — miscount any of them and the last section waits on a lumber run. Enter the length, spacing and height for the full material count, including the concrete that holds it up.
Fence Calculator
Results
—
How It Works
Posts come first: divide the length by your spacing and round up for sections, then add one post — every run starts and ends with one. Rails bridge each section (two for fences up to 6 ft, three at 8 ft). Pickets are a coverage count like decking: each picket covers its width plus one gap, so pickets = length in inches ÷ (width + gap), rounded up. Concrete is the boring multiplier nobody remembers: posts × bags per post.
Worked Example
A 100 ft, 6 ft privacy fence on 8 ft spacing: sections = ceil(100 ÷ 8) = 13, posts = 14, rails = 13 × 2 = 26. Pickets at 5.5 in + 0.5 in gap: 1,200 ÷ 6 = 200 pickets. Concrete at 1 bag per post: 14 bags. A shorter 48 ft fence on 6 ft spacing: 8 sections, 9 posts, 16 rails, 96 pickets.
Reference Table
Post depth rule — Set posts with at least ⅓ of their length in the ground and below the frost line, whichever is deeper: a 6 ft fence typically wants an 8 ft post in a 2 ft hole. Spacing guide — 6 ft: sturdier, more posts · 8 ft: standard maximum for wood.
Frequently Asked Questions
How deep should fence posts be?
The ⅓ rule plus frost line: at least a third of the post underground, and the hole bottom below your local frost depth. A 6 ft fence usually means an 8 ft post set 2 ft down — deeper in cold climates.
Can I space posts 10 ft apart to save money?
For wood, no — rails sag and pickets warp between wide spans. Eight feet is the practical maximum this calculator assumes; chain-link and farm fencing follow different rules.
Do I need concrete for every post?
Corner, gate and end posts always; line posts can be set in compacted gravel in some soils. Concrete everywhere is the safe default this calculator counts — gates especially punish a soft post.
What about gates?
A gate replaces one section's pickets with a framed leaf and hardware, and its posts should be the deepest and best-set on the run. Count the gate section's materials separately.
Safety Note
These calculators are planning and estimating aids based on the references shown. They are not a substitute for the current code, local amendments, or a licensed contractor. Verify every result before ordering material or starting work.