Fence Post Length Calculator
Find total post length based on fence height, local frost line depth, and drainage gravel base with recommended lumber sizes.
Fence post length
Enter your measurements and the result updates as you type.
Overview
Buying fence posts that are too short leads to shallow footings that tilt, heave during winter freezes, or snap in high wind. This calculator computes the exact post timber stock required.
Calculations factor the above-ground fence height, the one-third structural rule of thumb, local winter frost line depths, and gravel drainage allowances.
Common mistakes
- Buying 8-foot posts for a 6-foot fence in northern climates where frost lines require 36 to 42 inches of in-ground depth.
- Forgetting that lumber comes in standard even lengths (8, 10, 12, 14, 16 feet) and buying stock that leaves zero trimming margin.
- Neglecting the gravel drainage pad thickness at the bottom of the hole when calculating total dug depth.
- Cutting post tops off before concrete has fully cured and settled.
Related calculators
- Fence post calculator Calculate line posts, corner posts and end posts from run length and spacing, with concrete for each post included in the take-off.
- Fence Post Hole Calculator Calculate post hole diameter, depth, cylinder volume, and 60 lb or 80 lb concrete bags needed for sturdy fence footings.
- Fence Post Spacing Calculator Calculate exact on-center post spacing and section divisions to prevent short awkward end panels on any fence length.
- Fence post depth calculator Get the right embedment depth for a fence post from frost line and above-ground height, so corner posts hold and winter frost cannot heave them.
Related reading
In-depth guides
Frequently asked questions
What length post do I need for a 6-foot privacy fence?
In frost-free regions, an 8-foot post (2 feet in ground) is common. Where frost lines reach 24 to 36 inches, you need 9 or 10-foot posts buried 36 to 42 inches deep.
What is the one-third rule for fence posts?
The structural rule of thumb requires at least one-third of the total post length to be buried underground (e.g., a 9-foot post has 6 feet above ground and 3 feet buried).
Why must posts extend below the frost line?
When wet soil freezes, it expands upward with tremendous force (frost heave). Setting posts below the frost line anchors the base in unfrozen, stable earth.
Should the post extend all the way through the gravel base?
No. The post should rest on top of the 6-inch compacted gravel base so water drains downward away from the bottom cut grain.
What length posts do I need for an 8-foot deer or security fence?
An 8-foot above-ground fence requires 11 to 12-foot posts buried at least 36 to 48 inches deep in concrete.
Can you trim the top of fence posts after installation?
Yes. It is best practice to install posts slightly long, wait for concrete to cure, and snap a chalk line across the tops to trim them flush and level.
Do gate posts require longer lumber than standard line posts?
Yes. Gate posts support dynamic cantilevered weight and should be set 6 to 12 inches deeper than standard line posts, often requiring the next stock length up.
What stock lengths do lumberyards carry for fence posts?
Treated 4x4 and 6x6 posts are sold in standard 8, 10, 12, 14, and 16-foot lengths.