How Many Fence Posts Do I Need?

Enter your fence length and post spacing to calculate posts, panels, and concrete bags needed for your fence project.

How to Calculate Fence Posts

Divide total fence length by post spacing and add 1 for the end post. For example, a 100-ft fence with 8-ft spacing needs 14 posts (100 ÷ 8 = 12.5, rounded up to 13, plus 1 end post).

Always add 2 extra posts per gate opening. Set posts at least 1/3 of their length underground — a 6-ft fence post should be set 2 ft deep.

Fence Materials and Cost Comparison

The fence material you choose affects post spacing requirements, total material cost, and long-term maintenance. Here's a quick comparison of the most common residential fence types:

Fence TypePost SpacingMaterial Cost/ftLifespan
Wood privacy fence6–8 ft$8–$20/ft10–20 years
Vinyl/PVC fence6–8 ft$15–$35/ft20–30 years
Chain link8–10 ft$5–$15/ft20–30 years
Split rail8 ft$4–$12/ft10–20 years
Aluminum6–8 ft$20–$40/ft30–50 years

Before You Install a Fence

Check your local zoning ordinances for setback requirements (how far the fence must be from your property line), height limits (typically 4 ft in front yards, 6 ft in back yards), and HOA rules if applicable. Many municipalities require a permit for fences over 6 feet tall. Getting this wrong can mean removing a freshly installed fence.

Have your property lines professionally surveyed or locate existing survey markers before digging — installing a fence even a few inches onto a neighbor's property can lead to costly disputes and forced removal.

Pro tip: Call 811 (USA) before digging any fence post holes. This free service marks underground utility lines and prevents costly and dangerous accidents.

How Deep Should Fence Posts Be?

The standard rule is to bury at least one-third of the post's total length underground. For a 6-ft privacy fence using 8-ft posts, set posts 2 ft deep. For a 4-ft fence, use 6-ft posts set 2 ft deep. In frost-prone regions (hardiness zones 5 and colder), posts must extend below the frost line — typically 36–48 inches deep — to prevent heaving during freeze-thaw cycles.

Dig post holes 3 times the diameter of the post. A standard 4×4 post needs a hole roughly 12 inches in diameter. Use 2 bags of 60-lb fast-setting concrete per post. Pour concrete dry into the hole, add water, and let it cure 24–48 hours before attaching panels.

Fence Cost per Linear Foot (Installed)

Fence TypeDIY Cost/ftInstalled Cost/ftLifespan
Wood privacy (6 ft)$8–$15$18–$3510–20 years
Vinyl / PVC (6 ft)$15–$30$25–$4520–30 years
Chain link (4 ft)$5–$10$12–$2520–30 years
Aluminum (4 ft)$18–$30$28–$4530–50 years
Split rail (2-rail)$4–$10$10–$2010–20 years
Cedar picket (4 ft)$6–$12$15–$2815–25 years

Wood Fence Maintenance to Extend Lifespan

Related tools: