Calculate fence post depth from the post height above ground, plus total post length, hole size and concrete bags, with your local frost depth.
Fence Post Depth Formula
PD = ceil(max(H * R * S + A, M, F + C))
PL = H + PD
- PD is the post depth, the buried length measured from ground level to the bottom of the post (in)
- H is the fence height above ground (in)
- R is the selected embedment-to-exposed-height ratio: 1/3, 1/2, or a user-supplied value; it is not determined from wind exposure
- S is a user-selected numeric scenario multiplier, default 1. It is not a validated soil model. A is added embedment, M is the chosen minimum, F is entered frost depth, and C is required below-frost clearance; all lengths use inches. Omit F + C when F is zero or blank.
- PL is the total post length for the selected assumptions (in)
The calculator rounds embedment up to a whole inch after taking the larger of the ratio result plus any additional embedment, the chosen minimum, and the supplied frost-depth constraint. The 24-inch minimum is an editable example, not a universal requirement. Gate and corner posts need product- or site-specific requirements; an automatic six-inch adjustment cannot establish adequacy.
The reverse solve mode uses PD = ceil(max((L * R * S + A) / (1 + R * S), M, F + C)), with the frost term omitted when no positive frost depth is supplied. Exposed height is H = L – PD. This geometric limit uses the same whole-inch embedment grid as forward mode; it does not establish the tallest fence a post can safely support.
The concrete calculation assumes a circular hole with diameter max(10 in, ceil(3 times post width)). Hole depth adds the selected gravel base below the post. Concrete volume subtracts the square or round post area and excludes the unfilled top gap and gravel base, then applies the selected extra percentage. Defaults of 6 inches gravel, 3 inches unfilled top gap and 10 percent extra are editable planning assumptions. Follow the actual product instructions and required footing geometry.
Post Depth and Post Length by Fence Height
The table illustrates ratio arithmetic for a line-post scenario with S = 1, no extra embedment or frost constraint, and a 24-inch minimum. These columns are numeric scenarios, not validated wind categories. Example stock lengths must cover the entire result; verify availability and structural suitability separately.
| Fence height | R = 1/3 | R = 0.36 | R = 0.40 | Stock post to buy |
|---|---|---|---|---|
| 4 ft | 24 in | 24 in | 24 in | 6 ft |
| 5 ft | 24 in | 24 in | 24 in | 8 ft |
| 6 ft | 24 in | 26 in | 29 in | 8 ft (R = 1/3) or 10 ft |
| 7 ft | 28 in | 31 in | 34 in | 10 ft |
| 8 ft | 32 in | 35 in | 39 in | 12 ft |
Frost conditions can govern required footing depth, but no regional range can substitute for the current local requirement. Frost heave also depends on soil, drainage and footing shape; a fixed allowance below a frost line does not guarantee protection. Obtain the applicable depth and clearance from the local authority and product design. The following rows illustrate entered values only, using a 24-inch minimum and no added clearance.
| Input scenario | Entered frost depth | Depth floor with M = 24 in, C = 0 |
|---|---|---|
| Example 1 | 0 in | 24 in |
| Example 2 | 12 in | 24 in |
| Example 3 | 24 in | 24 in |
| Example 4 | 36 in | 36 in |
| Example 5 | 48 in | 48 in |
| Example 6 | 72 in | 72 in |
Example Problems
Example 1: For a 6-foot exposed height, choose a custom ratio of 0.36, multiplier 1, minimum 24 inches and no frost constraint or added embedment. PD = ceil(72 * 0.36) = 26 inches. PL = 72 + 26 = 98 inches, so a 10-foot example stock length covers the arithmetic. With a 3.5-inch square post, the example hole is 11 inches across and 32 inches deep including 6 inches gravel. Leaving a 3-inch top gap gives about 1.212 cubic feet of concrete including 10 percent extra, or three bags at 0.60 cubic feet per bag. These assumptions do not certify a safe footing.
Example 2: With an 8-foot total post, a ratio of exactly 1/3, multiplier 1, a 24-inch minimum and no extra embedment or frost constraint, PD = ceil((96 / 3) / (1 + 1/3)) = 24 inches. The geometric exposed height is 96 – 24 = 72 inches. Local and structural requirements may require deeper embedment or a different post.
FAQ
How deep should posts be for a 6-foot fence?
At a 6-foot exposed height, ratios of 1/3, 0.36 and 0.40 with multiplier 1 give 24, 26 and 29 inches after whole-inch rounding and a 24-inch minimum. These are arithmetic scenarios, not depth recommendations for particular wind or soil conditions. Use verified site and product requirements, including frost and gate loads.
Do fence posts really need to go below the frost line?
Where freezing occurs, follow the applicable local frost and footing requirements. Frost heave can lift or grip footings and posts; placing a post below an assumed frost line alone does not guarantee performance. Enter a verified frost depth and required additional clearance, and check the whole footing design. A blank frost input merely omits that constraint.
Should posts be set in concrete or gravel?
Concrete, compacted aggregate, drainage and footing geometry must suit the product, soil and application. Neither a material choice nor a fixed gravel thickness guarantees stability or prevents rot. Follow the product-specific installation method and curing instructions; slope exposed concrete to shed runoff where specified. Locate underground utilities before digging (811 in the United States).
