By Inch Calculator Team · Nov 5, 2026
Use this free fence calculator to work out how many panels, posts and bags of concrete you need for a fence run. Enter the total fence length and panel width, and the calculator rounds the panel count up so the last panel can be cut to fit.
Fence Calculator
Formula
Panels = fence length ÷ panel width, rounded up
- Posts = panels + 1 — a post at each end and one between every two panels
- Concrete bags = posts × bags per post
Worked Example
Worked example: a 100 ft fence with 8 ft panels and 1 bag of concrete per post.
- Panels: 100 ÷ 8 = 12.5, rounded up to 13 panels (the last panel is cut to fit)
- Posts: 13 + 1 = 14 posts
- Concrete bags: 14 × 1 = 14 bags
Answer: 13 panels, 14 posts and 14 bags of concrete
Fence Panel Sizes
| Panel width | Panels per 100 ft | Posts per 100 ft |
|---|---|---|
| 4 ft | 25 | 26 |
| 6 ft | 17 | 18 |
| 8 ft | 13 | 14 |
Frequently Asked Questions
Count one post for each panel, plus one extra post for the end of the run, so posts = panels + 1. Add extra posts for gates and corners, which are not included in this simple count.
Set posts at least 2 ft deep, or about one-third of the post length, whichever is deeper. In cold climates, set posts below the local frost line so frost does not lift them.
Most posts need 1 to 2 50-lb bags of concrete, depending on the hole size and post size. Enter the number of bags per post for your hole size in the calculator to get the total number of bags.
6 ft and 8 ft panels are the most common. 8 ft panels need fewer posts and less concrete, while 6 ft panels are sturdier in wind and easier to fit on slopes. Check local rules and the panel manufacturer's guidance.
More Calculators
Try our Roofing Calculator, Deck Calculator, and Tile Calculator.