HomecalcTool

Fence Post Depth Calculator

Find the correct hole depth using the 1/3 rule and your local frost line depth.

Common values: 0 (South), 12 (Pacific NW), 24 (Midwest), 36 (New England), 48 (Minnesota/Canada)

How to Use This Calculator

Enter your fence height above ground in feet. For a standard 6-foot privacy fence, enter 6. Then enter your local frost line depth in inches. If you live in a frost-free area or do not know your frost depth, enter 0. The calculator will use the 1/3 rule only.

The result shows the recommended hole depth in inches and feet, the total post length you need, and the standard post length to buy. Use the presets for common fence heights and climate types. The frost compliance note tells you which rule controlled the recommended depth.

How to Calculate Fence Post Depth

Two rules apply, and the deeper result wins:

Rule 1 (1/3 rule): In-ground depth = Fence Height (ft) x 12 / 2 = fence height in inches divided by 2.

Rule 2 (frost rule): In-ground depth = Frost Line Depth + 6 inches.

The recommended depth is the maximum of both rules, with a hard minimum of 24 inches.

Example 1: 6-ft fence, frost-free (0 in).

  • Rule 1: (6 x 12) / 2 = 36 inches
  • Rule 2: 0 + 6 = 6 inches
  • Recommended: max(36, 6, 24) = 36 inches (3 ft)
  • Total post: 6 + 3 = 9 ft. Buy a 9-ft post.

Example 2: 6-ft fence, 36-in frost depth.

  • Rule 1: 36 inches
  • Rule 2: 36 + 6 = 42 inches
  • Recommended: max(36, 42, 24) = 42 inches (3.5 ft)
  • Total post: 6 + 3.5 = 9.5 ft. Buy a 10-ft post.

Post Setting Tips

Dig a couple of inches deeper than the calculated depth. Loose soil at the bottom of a post hole is a weak footing. Add 4 inches of compacted gravel at the bottom before setting the post. The gravel improves drainage around the base and keeps the post end from sitting in standing water, which is the primary cause of post rot even in pressure-treated wood.

Set corner and gate posts first. These are the anchor points for the rest of the fence line. String a line between corner posts to guide line post placement. Check each post with a level on two adjacent faces before the concrete sets. Plumb posts are worth the extra 60 seconds of checking.

Brace posts while concrete sets. A post set in fast-setting concrete needs to be held plumb for 20 to 40 minutes until the concrete grabs. Use temporary 2x4 diagonal braces staked to the ground or hold the post with a post level. Do not rely on hand-holding a post steady for 30 minutes.

Use UC4B ground-contact rated posts. Standard deck-grade pressure-treated lumber is rated UC3B, which is for above-ground use. Wood in direct soil contact requires UC4B or UC4A treatment. Look for the treatment stamp on the tag attached to each post. The difference in cost is small; the difference in service life can be 10 to 20 years.

What to Buy

Posts: 4x4 pressure-treated UC4B (ground contact) in the length recommended by this calculator. Common lengths at lumber yards: 6, 7, 8, 9, 10, 12 feet. If your project needs 9.5-foot posts, buy 10-foot posts and plan to trim or accept the extra height.

Auger: a 10-inch diameter auger bit for a 4x4 post, or a 12-inch bit for a 6x6 post. Rent a gas-powered one-person auger for projects with 10 or more holes. A manual post digger works for soft soil and fewer than 8 holes.

Concrete: Quikrete Fast-Setting 60-lb bags, 2 per post for a 4x4 in a 10-inch hole at 36-inch depth. 3 bags per post for deeper holes or larger posts. Compute total bags: post count x bags per post, plus 2 to 3 extra.

Gravel: a bag of coarse gravel or crushed stone per post for the 4-inch drainage layer at the base of each hole. This detail is often skipped and often leads to early post failure. Cost: under $1 per post.

Frequently Asked Questions

How deep should fence posts be set in the ground? +
The standard rule is 1/3 of the total post length in the ground, which means the in-ground depth equals half the above-ground height. For a 6-foot fence: in-ground depth = 6 / 2 = 3 feet (36 inches). The minimum in-ground depth is 24 inches regardless of fence height. In frost-prone areas, the hole must extend at least 6 inches below the local frost line to prevent frost heave.
What is the 1/3 rule for fence posts? +
The 1/3 rule states that 1/3 of the total post length should be in the ground and 2/3 should be above grade. If total post length = T, then in-ground = T/3 and above ground = 2T/3. To find in-ground depth when you know above-ground height: depth = height x 0.5. For a 6-ft fence: depth = 6 x 0.5 = 3 ft. This rule applies regardless of fence type or post material.
Does frost depth affect how deep fence posts should be? +
Yes. In freezing climates, posts set above the frost line will heave upward as the ground freezes and thaws each season. The frost pushes the post up from below and eventually leans or pops the post out of the ground entirely. Posts must extend at least 6 inches below the frost line. Find your local frost depth from your city or county building department, or search your city name plus "frost depth".
What is the frost depth in my area? +
Frost depth varies by location. General ranges: Gulf Coast and Deep South: 0 inches. Pacific Coast: 0 to 12 inches. Upper Midwest and New England: 36 to 48 inches. Minnesota and northern Canada: 48 to 60 inches. Central Plains: 18 to 36 inches. Your local building department or county extension office has the official frost depth for permits. Always use the official depth for permitted work.
What length post do I need for a 6-foot fence? +
For a 6-foot fence in a frost-free area (0-inch frost depth): in-ground depth = 36 inches, total post = 6 + 3 = 9 feet. Buy a 9-foot post or cut a 10-foot post. For a 6-foot fence in a 36-inch frost zone: in-ground depth = max(36 in by rule, 42 in by frost rule) = 42 inches = 3.5 ft. Total post = 6 + 3.5 = 9.5 ft. Buy a 10-foot post.
Can fence posts be set shallower than the 1/3 rule? +
Yes, in certain conditions. Concrete-encased posts in well-drained sandy soil with no frost exposure can sometimes use 24-inch depths for shorter fences. However, code-required fences (pool barriers, fire-rated assemblies) must follow local minimums. Shallower posts increase the risk of leaning under wind load. The 1/3 rule exists because it produces consistent results across most soil types.
Should I use concrete for all fence posts? +
Concrete is recommended for all posts. Fast-setting concrete poured dry into the wet hole and watered in place sets in 20 to 40 minutes and prevents post movement. Alternative: gravel backfill for posts in excellent drainage or swampy areas where standing water would undermine a concrete footing. Gravel drains well but provides less lateral rigidity than concrete. For most residential fences, concrete is the standard.

Related Calculators