Home Improvement

Fence Post Depth Calculator

This fence post depth calculator estimates how deep to dig post holes from fence height, post role, frost depth, gravel depth, and post width. It also shows post depth, hole diameter, and a minimum post length.

Last updated

Use the finished height of the fence or the post height above grade.

Enter 0 if frost depth does not apply, or use the depth from your local building office.

A gravel layer helps with drainage below the post.

For a nominal 4x4 post, enter 4.

Hole depth to digInput valuesFill in the fields above to see values for your case.
Post depthInput values
Hole diameterInput values
Minimum post lengthInput values
Depth basisInput values

How this calculator works

How this calculator works

The calculator starts with the finished height of the fence or post above ground. For a standard line post, it uses one-third of that height as the post depth. For a gate, corner, end, or wind-exposed post, it uses one-half.

Then it compares that depth with the local frost depth you enter. If frost depth is deeper, frost depth controls the result.

The final hole depth adds the gravel layer below the post. The calculator also uses the common three-times-post-width rule to estimate hole diameter.

This gives you a planning number before you rent an auger, buy posts, or start marking holes.

Fence post depth formula

First, convert the above-ground height to inches:

Above-ground height in inches = fence height in feet x 12

Then choose the depth rule:

Line post depth = above-ground height x 1/3
Strong post depth = above-ground height x 1/2

Next, compare that with frost depth:

Post depth = deeper of height-rule depth or frost depth

Finally, add the gravel layer:

Hole depth = post depth + gravel depth

For a 6 ft line post with 4 in of gravel and no frost-depth requirement:

6 ft x 12 = 72 in above ground
72 x 1/3 = 24 in post depth
24 + 4 = 28 in hole depth

That is a 2 ft 4 in hole. If the same fence had a 30 in local frost depth, the hole would be 34 in deep after the 4 in gravel layer.

Common fence post depths

These examples use 4 in of gravel and no frost-depth override. Use local code or the manufacturer’s instructions when they require more depth.

Fence height above groundStandard line postGate, corner, end, or windy post
4 ft1 ft 8 in hole2 ft 4 in hole
5 ft2 ft 0 in hole2 ft 10 in hole
6 ft2 ft 4 in hole3 ft 4 in hole
8 ft3 ft 0 in hole4 ft 4 in hole

Hole width matters too. Lowe’s and Home Depot both use about three times the post width as a common post-hole diameter. A nominal 4 in post points to about a 12 in hole.

What to check before digging

Call 811 before digging so utilities can be marked. Home Depot also notes that holes near marked utility lines should be hand dug for safety.

Check permit rules, property lines, fence height limits, and frost depth before you set posts. Frost depth changes by region, and local code may require a deeper hole than the height rule alone.

Gate posts and corner posts carry more load than middle line posts. When in doubt, use the stronger setting or follow the fence manufacturer’s installation guide.

For nearby material estimates, use the Concrete Block Calculator for wall blocks, the Drywall Calculator for interior panels, or the Interior Painting Cost Calculator after a room project is closed in.

Limitations

This calculator gives a planning estimate. It does not replace local code, permit rules, stamped plans, manufacturer instructions, or site-specific engineering.

It cannot see your soil, wind exposure, drainage, frost heave risk, slope, gate weight, post material, or concrete detail. If a post supports a heavy gate, retaining load, deck, roof, or any structural load, use a qualified professional.

Frequently asked questions

How deep should a fence post hole be?

A common starting point is 1/3 to 1/2 of the above-ground post height. Use the deeper end for gate, corner, end, or wind-exposed posts, and follow local frost-depth rules when they require a deeper hole.

Do fence posts need to be below the frost line?

In areas with freezing ground, local code or the fence manufacturer may require post holes below the frost line. Frost depth varies by region, so check your local building office before digging.

How wide should a fence post hole be?

A common rule is to make the hole about three times the post width. For a nominal 4-inch post, that points to a hole around 12 inches in diameter.

Should I add gravel under fence posts?

Many fence guides use a gravel layer below the post for drainage. This calculator adds the gravel depth to the hole depth so the post still reaches the planned depth below grade.