Free Construction Tool

Fence Calculator – Posts, Pickets, Rails & Cost

Reviewed and updated: August 2026

Estimate posts, pickets or panels, rails, concrete bags, and material cost for wood picket, privacy, split rail, and chain link fence projects.

ft
#
$
$
MATERIALS NEEDED
Fence Posts
—posts
Pickets / Panels
—
Concrete bags
—bags
Rails needed
—rails
Fence Cost (materials only)
—

Use this fence calculator to estimate posts, pickets or panels, rails, concrete bags, and material cost for common fence projects.

The calculator works for wood picket fences, privacy fences, split rail fences, and chain link fences. Enter your total fence length, height, post spacing, gate openings, and material prices to create a practical planning estimate before buying materials.

How to Estimate Fence Materials

Start by measuring the total fence length in feet. Then choose your fence type, post spacing, and fence height.

Most fence estimates include:

For many fences, post count is estimated by dividing the total fence length by the post spacing, then adding one extra post for the end of the run.

Estimated posts = fence length ÷ post spacing + 1

Post Spacing for Fences

Common fence post spacing is usually 6 feet or 8 feet on center. The right spacing depends on fence type, height, material, wind exposure, and local requirements.

Shorter spacing can create a stronger fence, especially for tall fences or windy areas.

How Deep Should Fence Posts Be?

A common rule of thumb is to bury about one-third of the total post length in the ground. Many fence posts also need a few inches of gravel at the bottom of the hole for drainage.

For a 6-foot fence, posts are often set about 2 to 3 feet deep depending on soil, fence height, and local frost depth.

In areas with freezing temperatures, post holes may need to extend below the frost line. Always check local code and site conditions before digging.

Estimating Pickets, Panels, and Rails

Picket count depends on fence length, picket width, and spacing between pickets. Privacy fences usually have little or no gap between boards, while picket fences often include visible spacing.

Panel fences are estimated differently because the fence is sold in full panels. If using prebuilt panels, divide the fence length by the panel width and round up.

Rails are usually estimated by fence section. Many wood fences use two or three horizontal rails per section depending on height and style.

Concrete Bags for Fence Posts

Concrete needs vary based on hole diameter and depth. A larger or deeper post hole requires more concrete.

For a typical 6-inch diameter hole around 30 inches deep, plan on roughly 1 to 2 bags per post depending on bag size and how much gravel is used.

Use this as a planning estimate only. Soil type, post size, hole size, and local requirements can change the amount needed.

Common Fence Estimating Mistakes

Planning Fence Costs

After estimating materials, multiply the quantity of each item by your local material price. Include posts, pickets or panels, rails, concrete, fasteners, brackets, gates, hinges, and latches.

Labor, permits, demolition, hauling, and grading are not included in this calculator unless you add them separately.

Need help estimating total project cost? Read our project cost estimation guide.

Fence Layout Diagram

Before ordering materials, sketch your fence layout and identify every post location. The diagram below shows how post spacing, gate openings, and corners affect your total post count.

Post spacing (6–8 ft) Gate opening P1 P2 P3 G1 G2 P4 P5 No pickets in gate opening

Posts = fence length ÷ spacing + 1 · Gate posts aren't added automatically, budget for them separately · Subtract gate width from picket count

Fence Type Comparison

The right fence type depends on your goal, budget, and maintenance tolerance. Here is an honest comparison of the most common residential options:

Fence TypeMaterial Cost (per LF installed)PrivacyLifespanMaintenance
Wood picket$15–$30Low10–20 yrsPaint or stain every 3–5 years; check posts annually
Wood privacy (dog-ear)$20–$45Full10–20 yrsSame as picket; boards may warp or split over time
Cedar privacy$25–$55Full15–25 yrsStain every 3–5 years; natural oils add rot resistance
Split rail$12–$25None15–25 yrsMinimal; posts may rot at ground; cedar or locust preferred
Chain link$15–$35None (unless slats added)20–30 yrsVery low; galvanized coating resists rust
Vinyl/PVC privacy$30–$60Full20–30 yrsVery low; wash annually; no painting required
Aluminum (ornamental)$25–$60None25–40 yrsVery low; powder coating resists corrosion
Composite$35–$75Full25–30 yrsLow; same as composite decking, wash annually

Post Depth and Concrete Guide

Post depth is the most critical structural decision in fence installation. A post that is too shallow will heave in frost, lean under wind load, or rot at the ground line prematurely. The standard rule is to bury one-third of the total post length, with a minimum depth that clears the local frost line.

Fence HeightPost LengthMin. Burial DepthFrost Country
4 ft fence6 ft post2 ftExtend 6" below frost line
6 ft fence8 ft post2.5–3 ftExtend 6" below frost line
8 ft fence10–12 ft post3–4 ftMust clear frost line; engineer if high wind
Gate postsAdd 1 ft to field postSame + 6"Gates add leverage; deeper is always better

Concrete bags per post depend on hole diameter and depth. Standard fence post holes are 8–12 inches in diameter. A typical 8-inch diameter hole at 30 inches deep holds about 0.87 cubic feet, roughly 1.5 bags of 80 lb concrete. A 10-inch hole at the same depth holds about 1.4 cubic feet, or 2–3 bags. Always put 3–4 inches of gravel at the bottom of the hole for drainage before setting the post, and crown the concrete above grade so water sheds away from the post.

What This Calculator Doesn't Include

A complete fence material estimate goes beyond posts, pickets, and rails. These items are easy to forget and add up quickly on a real project:

ItemTypical QuantityNotes
Concrete bags1–3 bags per postDepends on hole diameter and depth; not included in basic estimate
Gravel (drainage)3–4 inches per holeCritical for post longevity; prevents moisture wicking
Deck screws or nails~1 lb per 50 picketsUse hot-dipped galvanized or stainless with PT lumber
Rail brackets / post caps2–3 per postPrevents water pooling on post tops
Gate hardware2 hinges + 1 latch per gateHeavy-duty hinges for gates over 4 ft wide
Gate frame lumberGate perimeter + diagonal braceDiagonal brace is essential to prevent gate sag
PermitVaries by jurisdictionMany municipalities require permits for fences over 4 ft

Common Installation Mistakes

The most expensive fence mistakes happen before the first post goes in the ground. Property line disputes, permit violations, and undersized posts are far cheaper to prevent than to fix after the fence is built.

Frequently Asked Questions
How many posts do I need for a 100-foot fence? ▾
For a straight 100-foot fence with 8-foot post spacing, divide 100 by 8 and add one end post, that gives about 14 posts. With 6-foot spacing, the same run needs about 18 posts. Corners, gates, and layout changes may require additional posts beyond the basic estimate.
How far apart should fence posts be? ▾
Many wood fences use 6-foot or 8-foot post spacing. Taller fences, heavy materials, and windy areas may need closer spacing for added strength. Always follow local building requirements and the material manufacturer's recommendations for your fence type.
How much concrete do I need per fence post? ▾
Concrete depends on hole diameter and depth. A common small post hole may need about 1 to 2 bags of concrete, but larger posts, deeper holes, or wider holes require more. Use this as a planning estimate, soil type, post size, and local requirements can all affect the amount needed.
Should gate openings be subtracted from fence length? ▾
Gate openings should usually be subtracted from picket or panel quantities since those areas don't need boards. However, you may still need additional posts and hardware specifically for the gate area, so account for those separately in your estimate.
What should I include in a fence material estimate? ▾
A practical fence estimate should include posts, pickets or panels, rails, concrete, fasteners, brackets, gates, hinges, latches, and a waste allowance for cuts and damaged pieces. Don't forget gate hardware, hinges and latches are easy to overlook until you're already on-site.
Does this calculator include labor costs? ▾
No. This calculator is intended for material estimating only. Labor, permits, demolition, hauling, and site preparation costs should be estimated separately. The results box does show a rough labor range as a planning reference, but those figures will vary significantly by region and contractor.