Fence Calculator

How much fence material do you need?

Enter fence length and height. Get posts, rails, pickets or panels, and stain — for wood, vinyl, and chain link fences.

The Short Answer: For a standard 6-foot wood privacy fence, plan on one 4×4 post every 8 feet, three 2×4 rails per section, and about 16 pickets per 8-foot section (at 5.5-inch spacing with ½-inch gaps). Each post needs 1–2 bags of 80 lb concrete. Add 10% for waste and gate posts.

Fence Calculator

Materials and stain coverage for any fence type.

linear feet
feet
adds 2 posts per gate
for installed cost estimate
Wood, vinyl & chain link
Posts, rails, pickets & stain
Free, no sign-up

How to Calculate Fence Materials

The key measurement is linear feet — the total distance around the area you are fencing. Measure each side of your yard and add them together. For irregular shapes, break the perimeter into straight runs and sum them.

Rails run horizontally between posts. A standard 6-foot privacy fence uses 3 rails per span — bottom, middle, and top. A 4-foot picket fence typically uses 2. Each span runs from one post to the next, so total rails equal spans times rails per span.

Post Spacing and Depth

Fence Material Cost Reference (2026)

Frequently Asked Questions

At 8-foot post spacing, a 200-foot fence needs 26 posts (200 ÷ 8 = 25 spans, plus 1 end post). Add 2 posts for each gate. So a 200-foot fence with one gate needs 28 posts total.

A quarter-acre lot is roughly 10,890 square feet. If it's a square, each side is about 104 feet — a perimeter of about 416 linear feet. At $20 to $30 per linear foot for a standard wood privacy fence, that's $8,300 to $12,500 installed. Vinyl runs higher at $10,400 to $18,700 for the same perimeter. Chain link is typically the most affordable option for large areas.

Standard 5.5-inch (1×6) privacy fence boards — also called dog-ear pickets — require about 2.2 pickets per linear foot of fence. For 100 linear feet: approximately 220 pickets. The calculator above uses your exact fence length and picket width to get the precise count. Add 10% for waste and any cuts needed at corners and gates.

Rough pressure-treated wood typically absorbs about 150 square feet per gallon. A 100-foot fence, 6 feet tall, has 600 square feet of surface per side — 1,200 square feet total if staining both sides. At 150 sq ft per gallon, that's 8 gallons per coat, or 16 gallons for two coats. The Stain Coverage tab of this calculator gives you the exact number for your fence dimensions.

Eight feet is the standard for most residential wood fences — it works well with standard 8-foot 2×4 rails and keeps post counts manageable. Six-foot spacing is better for fences in high-wind areas, fences over 6 feet tall, or where you want extra rigidity. The tradeoff is more posts and more concrete per linear foot of fence. For split-rail fences, 8-10 foot spacing is typical since rails are usually 11 feet long to allow for overlap at the posts.

The Bottom Line

Fence material lists have a lot of parts: posts, rails, pickets, fasteners, concrete, and gate hardware. The biggest mistake is underestimating post count — it's easy to forget corner posts, gate posts, and end posts, which brings the total higher than a simple division of fence length by post spacing. This calculator accounts for those extras. Use it to build your shopping list, then add 10% to the picket count for cuts and waste. Once you're buying materials, price the whole list at two or three suppliers — lumberyards often beat home centers on bulk fence material pricing.