Fence Post Depth Calculator

Enter your fence height and post width to find how deep to set each post, the post length to buy, the hole diameter, and roughly how much concrete you'll need.

A fence is only as sturdy as its posts, and the posts are only as sturdy as their footing. The classic rule of thumb is to bury one-third of the post — so for every foot of fence above ground you set half a foot below it — with a minimum of two feet. This calculator applies that rule and sizes the hole and concrete for you.

How deep should fence posts be?

Set the buried depth to one-third of the total post length, which works out to half the above-ground height, and never less than 2 feet. The hole should be about three times the post's width so there's room for concrete all around.

Buried depth = Fence height ÷ 2 (minimum 2 ft)
Post length = Fence height + Buried depth
Hole diameter = Post width × 3
Fence heightBuried depthPost length
4 ft2 ft (minimum)6 ft
6 ft3 ft9 ft
8 ft4 ft12 ft

Worked example

A 6 ft fence with 4×4 posts:

Buried depth = 6 ÷ 23 ft
Post length = 6 + 39 ft
Hole diameter = 4 × 312 in

Frost line and soil matter

In cold climates the ground freezes and heaves, so posts must be set below the frost line — sometimes 3–4 feet or more, deeper than the one-third rule. Check your local building department for the frost depth. Sandy or loose soil also calls for a wider hole and more concrete, while gate posts and corner posts should go deeper than line posts because they take more load.

Frequently asked questions

How deep should a 6-foot fence post be?
About 3 feet, using the bury-one-third rule — so you'd buy a 9-foot post. Go deeper if your frost line requires it.
How wide should the hole be?
Roughly three times the post width — about 10–12 inches for a standard 4×4 post — to leave room for a concrete collar.
How much concrete per post?
A 12-inch-wide, 3-foot-deep hole for a 4×4 post takes roughly four to five 50–60 lb bags of fast-setting concrete. A narrower hole needs fewer; the calculator estimates it from your hole size.
Do all posts need the same depth?
Line posts follow the rule, but gate and corner posts carry more force and should be set deeper and in more concrete.

Related calculators

A general rule-of-thumb estimate. Local frost depth, soil type, wind load and building codes can require deeper posts and more concrete — check local requirements before you dig.
Written by the CalcPine team · Reviewed for accuracy · Last updated 11 July 2026 · Method: bury one-third of post, minimum 2 ft; hole = 3× post width.