Fence Post Depth Calculator

Work out how deep your fence posts should go, how deep to dig the hole, and what length of post to buy, based on your fence height, soil and local frost line.

Your fence
ft
in
0 if the ground doesn’t freeze. Your local building department can tell you.
in
Bury the post0
Dig the hole to–
Total post length needed–
Buy posts this long–
What set the depth–

The rules behind the number

There is no single required depth for fence posts, but builders use a few rules of thumb, and the deepest one wins:

  • At least 24 in for any fence post.
  • Solid privacy fences: bury about half the height above ground, which works out to one third of the total post length. A 6 ft privacy fence needs about 36 in in the ground.
  • Open fences (pickets with gaps, rails, wire): about one third of the height above ground, because wind passes through.
  • Loose or sandy soil: add roughly 6 in.
  • Cold climates: go at least as deep as the frost line so freezing soil can’t push the posts up (frost heave).
depth = max( 24 in, height × ½ (solid) or ⅓ (open) ) + 6 in if loose soil depth = max( depth, frost line ) hole = depth + gravel

Typical frost depths

Frost depth depends on your county, so treat these as rough ranges and confirm locally.

AreaTypical frost depth
Gulf Coast, Florida, southern California0–6 in
Mid-South, Mid-Atlantic12–24 in
Midwest, New England36–48 in
Upper Midwest, northern Plains48–60+ in

Example

A 6 ft solid privacy fence in firm soil with no frost: half of 72 in is 36 in, so bury 36 in and dig 42 in with 6 in of gravel. The post must be 72 + 36 = 108 in (9 ft), so buy 10 ft posts. In an area with a 42 in frost line, the post goes 42 in deep and you still need 10 ft posts.

Common questions

How deep should a 6 ft fence post be?

About 36 in for a solid privacy fence in firm soil, or 24 in for an open fence. Go deeper in loose soil or if your frost line is deeper.

How deep should a 4 ft fence post be?

At least 24 in. A 4 ft solid fence by the half-height rule needs 24 in, which matches the minimum.

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

Usually 8 ft for an open fence (6 ft above ground, 2 ft below) and 10 ft for a solid privacy fence that goes 3 ft in the ground.

Do fence posts need to go below the frost line?

In cold climates it’s strongly recommended for posts set in concrete. Frozen soil can lift a shallow post and its concrete plug, which tilts the fence over a few winters.

Related calculators

Last updated November 2026. Results are estimates. Check product labels and your local building code before you buy or build.