Outdoor · Fence

Fence Post Depth Calculator: How Deep and How Far Apart

← All Guides

How deep: bury a fence post at least one third of its total length (about 2 feet minimum), and below the frost line in cold climates.

How far apart: 6 to 8 feet between post centers. Match your panel width.

The fence calculator turns your fence line into a post count and panel count. Whether those posts stay upright for the next twenty years comes down to depth, backfill and spacing, and a materials calculator cannot decide those for you. Use the calculator and chart below to get the depth right.

Fence Post Depth Calculator

Enter how tall the fence will stand above the ground. If you live where the ground freezes, add your local frost line depth too.

The 1/3 Rule for Post Depth

A fence post should be buried at least a third of its total length. That means a post that stands 6 feet above ground is 9 feet long with 3 feet underground. Every extra foot of fence height adds half a foot of depth. Short fences still need about 2 feet in the ground so the post does not rock.

Fence height above groundHole depth (1/3 rule)Post length neededBuy this length
3 ft2 ft (minimum)5 ft6 ft
4 ft2 ft6 ft6 ft
5 ft2.5 ft7.5 ft8 ft
6 ft3 ft9 ft10 ft
8 ft4 ft12 ft12 ft

In practice many installers set an 8 foot post 2 feet deep for a 6 foot privacy fence when the soil is firm. That works, but it is shallower than the 1/3 rule. Go deeper in loose or sandy soil, in windy spots, and at gate posts, which carry the most load.

In colder climates, depth also has to go below the local frost line regardless of that ratio. Frost heave (the ground freezing and expanding) can slowly push a shallow post out of line over a few winters. Your local building department can tell you the frost depth for your area.

How Far Apart Should Fence Posts Be?

Space posts 6 to 8 feet apart, measured from the center of one post to the center of the next. Most pre-built fence panels are 6 or 8 feet wide, so your post spacing should simply match your panel width. For a typical wood privacy fence that means:

These are common guidelines. Your panel maker's instructions and your local code take priority.

Concrete vs Tamped Gravel

Concrete footings are the stronger, more permanent option and the default most people reach for. Tamped gravel backfill (added and compacted in layers) is a legitimate alternative, and in wet or poorly draining soil it can actually outlast concrete. Gravel lets water drain away from the wood post, while concrete can trap moisture against it and speed up rot at the base.

If you are using concrete, the bags of concrete per fence post chart shows how many 50, 60 and 80 lb bags each hole takes, and the post hole concrete calculator works out the total for your whole fence.

Keep Spacing Consistent

Your panel width should match the post spacing you enter into the calculator, exactly. Uneven spacing is the single most common reason a finished fence looks slightly "off" even when every post is perfectly plumb and level. The eye catches inconsistent rhythm faster than it catches a lean.

Before you dig: call for utility locates first (811 in the US). Buried lines are a real risk with any post hole, and it is typically free.

Common Questions

How deep should a fence post be?

Bury at least one third of the post's total length, and never less than about 2 feet. For a fence that stands 6 feet above ground, that means a hole about 3 feet deep and a post about 9 feet long. In cold climates the hole also has to go below the local frost line.

How far apart should fence posts be?

Most fences use 6 to 8 feet between posts, measured from the center of one post to the center of the next. Use the width of your panels: 6 foot or 8 foot. Space posts closer (6 feet or less) for tall privacy fences, windy sites, heavy materials and next to gates.

How deep should a 4x4 fence post be buried?

The depth depends on the fence height, not the post size. A 4 foot fence needs about 2 feet in the ground (a 6 foot post). A 6 foot fence needs about 3 feet in the ground by the 1/3 rule, and many installers go at least 2 feet deep with an 8 foot post when the soil is firm.

Do fence posts need concrete?

No. Concrete holds the strongest, but tamped gravel also works and drains better in wet soil. If you do use concrete, the concrete bags per fence post guide shows how many bags each hole takes.

Run your own numbers with the fence calculator, keeping post spacing and panel width matched to your actual panels.