Fence Calculator

Enter the length of your fence to get posts, rails, pickets and concrete, plus a typical installed price for your material.

Free · No sign-up · Updated October 2026

Your measurements

ft
/ linear ft
Change to match your quote

Your results

Live

Quick answer

How many fence posts do I need?

Divide the fence length by the post spacing, round up, add one, then add one post per gate. A 100 ft fence with posts 8 ft apart and one gate needs 15 posts and about 30 bags of 80 lb concrete.

How to use the fence calculator

  1. Measure the total length of the fence line in feet.
  2. Choose the height, post spacing and number of gates.
  3. Pick your material. A typical installed price fills in, which you can change.
  4. Read posts, concrete and cost.

Fence posts and cost by length

6 ft wood privacy fence, one gate, 2 bags of 80 lb concrete per post.

Fence lengthPosts (8 ft apart)Posts (6 ft apart)Concrete bags (8 ft)Installed cost (typical)
50 ft91118$1,000–$2,500
75 ft121524$1,500–$3,750
100 ft151930$2,000–$5,000
150 ft212742$3,000–$7,500
200 ft273654$4,000–$10,000
300 ft405280$6,000–$15,000

Calculated with the same formulas as the calculator above. Change any number in the calculator for your exact size.

How the fence calculator works

Sections = fence length ÷ post spacing (rounded up) Posts = sections + 1 + one extra per gate Hole = 10 in wide, at least 24 in deep (1/3 of fence height) Concrete = (hole volume − post volume) ÷ 0.6 cu ft per 80 lb bag

For wood fences, the calculator adds 2×4 rails (2 per section, or 3 for fences over 5 ft) and 5.5 in wide pickets set side by side.

Example: 100 ft of 6 ft wood privacy fence

With posts every 8 ft, 100 ft needs 13 sections and 15 posts including one gate. Each 24 in deep hole takes 2 bags, so buy 30 bags of concrete.

You also need 39 rails and 219 pickets. Installed, this fence typically costs $2,000 to $5,000.

Typical installed cost by material

MaterialInstalled, per linear ft
Chain link$9–$30
Wood$20–$50
Vinyl$30–$60
Aluminum$25–$75
Composite$20–$85

Before you dig, call 811 for free utility marking, and check property lines and any HOA or city height limits.

Frequently asked questions

How many fence posts do I need for 100 feet?

With posts every 8 ft you need 14 posts for 100 ft, plus one extra for each gate. With 6 ft spacing you need 18.

How deep should fence posts be?

A common rule is one third of the fence height, and at least 24 inches. In cold climates, go below the frost line.

How many bags of concrete per fence post?

A 4×4 post in a 10 in wide, 24 in deep hole takes about 1.5 bags of 80 lb concrete, so plan on 2 bags per post.

How much does a fence cost per foot?

Installed fences typically cost about $9 to $30 per foot for chain link, $20 to $50 for wood and $30 to $60 for vinyl.

How many fence posts for 200 feet?

With posts 8 ft apart and one gate, you need 27 posts. With 6 ft spacing you need 36.

How much does a 150 ft fence cost?

A 150 ft wood privacy fence typically costs about $3,000 to $7,500 installed.

Results are estimates for planning. Material sizes, coverage and prices vary by product and location, so confirm with your supplier or contractor before you buy. See how we calculate. Last reviewed October 2026.