Fence post depth calculator

Enter your fence height and frost depth; get the hole depth for line, corner and gate posts, the hole diameter, and the stock post length to buy.

Fence height
Post role

Sets a typical frost depth. Confirm locally.

Soil
Dig the hole

30" deep

and about 10" across, with a 6" gravel base at the bottom.

Post above grade
69"
Post length needed
99"
Buy
10 ft 4x4
One-third rule would be
40"
Frost line + 6"
30"

Depth is the larger of the type minimum (24") and frost depth plus 6". Post length is rounded up to stock sizes; bury the extra or cut it off.

How this calculator works

A fence post has to resist two things: wind pushing the fence over, and frost pushing the post up. Each sets its own minimum depth, and the calculator uses whichever is deeper.

Embed depth = max(fence type minimum, frost depth + 6 in)

The fence type minimum comes from the height of the fence. The common rule is to bury about one third of the post's total length, which works out to about half of the height above ground. A 6 ft fence wants about 3 ft in the ground.

The frost rule says the bottom of the footing must sit at least 6 in below the depth where your ground freezes. Frozen soil expands and grips the concrete, and a post that stops inside the frost zone gets lifted a little every winter. Going 6 in below it puts the base in soil that does not move.

Gate and corner posts go 6 in deeper. A gate post carries a swinging load and a corner post carries tension from two directions, so both get extra depth over the line posts.

Post length = height above grade + embed depth, rounded up to the next stock length of 8, 10 or 12 ft. Round up, never down. A post that is too long gets cut at the top; a post that is too short cannot be fixed.

Hole diameter is about 3 times the post width. Anything narrower leaves too little concrete around the post to hold it.

Depth by fence height

Fence heightOne-third rule embedGate and corner postsCommon practice in mild, firm soil
3 ft24 in (minimum)30 in24 in
4 ft24 in30 in24 in
5 ft30 in36 in24 to 30 in
6 ft36 in42 in24 to 36 in
8 ft48 in54 in36 to 48 in

If your frost depth plus 6 in is deeper than the number in this table, the frost figure wins.

Frost depth by region

Frost depth varies by county, not just by state, and your building department sets the number you have to use. These are rough regional ranges to show why the answer changes so much across the country.

RegionTypical frost depthLikely embed for a 6 ft fence
Florida, Gulf Coast, southern Texas, southern California0 to 6 inset by height, about 36 in
Southeast, Southwest, Pacific coast6 to 18 inset by height, about 36 in
Mid-Atlantic, lower Midwest, Pacific Northwest inland24 to 36 in36 to 42 in
Upper Midwest, New England, mountain states42 to 60 in48 to 66 in
Northern Minnesota, North Dakota, northern Maine60 in or more66 in or more

In the colder rows, frost depth drives the post length, not fence height. A 6 ft fence in a 48 in frost zone needs 54 in in the ground and a post of at least 10 ft 6 in, so you buy 12 ft posts.

Hole diameter

PostLine post holeCorner, end and gate post hole
4x4 wood (3½ in actual)10 in12 in
4x6 wood12 in12 in
6x6 wood (5½ in actual)12 in, wider in loose soil12 in, wider in loose soil
5x5 vinyl10 in10 in
4x4 vinyl8 in8 in
Chain link, 1⅝ in line6 innot applicable
Chain link, 2⅜ in terminalnot applicable8 in, 12 in for gates

Post length

Fence heightEmbed depthTotal neededStock length to buy
4 ft24 in6 ft8 ft
4 ft36 in7 ft8 ft
6 ft24 in8 ft8 ft
6 ft36 in9 ft10 ft
6 ft42 in9 ft 6 in10 ft
6 ft54 in10 ft 6 in12 ft
8 ft36 in11 ft12 ft
8 ft48 in12 ft12 ft

For vinyl, the post lengths are fixed by the product line (9 ft for 6 ft privacy is typical). If your frost depth needs more embed than that allows, the calculator warns you to order longer posts. For chain link, line posts are fence height plus 2 ft and terminal posts are height plus 3 ft.

8 ft posts on a 6 ft fence leave no margin

An 8 ft post on a 6 ft fence puts exactly 24 in in the ground. That can work in mild climates with firm soil. Anywhere with real frost, wind exposure or sandy soil, buy 10 ft posts.

Soil changes the answer

The depth rules above assume ordinary, firm soil. Adjust for what you actually dig into.

  • Sandy or loose soil holds a post poorly. Go deeper than the table and widen the hole so there is more concrete bearing on the soil.
  • Clay holds well when dry but swells when wet and can heave like frost. A gravel base under the footing and a slightly wider hole help it drain.
  • Rock may stop you short of full depth. If you hit ledge, a shallower hole drilled into the rock and grouted can hold, but ask a local pro before you rely on it.
  • High water table or wet ground means posts sit in water. Use UC4B rated wood posts and a gravel base, and slope the top of the concrete away from the post.

Every hole in this calculator gets a 6 in gravel base, which lets water drain away from the bottom of the post instead of pooling in a concrete cup.

Before you dig

Call 811 a few business days before you dig. Post holes go 2 to 4 ft down, deep enough to reach buried gas, electric and water lines. The service is free.

GuideHow deep should fence posts beFence post depth by fence height, frost line and soil, with hole diameters, gravel base, gate post rules and the post length to buy for each fence.

Questions people ask

How deep should fence posts be?

At least one third of the post's total length, which is about half the height above ground, and at least 6 in below your local frost line. Use whichever is deeper. Gate and corner posts go 6 in deeper than line posts.

How deep should a 6 ft fence post be?

About 36 in by the one-third rule, or your frost depth plus 6 in if that is deeper. Many 6 ft fences in mild climates are built on 8 ft posts with 24 in in the ground, which is the practical minimum in firm soil.

How deep should a 4 ft fence post be?

About 24 in, or frost depth plus 6 in if that is deeper. An 8 ft post gives you room for either in most mild climates.

Why go below the frost line?

Soil that freezes expands and can lift a post that is anchored in it. Setting the bottom of the footing at least 6 in below the frost line keeps it in soil that does not freeze, so the post stays put.

How wide should a fence post hole be?

About three times the width of the post. That is 10 in for a 4x4 line post and 12 in for corner, end and gate posts or 6x6 posts. Wider holes help in sandy or loose soil.

What length fence post do I need?

Add the height above ground to the embed depth and round up to the next stock length. A 6 ft fence set 36 in deep needs 9 ft, so buy 10 ft posts.

Where do I find my frost depth?

Your local building department publishes it, usually as part of the footing requirements in the adopted building code. The regional figures on this page are only a starting point.

Guides

Written by the My Fence Calculator editorial team. Last updated 2026-09-28. Quantities are estimates based on US stock sizes and building codes; verify with your supplier and local code.