Fence Post Depth Calculator
Enter your ZIP code, fence height and post size to get the hole depth, post length, hole width and how much concrete or gravel to buy. The calculator uses your local frost line where it is deeper than the usual half-the-height rule. The formulas and worked examples follow.
- Checked October 2026
- 4 sources
- How we verify
How Does the Fence Post Depth Calculator Work?
The calculator compares two depths and uses the deeper one. The first comes from the fence height, the second from your frost line. It then adds a gravel base and works out post length, hole width and concrete. No national code sets any of these numbers, so each rule below is labelled as practice.
- Embedment from height. Half of the above-ground height, with a 24 inch minimum. This equals one-third of the post’s total length.
- Light-duty option. One-third of the above-ground height for picket or split-rail fences, still 24 inches at least.
- Gate, corner and end posts. Add 6 inches.
- Frost check. If the post is set in concrete and your frost line is deeper than the embedment, the calculator uses the frost depth. Building codes do not require this for fences; it reflects how frozen soil can grip concrete.
- Gravel base. 6 inches under the post for drainage.
- Hole width. 3 to 4 times the post width. The default is 3×.
- Post length. Above-ground height plus embedment, rounded up to a stock length of 6, 8, 10 or 12 ft.
- Concrete. Hole volume minus the post, divided by the bag yield. It uses 0.45 cu ft for a 60 lb bag of fast-setting mix, from the manufacturer’s data sheet.
Fence Post Depth Examples for 4, 6 and 8 Foot Fences
For a 6 ft privacy fence on 4x4 posts, the half-height rule gives 36 inches of burial and a 9 ft post, so you buy a 10 ft post. A frost line of 42 inches lifts that to 42 inches if the post is set in concrete, and 60 inches lifts it to 60. A frost line of 12 inches changes nothing.
The table shows the burial depth, before the 6 inch gravel base, for posts set in concrete.
| Fence height | Frost line 12 in | Frost line 42 in | Frost line 60 in |
|---|---|---|---|
| 4 ft | 24 in | 42 in | 60 in |
| 6 ft | 36 in | 42 in | 60 in |
| 8 ft | 48 in | 48 in | 60 in |
Add 6 inches of gravel to each figure for the hole depth. A 6 ft fence in a 42 inch frost zone therefore needs a 48 inch hole and a post at least 6 ft + 42 in = 9.5 ft long, so a 10 ft post. For the rule behind the numbers, see the fence post depth guide.
How Many Bags of Concrete Per Fence Post?
A 4x4 post in a 10.5 inch hole, 36 inches of concrete deep, takes about 3.4 bags of 60 lb mix. The count rises quickly with post size: a 6x6 in a 16.5 inch hole, 36 inches deep, takes about 8.5 bags. Round up, and add a bag for spillage.
The table uses the hole width at 3× the post’s actual width (3.5 inches for a 4x4, 5.5 inches for a 6x6) and a 60 lb bag at 0.45 cu ft.
| Case | Hole width | Concrete depth | Volume | 60 lb bags |
|---|---|---|---|---|
| 4 ft fence, 4x4 | 10.5 in | 24 in | 1.03 cu ft | 2.3 |
| 6 ft fence, 4x4 | 10.5 in | 36 in | 1.55 cu ft | 3.4 |
| 6 ft fence, 6x6 | 16.5 in | 36 in | 3.82 cu ft | 8.5 |
| 8 ft fence, 6x6 | 16.5 in | 48 in | 5.10 cu ft | 11.3 |
| 6 ft gate, 6x6 | 16.5 in | 42 in | 4.46 cu ft | 9.9 |
Yields differ by product, so check the figure printed on the bag you buy. Bags of 50 lb of the same mix yield about 0.375 cu ft each.
When Does the Frost Line Decide the Depth?
The frost line decides the depth when the post is set in concrete and your frost line is deeper than the half-height rule gives. Concrete bonds with the soil, and frozen soil can lift it as the ground swells. A post in gravel can slip, so it heaves less.
For a 6 ft fence the crossover is a frost line of 36 inches. Below that, height decides; above it, frost decides. No code requires the frost depth for a fence post, but a local code can (Cook County, Illinois asks for 42 inches). Look up your frost line depth and read frost heave for the mechanism.

Should You Use Concrete or Gravel?
Use concrete for tall privacy fences, gates and corner posts, where you need the post to stay rigid in wind. Use compacted gravel for lower fences and where drainage matters, because gravel lets a wood post dry out and sheds water.
Gravel is also forgiving in frost. It can shift and settle without locking the post to the ground. Concrete is stiffer and holds a lean out, but it carries the frost risk described above. Many builders use concrete on the load posts and gravel on the line posts.
Questions People Ask
How deep should a fence post be for a 4 foot fence?
About 24 inches, which is the minimum and also half of 48 inches. Add 6 inches of gravel under the post, so the hole is about 30 inches deep, and use a 6 ft post.
How deep should an 8 ft fence post be buried?
About 48 inches, half of the 96-inch height, plus 6 inches of gravel. The post is 12 ft long. If your frost line is deeper than 48 inches and the post is set in concrete, dig to the frost depth instead.
How deep does a 10 ft post need to be?
A 10 ft post set by the half-height rule is buried about 40 inches: 10 ft is one third buried and two thirds above ground, which means 40 inches under and 80 inches above. Add 6 inches of gravel to the hole depth.
Is 2 feet deep enough for fence posts?
For a fence up to about 4 ft tall, yes. For a 6 ft privacy fence the calculator asks for 36 inches, and for a concrete-set post in a deep frost zone it asks for the frost depth.
What Is Your Frost Line Depth?
Enter a ZIP code or city to see the depth your own building code sets.