Fence Post Depth Calculator
This fence post depth calculator tells you how deep to set a post, how wide to dig the hole, how long a post to buy and how many bags of concrete each hole takes. Enter the fence height, the post size and whether it's a line, corner or gate post, plus your frost depth, any town minimum and gravel if you know them. It shows the rule that set each number, and an optional cost estimate for the bags.
How to use this calculator
Start from the finished fence height: every depth rule is written from the exposed height.
- Enter the fence height above ground.
- Pick the post. Wood is entered at actual size, 3.5 inches for a 4x4 and 5.5 for a 6x6, per the American Softwood Lumber Standard, PS 20. For steel pipe, choose round and enter the outside diameter.
- Say which post it is. Gate, corner and end posts get a deeper minimum.
- Add frost depth and any town minimum. Your building department publishes both; there's no national figure.
- Add gravel if you're using it. It deepens the hole but doesn't change the concrete.
How the depth is worked out
No model building code (IBC or IRC) sets fence post depth, so the calculator takes four published numbers and uses the deepest.
Depth = deepest of: ASTM F567, gate or corner minimum, frost depth, local minimum
ASTM F567 (in) = 24 + 3 × (fence height in ft minus 4), never under 24
ASTM F567
30 in at 6 ft
The chain link installation standard, reproduced in the CLFMI product manual.
Gate and corner
36 in
Or line post plus 6 in if that's deeper, based on USDA NRCS fence specs in California and Vermont, written for farm fences.
Frost depth
Local
Up to 5 feet in northern Minnesota under Minnesota Rules 1303.1600. See frost and fence posts.
Town minimum
Wins
Lombard, Illinois requires 36 in and inspects the holes; unincorporated Cook County requires 42.
The result also shows the bag makers' own rules, from a third to half the exposed height, as a range: 24 to 42 inches for a 6 foot fence. Why the one-third rule disagrees with itself lays out all four versions.
Fence post depth chart
A 6 foot fence on 4x4 posts needs 30 inches of depth and a 10 foot post, before frost or local rules. The usual 8 foot post leaves only 24 inches in the ground.
| Fence | Line post | Buy | Gate or corner | Buy |
|---|---|---|---|---|
| 4 ft | 24 in | 6 ft | 36 in | 8 ft |
| 5 ft | 27 in | 8 ft | 36 in | 8 ft |
| 6 ft | 30 in | 10 ft | 36 in | 10 ft |
| 7 ft | 33 in | 10 ft | 39 in | 12 ft |
| 8 ft | 36 in | 12 ft | 42 in | 12 ft |
A deeper frost line wins over the table: in Minnesota Zone I, a 6 foot fence set to 60 inches needs a 12 foot post.
How wide to dig the hole
Dig about three times the post width: a 10 inch hole for a 4x4 and 16 inches for a 6x6. The calculator checks it against the code minimum.
Code minimum
8.95 in
For a 4x4: the diagonal plus 4 inches, per IBC 1807.3.3 as adopted in Seattle.
Bag rule
3 × post
Quikrete and Sakrete's rule: 10.5 in for a 4x4.
Steel pipe
4 × diameter
ASTM F567, up to 4 in pipe; 3 × above that.
A 6x6 doubles the bags. At 30 inches deep a 4x4 takes 4 bags of 50 lb fast-setting mix and a 6x6 takes 8, because volume rises with the square of the hole width. Depth buys more holding per bag than width, as the code embedment equation shows.
Hole width and bags for six common posts, 30 inch depth
| Post | Code min | Hole | 50 lb bags |
|---|---|---|---|
| 4x4 wood | 8.95 in | 10 in | 4 |
| 6x6 wood | 11.78 in | 16 in | 8 |
| 1.90 in pipe | 5.9 in | 8 in | 3 |
| 2.375 in pipe | 6.38 in | 10 in | 4 |
| 2.875 in pipe | 6.88 in | 12 in | 5 |
| 4.0 in pipe | 8 in | 16 in | 9 |
A worked example
A 6 foot privacy fence in Columbus, Ohio, needs 65 bags for 14 line posts and two gate posts. Columbus publishes a 32 inch frost depth; the posts sit on 6 inches of gravel.
- Line posts, 4x4: 32 inches. Frost beats F567's 30. Dig 38 inches deep, 10 across; buy 10 foot posts. 4 bags each.
- Gate posts, 6x6: 36 inches. The gate minimum beats frost. Dig 42 inches deep, 16 across; 10 foot posts. 10 bags each.
- Total before you round. 14 line posts hold 17.19 cu ft (46 bags) and the gate posts 7.12 cu ft (19 bags). Rounding hole by hole would say 76, but dry fast-setting mix carries over from hole to hole.
To count posts from the length of the run, use the fence post concrete calculator.
What this calculator does not check
The depth is a floor, not a design: it doesn't size the post for wind or soil.
Wind
Not checked
A solid board fence catches more wind than chain link, the fence F567 was written for. IBC 1807.3.2.1 can size it if you know the load.
Soil
Clay: half
Clay resists a leaning post half as well as sandy gravel under IBC Table 1806.2. See soil and post depth.
Decks
Different job
A post carrying a deck or roof needs a footing sized from load: use the deck footing size calculator.
Frequently asked questions
How deep should a 6 foot fence post be?
30 inches by ASTM F567, the chain link installation standard: 24 inches plus 3 for each foot of fence over 4. Go deeper if your frost line or town minimum is deeper than that, and note that a 30 inch setting needs a 10 foot post, not the usual 8.
How deep should a gate post be?
At least 36 inches, and deeper than the line posts on the same fence. That is what USDA NRCS fence specifications in California and Vermont use for gate, corner and end posts; we found no freely published gate post depth for a residential wood fence.
How long should a fence post be?
The fence height plus the depth in the ground, rounded up to a length you can buy. A 4 foot fence at 24 inches takes a 6 foot post, and an 8 foot fence at 36 inches needs 11 feet, so a 12 foot post.
How deep should a post be for a 4 foot fence?
24 inches. ASTM F567 never goes below 24 however short the fence. A third of the exposed height would be only 16 inches, shallower than any published minimum we found.
What if I hit rock before I reach the depth?
A 2015 USDA NRCS Texas farm fence spec let steel T-posts go 18 inches deep in rocky soil, though its 2021 spec sets every post 3 feet deep. We found no guidance for wood posts in rock, so ask your building department before settling for less.
Does the gravel layer count toward the depth?
No. The depth is the length of post held in concrete, and gravel goes underneath, so 30 inches of setting on 6 inches of gravel is a 36 inch hole. Gravel helps in soil that drains and may hold water in clay, which the depth guide covers.