Skip to content
Omnikalc

Fence post depth calculator: how deep to set your posts

Enter the fence height, frost line, length and post spacing to get the hole depth, the post length, the number of posts and the bags of concrete.

Updated on
Your inputs
ft

Value out of range

ft

Value out of range

ft

Value out of range

ft

Value out of range

in

Value out of range

Results

Hole depth

3.0 ft

Post length to buy (rounded up to an even foot)
10 ft
Number of posts
14
Concrete needed for all holes
19.3 ft³
80 lb bags of concrete mix
33

A fence is only as steady as its posts. The key question is how deep to set them and how much concrete to buy. This calculator uses the rule that a post needs about one third of its length underground, checks it against the frost line, and then gives the hole depth, the post length to buy, the number of posts and the bags of concrete for the whole run.

How the calculation works

  • Hole depth = the larger of half the height above ground (one third of the post) and the frost line depth
  • Post length = height above ground + hole depth, rounded up to the next even foot
  • Number of posts = fence length ÷ spacing, rounded up, plus 1
  • Concrete per hole = hole volume − the volume of the post in it
  • Bags = total concrete ÷ 0.6 ft³ per 80 lb bag

Example

A 6 ft fence, 100 ft long, with posts every 8 ft and a frost line at 3 ft. The hole depth is the larger of 3 ft and 3 ft: 3 ft. Each 4×4 post is 9 ft long, so you buy 10 ft posts. You need 14 posts. With 10 in. holes, each takes 1.38 ft³ of concrete, or 19.3 ft³ in all: 33 bags of 80 lb mix.

Why it matters

Shallow posts lean in wind and heave in frost, and a single failed post can pull a whole run of panels out of line. Setting them at the right depth and spacing costs a little more on day one but avoids rebuilding the fence. Knowing the number of posts and bags up front also keeps your first trip to the store from falling short.

Good to know

The 1/3 rule is a minimum for ordinary soil. Sandy or soft soil, a very windy site, gates and corner posts call for more depth, and gate posts are often set deeper with larger holes. Add gravel at the bottom of the hole for drainage. Check local codes and call your utility locator before digging. This tool is for planning.

The fence calculator estimates panels and rails, the footing size calculator sizes a concrete footing, and the concrete volume calculator turns dimensions into yards.

Frequently asked questions

How deep should fence posts be?

A common rule is to bury at least one third of the post's total length, so half the height above ground. For a 6 ft fence, that is 3 ft in the ground and a 9 ft post. In cold climates the hole must also reach below the frost line.

Why does the frost line matter?

Water in the soil expands as it freezes and can push a shallow post upward, a process called frost heave. A post set below the frost line has soil around it that stays unfrozen and holds it in place.

How wide should the hole be?

Three times the width of the post is a good rule, so a 4×4 gets a hole about 10 to 12 inches across. A wider hole holds more concrete and resists leaning, but needs more material.

How far apart should posts be?

Six to eight feet for wood fences, and up to 10 feet for chain link. Closer spacing makes a stiffer fence and is better in windy places or for tall solid panels.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.