Fence Post Calculator

Find how many posts, rails and concrete bags you need for your fence. Free, private and no sign-up.

ft
ft
in
in

Results update as you type. Estimates only — verify with your local building code.

How to use this free fence post calculator online

  1. Enter your total fence length — measure every straight run and add them together.
  2. Choose your fence type. The calculator will suggest a standard post spacing for that material.
  3. Adjust the spacing if your project requires something different.
  4. Enter the number of gates. Each gate replaces a section of fence but still needs two gate posts.
  5. Choose straight run or enclosed loop.
  6. Set post size, hole diameter and hole depth for the concrete estimate.
  7. Read the post count, rail count, concrete per hole and total bags below.

Post count formula

The calculator uses the classic "fence-post problem" formula from carpentry and mathematics:

Source: this is a standard formula used by fence professionals and building suppliers.[reference:8][reference:9]

Standard post spacing by fence type

Fence typeTypical spacing
Wood / privacy6–8 ft (1.8–2.4 m)
Chain-link4–10 ft (1.2–3.0 m), usually 8 ft
Vinyl6–8 ft (1.8–2.4 m)
Split rail8–10 ft (2.4–3.0 m)
Wire / livestock8–12 ft (2.4–3.6 m)

Spacing is measured on-centre — from the middle of one post to the middle of the next.[reference:10]

Concrete per post

The concrete needed per hole is the hole volume minus the volume of the post sitting inside it. Hole diameter is typically about three times the post width, and depth is about one-third of the post length.[reference:11]

Always add 10 percent extra for spillage and settling.[reference:12]

Worked example

150 ft straight fence, 8 ft spacing, 4 × 4 posts, 10-inch holes 24 inches deep, 80 lb bags.

Frequently asked questions

How many fence posts do I need for 100 feet?

At 8-foot spacing on a straight run, 100 feet needs 14 posts: (100 ÷ 8) rounded up is 13, plus 1 end post equals 14. At 6-foot spacing it needs 18 posts.

How far apart should fence posts be?

Wood privacy fences: 6 to 8 feet. Chain-link: 4 to 10 feet, usually 8. Vinyl: 6 to 8 feet. Split rail: 8 to 10 feet. Wire or livestock: 8 to 12 feet.

How many bags of concrete per fence post?

A typical 4×4 post in an 8-inch hole 36 inches deep needs 1 to 2 bags of 50-pound concrete. A 6×6 post in a 12-inch hole 48 inches deep needs 3 to 4 bags of 80-pound concrete.

How deep should fence posts be buried?

Bury at least one-third of the post length underground. For a 6-foot fence, use 8-foot posts buried 2 feet. In cold climates, bury below the local frost line, typically 36 inches in northern areas.

What is the difference between a straight run and an enclosed loop?

A straight run has two end posts, so it needs one more post than the number of sections. An enclosed loop shares its start and end post, so the post count equals the number of sections.

Is this fence post calculator free?

Yes. It is free, runs entirely in your browser and requires no sign-up. Nothing you enter is sent to our servers.