Fence Calculator
Calculate posts, rails, pickets, and concrete for any fence project.
Results
Posts —
Rails —
Pickets / Boards —
Concrete (80 lb bags) —
Includes gate posts (add 2 extra per gate). Concrete estimated at 2 bags per post for standard depth.
Advertisement
How to Calculate Fence Materials
Fence material calculations depend on the total linear footage, fence height, post spacing, and fence style. This calculator handles the math for the most common fence types.
Fence Formula
Posts = (Fence Length / Post Spacing) + 1 + (Gates × 2)
Rails per Section = 2 (for 4-5 ft) or 3 (for 6-8 ft)
Pickets = Fence Length / Picket Width (typically 3.5" or 5.5")
Concrete = Posts × 2 bags (80 lb) for standard 2 ft depth
Rails per Section = 2 (for 4-5 ft) or 3 (for 6-8 ft)
Pickets = Fence Length / Picket Width (typically 3.5" or 5.5")
Concrete = Posts × 2 bags (80 lb) for standard 2 ft depth
Post Hole Depth Guide
- 4' fence: 24" deep hole (1/3 of above-ground height + 6")
- 6' fence: 30-36" deep (below frost line in cold climates)
- 8' fence: 36-42" deep
General rule: bury 1/3 of the total post length underground. In frost-prone areas, dig below the frost line.
Common Fence Styles
- Picket fence: Spaced pickets (3.5" wide with 1-2" gap). Classic look, semi-private.
- Privacy fence: Boards butted together with no gaps. Full privacy.
- Shadowbox: Alternating boards on each side of rails. Looks good from both sides.
- Board-on-board: Overlapping boards for privacy with some airflow.
- Chain link: Most affordable per linear foot. Sold in rolls.
Material Tips
- Use pressure-treated posts (rated for ground contact) — they last 15-20 years
- Cedar and redwood resist rot naturally but cost 2-3x more than pine
- Add 10% extra pickets/boards for waste and future repairs
- Gate posts should be set deeper and in more concrete than line posts
A fence post driver makes setting posts much easier, especially in hard soil. You can also browse fence panels at Lowe's for pre-built panel options.