Skip to main content
TrueCalculators
Construction

Fence Calculator

Enter your fence length, height, style and post spacing to get a complete material list: line and terminal posts, rails, pickets or panels, chain-link fittings, gravel and bags of concrete, plus an optional cost estimate from your local prices.

By TrueCalculators Editorial TeamUpdated 9 min read4 sources

Fence Calculator

Measure the whole run, including gate openings.

Fence style
ft

Wood: 6–8 ft. Panels: panel width. Chain link: up to 10 ft.

Each change of direction needs its own post.

ft
Layout

Choose “fully enclosed” if the fence forms a complete loop.

in

1×6 = 5.5 in, 1×4 = 3.5 in.

in

0 for privacy; 2–3 in for a spaced picket fence.

Post holes & concrete
in

Rule of thumb: 3× the post width.

in

At least ⅓ of the above-ground height; below the frost line in cold climates.

Prices (optional)
$
$
$
$
$
%

Live result

Posts

22

16 line + 6 terminal (ends, corners, gate posts)

Pickets

335

5.5 in wide, 0 in gap, incl. waste

Rails

63

3 per section, 8 ft boards

Concrete

66bags

3 per post (0.92 ft³ each)

Sections (bays)
20
Picket fasteners
≈ 2,010(2 per rail)
Fenced length (excl. gates)
146 ft(44.5 m)
Straight runs
4
Recommended post length
8 ft(6 ft + 24 in)
Total concrete
20.3 ft³(0.75 yd³)
Gravel under posts
6 ft³(12 × 0.5 ft³ bags)
Gate posts
2
  • Gate posts carry the most load. Many builders use 6×6 or heavier steel posts there and set them deeper.
On this page

Frequently asked questions

How many fence posts do I need for 100 feet?

For a straight 100 ft fence with posts every 8 ft and no gates, you need ⌈100 ÷ 8⌉ = 13 sections and 14 posts. Every corner and gate adds posts, so enter your actual layout in the calculator.

How far apart should fence posts be?

Wood fences are usually built with posts 6 to 8 ft on center. Eight feet is the most common because it matches standard 8 ft rails. Use 6 ft for tall fences or windy sites, the panel width for prefab panels, and up to 10 ft for residential chain link.

How many pickets do I need per 8 ft section?

With 5.5 in pickets and no gap, an 8 ft (96 in) section needs ⌈96 ÷ 5.5⌉ = 18 pickets. With a 2.5 in gap it needs ⌈96 ÷ 8⌉ = 12 pickets.

How many bags of concrete per fence post?

A 4×4 post in a 10 in diameter hole set 24 in deep needs about 0.92 ft³ of concrete: three 50 lb bags or two 80 lb bags. Larger holes, deeper posts and 6×6 posts need more.

What size posts should I use for a 6 ft privacy fence?

Pressure-treated 4×4 posts rated for ground contact are standard for 6 ft fences, typically 8 ft long and set about 2 ft deep. Many builders use 6×6 posts for gates and in high-wind areas.

Should fence posts be set in concrete or gravel?

Both methods are used. Concrete gives the firmest set and is standard for gate and corner posts; some builders set line posts in compacted gravel for drainage. Either way, put gravel in the bottom of the hole and slope the top of the concrete away from the post so water drains.

Do I subtract gates from the fence length?

Yes. Measure the total length including gates and let the calculator subtract the gate openings. Each gate replaces a section of fence but adds two gate posts and gate hardware.

How much extra fencing material should I buy?

Add about 5% for straightforward wood fences and up to 10% when you expect many cuts, warped boards or a sloped site. Panels and chain-link fabric need less waste allowance but must be rounded up to full panels or rolls.

Sources and references

The figures, formulas and guidelines on this page are based on these publications and standards.

  1. 1
    Call Before You Dig: 811Common Ground Alliance
  2. 2
    Use Category System (Standard U1) for preservative-treated woodAmerican Wood Protection Association (AWPA)
  3. 3
    Wood Handbook: Wood as an Engineering Material (FPL-GTR-282)USDA Forest Service, Forest Products Laboratory, 2021
  4. 4
    Product data and yields for premixed and fast-setting concrete (40, 50, 60 and 80 lb bags)Manufacturer technical data sheets (e.g., QUIKRETE®, Sakrete)

This calculator provides estimates for planning and educational purposes. Verify critical measurements and follow manufacturer instructions and local codes. How we build and check our calculators.

Construction

More construction calculators

View all 9