Fence calculator

A wood privacy fence with posts every 8 ft takes one post per 8 ft plus one per run, 3 rails per section and about 2.3 pickets per foot. 212 ft with one 4 ft gate is 208 ft to build: 30 posts, 78 rails, 477 pickets and 62 bags of 50 lb concrete.

Updated · Same math as the AreaPal app's estimates

How many posts, rails and pickets do I need?

Fence type
Redraws as you type
8 ft1 gate taken out of the length30 · 208 ft
Fence to build, gates taken out

208ft

Posts, with gate posts

30posts

Rails

78rails

Typical cost at these sizes

$3,120–$9,360

Wood privacy fence installed, $15–$45 per linear foot, from Fixr, January 2025
Pickets, +5%
477 pickets
Concrete, 50 lb bags
62 bags
Gate kits
1 kits

Posts every 8 ft (10 ft chain link, 12 ft wire). Same math as the AreaPal app's fence estimate.

Step 2 · the real size

Measure the real job in AreaPal

A typed rectangle is a guess. Draw the outline on the satellite map and the estimate uses the exact area, with the same math as this calculator.

  1. Draw it on the map

    Tap the corners on the satellite view, or walk the edge with GPS.

    Satellite map or GPS walk
  2. Get the exact area

    Square feet, acres and every edge length, as you tap.

    Cut-outs taken off
  3. Count it and quote it

    The estimate counts the materials; the quote prices them with your own costs.

    Same math as this page
  4. AreaPal on iPhone with a field outlined on the satellite mapDownload on the App Store
The formula

How do you calculate fence materials?

Fence to build = length − gate widths (4 ft walk gates, 12 ft drive gates). Sections = fence to build ÷ post spacing, rounded up. Posts = sections + 1 per straight run, plus 2 per gate. Rails = sections × 3 for a 6 ft fence (2 for 4 ft). Pickets = feet × 12 ÷ picket width (5½ in, set tight), plus 5%. Concrete: two 50 lb bags per line post, three per gate post.

Rule of thumb

How many posts for a fence?

Posts for a straight wood fence, 8 ft spacing, no gates
LengthSectionsPosts50 lb bags of concrete
50 ft7816
100 ft131428
150 ft192040
200 ft252652
300 ft383978
Typical job cost

Fence job cost: what contractors charge

Ranges from public cost guides, as each one states them. They're what a contractor charges for the work, not material prices and not AreaPal's. A real quote starts with measuring the job.

Fence job cost, US, from cost guides read November 2026
JobTypical costSource
Wood fence installedInstalled. A general wood range, any style$15–$35 per linear footThis Old House, June 2026; Fixr, January 2025
Chain link fence installedInstalled$13–$27 per linear footThis Old House, June 2026
Vinyl fence installedInstalled$15–$40 per linear footThis Old House, June 2026; Fixr, January 2025
Chain link fence installedInstalled$12.25–$40 per linear footFixr, January 2025
Wood privacy fence installedInstalled, materials and labor$15–$45 per linear footFixr, January 2025
Vinyl privacy fence installedInstalled, privacy height$35–$60 per linear footFixr, January 2025
Picket fence

How many pickets do I need?

3½ in pickets with 2½ in gaps take 2 pickets per foot of fence, plus 5%. A 4 ft picket fence has 2 rails per 8 ft section. A 100 ft picket fence with one gate takes 202 pickets, 15 posts and 24 rails.

You need
202 pickets
Pickets, 3½ in, 2½ in gaps, +5%
Posts, with gate posts
15 posts
Rails, 2 per section
24 rails
Concrete, 50 lb bags
32 bags
Fence to build
96 ft

Posts every 8 ft. Same math as the AreaPal app's picket fence estimate.

Pickets = fence to build (ft) × 12 ÷ (picket width + gap) × 1.05. For 3½ in pickets and a 2½ in gap that's 6 in per picket, 2 per foot. Posts every 8 ft plus one per run and two per gate; 2 rails per section.

Pickets per foot of fence, before waste
PicketGapPickets per footPer 100 ft
3.5 in0 in3.43343
3.5 in1.5 in2.4240
3.5 in2.5 in2200
3.5 in3.5 in1.71171
5.5 in0 in2.18218
5.5 in2 in1.6160
Vinyl fence

How many vinyl fence panels do I need?

Vinyl fence comes in 8 ft panels: one panel per 8 ft of fence and one more post than panels on each straight run, plus two posts per gate. 150 ft with one walk gate is 19 panels and 22 posts.

You need
19 panels
Panels, 8 ft
Posts, with gate posts
22 posts
Post caps
22 caps
Concrete, 50 lb bags
46 bags
Fence to build
146 ft

8 ft panels. Same math as the AreaPal app's vinyl estimate.

Panels = (length − gates) ÷ 8, rounded up (cut the last one to fit). Posts = panels + 1 per run, + 2 per gate. Concrete: two 50 lb bags per line post, three per gate post.

Vinyl panels and posts, straight run, no gates
LengthPanelsPosts
40 ft56
80 ft1011
100 ft1314
150 ft1920
200 ft2526
Barbed wire fence

What do I need for a barbed wire fence?

A 4-strand barbed wire fence uses T-posts every 12 ft, wood H-braces at ends and corners, and one 1,320 ft roll per 330 ft of fence (4 strands), plus 5%. A quarter mile (1,320 ft) takes 109 T-posts, 4 wood posts and 5 rolls.

You need
108 posts
T-posts, 6½ ft
Wood corner, end and gate posts
6 posts
H-brace rails
2 rails
Barbed wire, 1,320 ft rolls (4 strands)
5 rolls
Fence to build
1,308 ft

4 strands, T-posts every 12 ft, 5% wire waste. Same math as the AreaPal app's barbed wire estimate.

T-posts = (length ÷ 12, rounded up) + 1 − ends − corners. Wood posts: 3 per corner (an H-brace each way), 2 per end, 2 per gate. Wire rolls = length × strands × 1.05 ÷ 1,320.

Barbed wire rolls (1,320 ft), 4 strands, +5%
FenceT-postsRolls
330 ft272
660 ft543
1,320 ft1095
2,640 ft2199
5,280 ft43917
Fence stain

How much stain do I need?

A gallon of fence stain covers about 175 square feet of rough-sawn wood per coat. Multiply length × height × sides stained × coats and divide by 175. A 6 ft fence 150 ft long, both sides, one coat, takes 11 gallons.

Sides
Coats
You need
11 gal
Stain
5 gallon pails
3 pails
Surface to stain
1,800 sq ft

175 sq ft per gallon per coat. Same math as the AreaPal app's fence estimate.

Gallons = length × height × sides × coats ÷ coverage (175 sq ft per gallon for rough wood, more on smooth). Spraying uses more than brushing. Check the can: coverage varies by product and wood.

Gallons of stain, 6 ft fence, both sides, one coat
LengthSurfaceGallons
50 ft600 sq ft4
100 ft1,200 sq ft7
150 ft1,800 sq ft11
200 ft2,400 sq ft14
300 ft3,600 sq ft21
Related calculators

Work out the rest of the job

Questions

Fence materials, answered

How many fence posts do I need?

One every 8 ft plus one at the end of each straight run, and two more for every gate. A straight 100 ft fence needs 14 posts.

How many pickets per foot of fence?

About 2.2 pickets per foot for 5½ in boards set tight, before waste. Spaced pickets need fewer: 3½ in pickets with 2½ in gaps are 2 per foot.

How much concrete per fence post?

About two 50 lb bags for a 4×4 line post in a 10 in hole, and three for a heavier gate post, as the AreaPal app estimates it.

How do I measure a fence line?

Walk it with a wheel, or draw the line on the satellite map in the AreaPal app: it measures each run and places the gates for you.

How far apart should pickets be?

A gap equal to about 2/3 to 1 picket width is common: 2½ in for 3½ in pickets. Pool and pet codes may cap the gap at 4 in or less.

How far apart are chain link posts?

No more than 10 ft for line posts; many installers use 8 to 10 ft.

How wide is a vinyl fence panel?

Most are 8 ft wide (about 92 to 94 in between posts); some lines use 6 ft panels.

How far apart are T-posts on a barbed wire fence?

10 to 12 ft is common for cattle; 12 ft is what the AreaPal app uses.

How much does a gallon of fence stain cover?

About 150 to 200 sq ft per coat on rough wood; 175 is a good middle figure.

Sources: Post spacing (8 ft wood and vinyl, 10 ft chain link, 12 ft wire), rails per section, board widths (a 1×6 is 5½ in actual), 5% picket waste and 100 lb of mix per line post, 150 lb per gate post: AreaPal app rules. Post-hole mix by hole volume at 0.0075 cu ft per lb.

Measure the real area first.
Then count the materials.

Draw the slab, bed, drive or fence line on the satellite map in AreaPal, and the estimate uses the same math as this calculator.

Download on the App Store
Measure the real areaAreaPal on the App StoreGet