Post spacing, depth, frost line, and concrete bags

Fence Post Calculator

Enter your fence run and post spacing — get post count, post length, hole depth, hole diameter, and concrete bags in seconds. Frost line depth auto-adjusts by state.

The #1 fence post rule: Bury at least 1/3 of the total post length underground — and always below your local frost line. A 6 ft fence needs 8 ft posts. An 8 ft fence needs 10-11 ft posts. Most DIY fence failures trace back to posts that are too shallow or set with too little concrete.

Posts are the skeleton of your fence. Get the spacing, depth, or concrete wrong — and the whole structure pays for it.

  • Post count for any fence run and spacing
  • Post length, hole diameter, and hole depth by post size
  • Concrete bags per post for 40, 50, 60, or 80 lb bags
  • Frost line depth auto-lookup by state
  • Corner, gate, end, terminal, and line post differentiation
Interactive estimator

Fence post calculator with live layout, frost depth, and concrete bags

Use Expert Mode for a fast takeoff or Step-by-step Mode for a guided 6-step workflow.

FENCE POST CALCULATOR

Every input updates the estimate, SVG preview, and share URL.

Step 1 of 6
1. Fence Material
2. Fence Height (above grade)

6 ft fences commonly use 8 ft posts in warm states.

3. Total Fence Run
4. Post Spacing

Preview: 16 line posts.

5. Post Type Mix
Line postsauto-calculated

Every end, corner, direction change, and gate side needs a dedicated post.

6. State (for frost line depth)

Frost line: 0-6 inches — posts at least 24 inches deep.

7. Concrete Bag Size
8. Concrete Fill Method

Full concrete fill is recommended for permanent fencing.

How it works

How the fence post calculator works

Planning guide

Fence post planning guide — the numbers behind the calculator

How Many Fence Posts Do I Need?

The formulas used for planning:

Line Posts = floor(Fence Run ft / Spacing ft) - 1
Total Posts = Line Posts + End Posts + Corner Posts + Gate Posts
Fence Run6 ft OC8 ft OC10 ft OC
50 ft9 posts7 posts6 posts
100 ft17 posts13 posts11 posts
150 ft26 posts20 posts16 posts
200 ft34 posts26 posts21 posts
300 ft51 posts39 posts31 posts

The starting post rule: a straight run needs a post at both ends. Count end, corner, and gate posts separately so you do not under-order terminal posts.

How Deep Should Fence Posts Be Set?

The 1/3 rule: post depth below grade should be at least one-third of total post length, and always below frost depth.

Hole Depth = max(Total Post Length / 3, Frost Line Depth + 6")
Fence HeightPost LengthMin Hole DepthNotes
4 ft6 ft24"Standard residential
6 ft8 ft24-30"Most common backyard fence
8 ft10-11 ft30-36"Permit required in most cities
10 ft13-14 ft36-42"Commercial / security
RegionStatesFrost Depth
Deep SouthTX, FL, GA, LA, SC0-12"
Mid-SouthNC, TN, AR, OK6-18"
Mid-AtlanticVA, MD, PA, NJ12-24"
MidwestOH, IN, IL, IA, MO24-36"
Upper MidwestMN, WI, MI, ND, SD42-48"
Mountain / NEMT, VT, ME, NH, NY36-48"+

Always add 6" below the frost line as a safety buffer. In Minnesota, a 6 ft fence may need 10 ft posts rather than standard 8 ft posts.

How Much Concrete Per Fence Post?

Concrete is estimated from hole volume minus post displacement, then divided by bag yield.

Hole Volume ft³ = pi x (Hole Diameter in / 24)^2 x (Hole Depth in / 12)
Bags Needed = ceil((Hole Volume - Post Volume) / Bag Yield ft³)
Bag SizeYieldTypical Use
40 lb0.30 ft³Small decorative posts
50 lb0.375 ft³Light residential
60 lb0.45 ft³Standard residential
80 lb0.60 ft³Heavy / gate posts
Post TypeHole SizeHole DepthBags (60 lb)
4x4 wood standard10-12" dia24"1-1.5 bags
4x4 wood deep / frost10-12" dia30-36"1.5-2.5 bags
6x6 wood gate / corner12-16" dia30-36"2.5-4 bags
Chain link line post6-8" dia24"0.5-1 bag
Chain link terminal8-10" dia30"1-1.5 bags
Gate post any material10-12" dia36-42"3-4 bags

Gate posts always need more concrete. Undersized gate footings are the leading cause of gate sag.

Post Hole Diameter Guide

The 3x rule: hole diameter should be about 2-3x the post width.

Post SizePost WidthRecommended Hole Diameter
4x4 wood3.5"10-12"
6x6 wood5.5"12-16"
Vinyl 5x54.5"10-12"
Chain link 1-5/8"1.625"6-8"
Chain link 2-3/8"2.375"8-10"
Aluminum 2x22"8-10"

Wider holes cost more in concrete but improve stability in loose or sandy soil.

Post Spacing Guide
SpacingBest ForTrade-off
6 ft OC8 ft+ fences, high-wind areas, heavy panelsMore posts, more cost, maximum rigidity
8 ft OCStandard wood & vinyl privacy fencesBest balance of cost and strength
10 ft OCChain link, split rail, open-style fencesFewer posts, lower cost, less rigidity
12 ft OCTemporary / utility fencing onlyNot recommended for permanent installations

Wider spacing increases sag risk with heavy materials like board-on-board wood or thick vinyl panels. In high-wind zones, use 6 ft OC regardless of fence height.

Every doubling of spacing roughly quadruples bending force on each post during high winds.

Wood Post Size Selection
Fence HeightStandard PostGate / Corner PostNotes
3-4 ft4x44x4 or 4x6Decorative, picket
5-6 ft4x44x6 or 6x6Standard privacy
7-8 ft4x6 or 6x66x6Permit required most cities
9-10 ft6x66x6Commercial / security

Always use pressure-treated lumber rated for ground contact, such as UC4B or UC4C, for posts set in concrete or soil.

For gates wider than 4 ft, use 4x6 or 6x6 posts. The extra $15-$30 prevents expensive gate sag repairs.

Fast-Setting vs. Standard Concrete
TypeSet TimeCure TimeCost PremiumBest For
Standard concrete mix1-2 hrs initial24-48 hrsBaselineDIY projects
Fast-setting concrete20-40 min4 hrs+10-15%Professional crews, cold weather
Expanding foam anchor3-5 min15 min+200-300%Decorative / temporary only

Standard mix gives DIYers more time to adjust posts plumb. Fast-set is useful when a professional crew needs to continue work the same day.

Use standard concrete mix for a first fence project. Extra working time is more valuable than speed.

Gravel Drainage Layer

Always add 4-6 inches of gravel at the bottom of the post hole. This prevents water from pooling at the post base, reduces wood rot and metal corrosion, improves freeze-thaw drainage, and costs only about $0.50-$1.00 per post.

Use 3/4" crushed stone or pea gravel. Do not use fine sand because it compacts and retains water.

This single step can extend post life by 5-10 years in wet climates.

Common Fence Post Mistakes
1. Posts too shallow

Posts set at 18" in a 6 ft fence often lean within 1-2 years. Minimum: 24" or 1/3 of post length.

2. Ignoring the frost line

Northern posts set above frost depth will heave every winter and lean after freeze-thaw cycles.

3. No gravel drainage layer

Skipping gravel traps water at the post base and accelerates rot or corrosion.

4. Undersized gate footings

Gate posts bear dynamic swing loads and need 3-4 bags of concrete.

5. Non-pressure-treated lumber

Standard construction lumber underground can rot in 2-5 years.

6. Dry-setting in sandy soil

Dry-set posts may work in dense clay but fail quickly in sandy or loose soil.

7. Not checking plumb

Once concrete cures, a leaning post is difficult to fix. Check two adjacent faces before set.

FAQ

Fence post calculator — frequently asked questions

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

At 8 ft OC, a straight 100 ft wood or vinyl run needs about 14 posts. At 10 ft OC for chain link, plan 11 posts. At 6 ft OC for high-wind or tall fences, plan 18 posts. Add end, corner, and gate posts separately when planning a shaped perimeter.

How deep should fence posts be set?

Minimum depth is 1/3 of total post length, always below the frost line. A 6 ft fence usually needs 24-30" in warm states. Minnesota, Wisconsin, and similar northern states may need 48-54".

How many bags of concrete do I need per fence post?

For a standard 4x4 post in a 6 ft fence, plan 1-2 bags of 60 lb concrete depending on hole diameter and depth. Gate posts need 3-4 bags. Chain link line posts often need 0.5-1 bag.

What size post do I need for a 6 ft fence?

4x4 pressure-treated lumber is standard for 6 ft residential fences. Use 4x6 or 6x6 for gate posts and corners. For 8 ft fences, upgrade all posts to 4x6 or 6x6.

What is the standard fence post spacing?

8 ft OC is standard for wood and vinyl privacy fences. 6 ft OC is used for high-wind areas or tall fences. 10 ft OC is standard for chain link, split rail, and open-style fences.

How do I calculate the total post length I need to buy?

Total post length equals fence height above grade plus hole depth. A 6 ft fence in Texas typically uses 8 ft posts. A 6 ft fence in Minnesota may require 10 ft posts because the hole must reach below frost depth.

Should I use fast-setting or standard concrete for fence posts?

Standard concrete is recommended for DIY projects because it gives more time to adjust post plumb. Fast-setting concrete is better for professional crews, cold-weather installs, or same-day continuation.

Do I need concrete for all fence posts?

Yes for permanent fencing. Exceptions include temporary fencing, agricultural split rail in dense rocky soil, or decorative garden borders under 3 ft. Chain link posts in sandy soil especially require concrete.

How much does it cost to set fence posts?

DIY materials for a 4x4 post commonly run $22-$38 including concrete. Professional labor plus materials often runs $25-$60 per post, with rocky soil adding $10-$25 per post.

How do I prevent fence posts from rotting?

Use UC4B or UC4C ground-contact pressure-treated lumber, add a 4-6" gravel drainage layer, slope concrete away from the post, seal cut ends, and keep mulch away from above-grade post faces.

Related calculators

More fence calculators