Outdoor

Fence Calculator

Estimate fence posts, panels or pickets and concrete bags from fence length and height.

Last updated October 23, 2026. Every result below shows the formula behind it, so you can double check the math.

Formula shown Worked example included Free to use

Fence Posts, Pickets, Panels and Concrete Estimator

Enter the total fence length and style. Sections are figured at 8 feet, the standard post spacing.

ft

Your Estimate

0 posts to buy
Sections (8 ft)-
Pickets (with 10% extra)-
Backing rails (2x4 x 8 ft)-
Concrete (80 lb bags)-
Post length to buy-
Estimated materials cost-

Cost uses 2026 national retail ballparks checked October 2026: posts $12 to $20, pickets $2 to $4 each, panels $55 to $95, rails $8 to $12, concrete $6 to $8 per bag. Gates, hardware, caps and delivery are extra. Call 811 before you dig.

The Formula Behind This Calculator

Sections = round up (fence length / 8 ft)

Posts = sections + 1 for a straight run

Pickets = fence length x 12 / (picket width 5.5 in + gap 0.5 in) x 1.10 waste

Rails = sections x 2 (3 rails for an 8 ft fence), concrete = posts x bags per post for the height

A fence is a repeating bay: post, section, post. That one structure explains every number on this page. Posts are spaced 8 feet apart because rails and panels come in 8 foot lengths and lumber longer than that sags and warps between posts. The run therefore takes one more post than it has sections, the classic fence post error in reverse. Pickets are a coverage calculation just like deck boards: each picket covers its own width plus one gap, and the 10 percent extra covers the warped and split boards in every bundle. Concrete scales with the post count and height, because a taller fence is a bigger sail and needs a heavier footing to stay plumb.

Worked Example: 100 Feet of 6 Foot Privacy Fence

A backyard run of 100 feet, built as a 6 foot picket privacy fence with posts 8 feet apart. No gate in this run, corners counted in other runs.

  1. Sections: 100 / 8 = 12.5, round up to 13 sections.
  2. Posts: 13 + 1 = 14 posts, bought as 8 foot 4x4s so about 2 feet can be buried.
  3. Pickets: 100 x 12 / 6 = 200 pickets, plus 10 percent = 220 pickets.
  4. Rails: 13 sections x 2 rails = 26 rails of 2x4 by 8 feet.
  5. Concrete: 14 posts x 2 bags = 28 bags of 80 lb mix.
  6. Budget: posts about $170 to $280, pickets $440 to $880, rails $210 to $310, concrete $170 to $225. Total roughly $1,000 to $1,700 in October 2026 national retail pricing, before gates and hardware.

Switch the style to panels in the tool and the pickets and rails collapse into 13 panels: fewer pieces, faster install, and a total that lands in a similar range. The comparison is worth doing with your own length, because on short runs the panel labor saving rarely beats the picket price advantage.

A Complete Guide to Estimating Fence Materials

Fences fail on paper before they fail in the yard. The classic errors are a post count taken from the section count, pickets ordered by the foot instead of by coverage, and concrete figured for a garden fence under a privacy fence that catches real wind. This guide covers the full material list for a wood fence, how slope and corners change it, and what the job costs when a pro builds it.

Corners, Gates and Runs: Counting the Real Layout

The formulas here cover one straight run. A real yard is several runs meeting at corners, and each corner post belongs to both runs visually but is bought once, so count posts per run and subtract the shared corners. Gates deserve their own plan: hang a gate on posts set for the purpose, ideally 6x6 for a wide gate, and add a post wherever the gate swings from rather than stretching a section. On sloped ground, a picket fence can step in small increments or rack if the construction allows it, while panels must step a full panel height difference at each post, which can leave gaps under the low side that matter if you have a small dog. Walk the line with a tape and a sketch, run by run, and total the runs rather than estimating the whole yard as one number.

Posts, Depth and Staying Plumb

The post is the fence. Pickets are decoration by comparison. Use ground contact rated pressure treated posts, set them on a few inches of gravel so the end grain is not sitting in water, and crown the concrete slightly at the top so rain sheds away from the wood. Depth follows the one third rule and your frost line, whichever is deeper. A 6 foot fence on 8 foot posts has about 2 feet in the ground, which suits mild and moderate climates; northern builders bury 3 feet or more. Set all the posts first, let the concrete cure overnight, then hang rails and pickets the next day: a fence built on green concrete wanders out of line as you work, and the error compounds down the run.

What a Wood Fence Costs in 2026

Materials as of October 2026, based on national retail pricing: a pressure treated 4x4 post runs $12 to $20, a 6 foot dog ear picket $2 to $4, an 8 foot privacy panel $55 to $95, a 2x4 rail $8 to $12, and an 80 lb bag of concrete mix $6 to $8. That puts DIY materials for a 6 foot privacy fence near $10 to $17 per linear foot. Installed prices from published contractor surveys run $25 to $50 per linear foot for the same fence, with gates at $200 to $500 each installed. For the 100 foot example, that is roughly $1,000 to $1,700 in materials against $2,500 to $5,000 hired out, which is why fences are one of the most common DIY projects in the country.

Before You Dig and Build

  • Call 811 a few days ahead so buried utilities are marked. It is free and legally required in most places.
  • Confirm the property line with a survey or plat if there is any doubt. A fence 6 inches over the line is a rebuild.
  • Check local rules: many towns cap backyard fences at 6 feet and require the finished side to face the neighbors.
  • Buy posts a grade up if the store allows picking through the stack. Straight posts make a straight fence.
  • Plan picket gaps with a spacer block cut to width, not by eye, so the rhythm stays even across gates and corners.

Frequently Asked Questions

How many fence posts do I need for 100 feet of fence?

Posts are spaced one section apart, and sections are typically 8 feet. One hundred feet takes 13 sections (12.5 rounded up), and you need one more post than sections to close the run, so 14 posts for a single straight run. Corners and gates add posts: every corner takes its own post, and a gate should hang from its own pair of posts rather than sharing a line post. Runs that turn or step down a slope should be counted section by section.

How much concrete does each fence post need?

A typical 6 foot privacy fence post set 2 feet deep in a 10 to 12 inch hole takes about two 80 pound bags of concrete mix, or roughly 1.3 cubic feet of placed concrete plus gravel at the base. Four foot fences can get by with about a bag and a half per post, and tall or windy site fences want two and a half. The calculator adjusts the bags per post by fence height. In well drained soil some builders use compacted gravel instead, but concrete is the safer default for privacy fences that catch wind.

How many pickets do I need per foot of fence?

A standard dog ear picket is 5.5 inches wide. With a 1/2 inch gap, each picket covers 6 inches, so a fence needs 2 pickets per foot, plus about 10 percent for defects and cuts. A 100 foot fence therefore takes about 220 pickets. Board on board privacy fences overlap pickets instead of gapping them, which raises the count by roughly a quarter: enter that style mentally as 2.5 pickets per foot, or raise the count from this calculator by about 25 percent.

Should I choose pickets or prebuilt panels?

Pickets cost less per foot and follow slopes by racking or stepping gradually, and a damaged picket is a five minute repair. Panels are faster to install on flat ground and look uniform, but they must step on slopes, leaving triangular gaps at the bottom, and a damaged panel means replacing an 8 foot section. On flat suburban lots the labor saving can justify panels; on any slope, pickets are the practical choice. The material totals differ mainly in rails: picket fences need separate 2x4 rails, panels have them built in.

How deep should fence posts be set?

The common rule is one third of the post in the ground, plus below your local frost line so the post is not heaved out of level each winter. For a 6 foot fence that means a 4x4 post 8 feet long with about 2 feet buried in much of the country, and 3 feet or more in deep frost regions. Depth is a local code and climate question, so treat these numbers as planning guidance and check your frost depth before you dig. Always call 811 before digging, in every state, every time.

Related Calculators

Planning only: our calculators give careful estimates based on the numbers you enter and standard material coverage rates. Actual quantities and prices vary by product, region and installer. Get two or three local quotes before you commit to a project. See the full Disclaimer.