Fence Post Calculator
Find out how many posts your fence needs. Corner, end and gate posts are counted separately, and you get the post length for your fence height.
How the post count is calculated
The fence is split into straight runs. Each run ends at a terminal post: an end post, a corner post or a gate post. Every run is divided into equal sections no longer than your maximum spacing, and line posts go between them.
The calculator assumes all runs are about the same length. If your sides differ a lot, use the Fence Spacing Calculator on each side to get an exact layout.
How deep should fence posts be?
A common rule is to bury at least one-third of the above-ground height, and never less than 2 ft. In cold climates, the bottom of the hole must be below the frost line, or frost heave will push the posts up. For a 6 ft fence that means a 2 ft hole and an 8 ft post.
Tips
- Set the corner, end and gate posts first. Then run a string line between them to place the line posts.
- Gate posts carry more load. Use a larger post (for example 6×6 instead of 4×4) or set them deeper.
- Buy one or two spare posts in case of crooked or split lumber.