Fence Post Depth Calculator
ConstructionCalculate how deep to bury a fence post using the 1/3-rule and your local frost line depth. Get the required burial depth and total post length to buy.
Reviewed by the thecalcu.com team ยท Last updated July 17, 2026
Required Burial Depth
What is a Fence Post Depth?
A Fence Post Depth Calculator determines how far underground a fence post needs to be set to remain stable and resist frost heave. The calculation weighs two competing requirements: a stability rule based on the post's total height (commonly one-third of the post buried underground), and a frost-protection rule that requires the post to extend at least 6 inches below the local frost line. The calculator takes whichever requirement demands the deeper hole.
Getting post depth right is one of the most overlooked steps in fence, deck, and pergola construction, a post that's too shallow can heave or lean within a season or two in colder climates. If you're planning the rest of your fence layout, pair this with the Fence Calculator for post and rail counts, or the Rectangle Fence Perimeter Calculator for total fence length.
Why Use a Fence Post Depth Calculator?
Guessing at post depth, or copying a number from an unrelated climate zone, is a common cause of fence failure. This calculator applies both the stability rule and your specific local frost line together, so you get a depth recommendation tailored to your actual conditions rather than a generic "24 inches" rule of thumb that might not account for a deep frost line.
It also calculates the total post length you need to buy, factoring in both the above-ground height you want and the required burial depth, useful for ordering the correct post length before you start digging.
Who Should Use This Calculator?
DIY fence builders use this calculator before digging post holes to avoid costly rework if a post heaves the following winter. Deck and pergola builders use it for support posts that face the same frost-heave risk as fence posts. Contractors working across different climate zones use it to quickly adjust burial depth recommendations for each job site's local frost line rather than relying on memory. Homeowners in northern climates especially benefit from this tool since frost heave risk is highest where frost lines extend deep into the ground. Landscapers installing gates or mailbox posts use it for any freestanding post that needs long-term stability.
What Insights Does the Fence Post Depth Calculator Give You?
The Required Burial Depth is the primary result, the minimum depth you should dig, based on whichever of the 1/3-rule or frost-line requirement is deeper for your inputs. This is the number to use when marking your post hole depth. The Total Post Length to Buy adds your desired above-ground height to the required burial depth, giving you the minimum post length to purchase so you don't come up short after burial. Comparing results across different frost depth inputs shows how much deeper posts need to go in colder regions versus mild climates.
How to use this Fence Post Depth calculator
- Enter the Post Height Above Ground you want for your finished fence in feet.
- Enter your Local Frost Line Depth in inches, check your local building code or extension office if you don't know this figure.
- Review the Required Burial Depth result, which is the deeper of the 1/3-rule and frost-line-plus-6-inch requirements.
- Review the Total Post Length to Buy, which combines your above-ground height and burial depth.
- Use these figures to mark your post holes and purchase posts of adequate length before beginning installation.
Show formula & methodology โShow less โ
Formula & Methodology
The calculator compares two depth requirements and uses the larger value: Depth by 1/3 Rule = Post Height Above Ground ร 12 ร 0.33 Depth by Frost Line = Frost Line Depth + 6 inches Required Burial Depth = the greater of the two values above Total Post Length = Post Height Above Ground ร 12 + Required Burial Depth Worked example: For a 6 ft post in an area with a 36 in frost line: Depth by 1/3 Rule = 6 ร 12 ร 0.33 = 23.8 in Depth by Frost Line = 36 + 6 = 42 in Required Burial Depth = 42 in (frost line requirement governs) Total Post Length = 6 ร 12 + 42 = 114 in (9.5 ft), so you'd need to buy a 10 ft post to allow for this depth.
Frequently Asked Questions