Fence Calculator

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.

  1. Panels: 100 ÷ 8 = 12.5, rounded up to 13 panels (the last panel is cut to fit)
  2. Posts: 13 + 1 = 14 posts
  3. Concrete bags: 14 × 1 = 14 bags

Answer: 13 panels, 14 posts and 14 bags of concrete

Fence Panel Sizes

Panel widthPanels per 100 ftPosts per 100 ft
4 ft2526
6 ft1718
8 ft1314

Frequently Asked Questions

How many posts do I need for a fence?

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.

How deep should fence posts be?

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.

How much concrete do I need per fence post?

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.

What panel size should I choose?

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.