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 ground | Standard line post | Gate, corner, end, or windy post |
|---|---|---|
| 4 ft | 1 ft 8 in hole | 2 ft 4 in hole |
| 5 ft | 2 ft 0 in hole | 2 ft 10 in hole |
| 6 ft | 2 ft 4 in hole | 3 ft 4 in hole |
| 8 ft | 3 ft 0 in hole | 4 ft 4 in hole |
Hole width matters too. A common rule of thumb is a hole about three times as wide as the post. A nominal 4 in post points to about a 12 in hole.
What to check before digging
Contact 811 a few business days before you dig, even for a fence, so buried utility lines can be marked with paint or flags. Dig carefully around the marks, and think about moving a post that lands close to a buried line.
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.
Sources
- 811 Before You Dig (Common Ground Alliance)
- NIST Handbook 44 Appendix C: General Tables of Units of Measurement
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.