Fence Post and Materials Calculator
Estimate the posts, rails, pickets and concrete for a fence from its length, the post spacing and the height, with the usual hole depth and the bags of concrete to buy.
How it works
Enter the length of the fence, how far apart you will set the posts and how tall the fence will be. The fence post calculator counts the posts (with extra posts for gates), the rails and pickets, finds the depth to bury each post and works out how much concrete the holes take.
Sections = ⌈ run ÷ spacing ⌉
Posts = sections + 1 + gates
Hole depth = ½ × fence height (at least 2 ft)
| Symbol | Meaning | Unit |
|---|---|---|
| Run | Length of the fence line, without the gate openings | ft or m |
| Spacing | Distance between post centers (6 to 8 ft is usual) | ft or m |
| Height | Fence height above the ground | ft or m |
| Hole depth | Depth to bury each post; the post is cut about 1.5 times the fence height | ft or m |
The usual rule is to bury about one third of the post, which is half the height of the fence above the ground, and never less than 2 ft. In cold regions the holes must go below the frost line so frost heave cannot lift the posts, and gate posts and corner posts should be deeper and often wider. A hole diameter of three times the post width is typical for a 4 × 4 post (about 10 in).
The concrete is the volume of the hole less the volume of the post. A 60 lb bag of fast-setting concrete mix yields about 0.45 ft³; an 80 lb bag yields about 0.6 ft³. For a firmer fence, put 4 to 6 in of gravel in the bottom of each hole for drainage and slope the concrete away from the post at the top so water runs off.
Related: Concrete Calculator, Gravel Calculator, Square Footage Calculator.
Worked example
100 ft of 6 ft fence with posts every 8 ft: 100 ÷ 8 = 12.5, so there are 13 sections and 14 posts. Each post is buried 3 ft (half the fence height) so you buy posts 9 ft long.
With 10 in holes and 4 × 4 posts, each hole takes about 1.38 ft³ of concrete, 19.3 ft³ in all: 43 bags of 60 lb mix. Three rails need 39 rails and 5.5 in pickets with 0.5 in gaps need 200 pickets.
Things to know
Check the frost depth for your area: posts that are not below it can be pushed up by frozen ground. Gate posts and corner posts usually go deeper than line posts.
Spacing of 6 to 8 ft is usual for wood fences. Go closer on a tall fence or in windy places, because the wind load grows with the fence height.
Call before you dig. Underground gas, water, power and communication lines are the usual hidden hazard of post holes.
The count assumes an even spacing. A last section shorter than the others is fine, but do not stretch it beyond the spacing the rails can span.
Common questions
How many fence posts do I need?
Divide the length of the fence by the post spacing, round up to get the number of sections, then add one post, plus one more for every gate. A 100 ft fence with posts every 8 ft needs 14 posts.
How deep should a fence post be?
Bury about one third of the post: for a 6 ft fence, 3 ft in the ground and a 9 ft post. Never less than 2 ft, and below the frost line in cold climates.
How many bags of concrete per fence post?
A 4 × 4 post in a 10 in hole 3 ft deep takes about 1.4 ft³ of concrete, which is roughly three 60 lb bags (0.45 ft³ each). Less if you fill the hole partly with gravel.
How many pickets do I need?
Divide the length of the fence by the picket width plus the gap, and round up. For 5.5 in pickets with a half inch gap, that is 2 pickets per foot of fence.
Sources
- Common building practice for wood fences: burying one third of the post, post spacing of 6 to 8 ft, hole diameter of about three times the post width. Local codes and frost depths govern.
- Concrete mix yield per bag from the manufacturer (about 0.45 ft³ for 60 lb, 0.6 ft³ for 80 lb).
Last reviewed: November 11, 2026
