Fence Post Calculator
Count line, corner, end and gate posts, with shared corners counted once.
Fence Post Calculator Interactive Tool
Enter your project dimensions below. Results update instantly.
Advanced settings(Corners: 4 posts, Ends: 2 posts, Gates: 1 gates)▼
Results
Buy 16 fence posts (4 corner, 2 end, 8 line).
16 posts
8 to 9 ft overall post length (6 ft fence)8 posts
Intermediate posts spaced at 8 ft6 posts
4 corner + 2 terminal end2 posts
Dedicated hinge/latch posts for 1 gateFence Post Distribution Formulas
Total Posts = Corner Posts + End Posts + Line Posts + Gate Posts | Hole Depth = Post Height × 0.40 | Concrete = Posts × 2 bagsFormula Variables:
- Corner Posts:Shared intersection posts between adjacent fence runs (do not double-count).
- End Posts:Terminal posts ending at building walls or property edges.
- Gate Posts:Two structural posts flanking each gate opening.
Line posts fill the interior span between corners and ends based on maximum allowable spacing.
Step-by-Step Worked Example
Example: 150-foot backyard fence with 4 corners, 2 ends and 1 gate
A 150-foot fence line with 4 corner posts, 2 end posts, 1 gate opening and posts spaced 8 feet apart.
- Sections between posts: 150 ÷ 8 = 18.75, round up to 19 sections.
- Anchor posts: 4 corners + 2 ends = 6 posts.
- Line posts: 19 sections - 4 corners - (2 ends - 1) = 14 posts.
- Gate posts: 1 gate × 2 posts = 2 posts.
- Total posts: 6 + 14 + 2 = 22 posts.
Related Calculators
Related estimation tools for fencing and complementary construction planning:
Post Hole Concrete Calculator
Calculate premix concrete bags and volume per hole, after taking away the space the wooden post fills.
Fence Calculator
Calculate posts, horizontal rails and vertical pickets for a wood fence.
Concrete Footing Calculator
Calculate volume and bag counts for round sonotubes and rectangular post footings.
Related Material & Construction Guides
In-depth guidance on measurement standards, formulas, and material depths:
How to Calculate Concrete Volume: Slabs, Piers, Footings
For a slab, multiply length × width × thickness (in feet), then divide by 27 to get cubic yards. For a round pier, use 3.14 × radius × radius × depth. A 10 × 12 ft slab 4 inches thick is 40 cubic feet, or 1.48 cubic yards, and 1.63 cubic yards with 10% extra.
How to Measure for Gravel: Odd Shapes, Depth and Area
To measure for gravel, find the area of your space in square feet and its average depth, then multiply area × depth in feet and divide by 27 to get cubic yards. For odd shapes, split the space into rectangles, circles and triangles, find each area and add them. An L-shaped space of 248 sq ft at 4 inches deep needs 3.06 cubic yards, or 4.29 tons, before extra.
How Many Fence Posts Do I Need? Corners, Ends and Gates
Divide the fence length by the post spacing, round up to get sections, add 1 post, then sort out corners, ends and gates. A 60 ft U-shaped fence with 1 gate needs 11 posts.
Input Explanations & Measurement Guidelines
Total Fence Length
Typical: 100 to 250 ftSum of all fence segment lengths.
Number of Corners
Typical: 2 to 490-degree or directional change intersections.
End Posts
Typical: 2Posts terminating against a house or existing structure.
Gate Openings
Typical: 1 or 2Pedestrian or driveway gate openings.
Assumptions & Limitations
- Posts are spaced evenly, at or below the spacing you enter (our calculator starts at 8 ft).
- Shared corner posts serve both meeting segments without duplicate post installation.
Safety & Professional Notes
- Add 2 to 3 inches of coarse crushed gravel at the bottom of each post hole before pouring concrete to allow drainage away from the bottom of wood posts.
Frequently Asked Questions
What size post should I use for a 6-foot fence?
Many fence builders use 4×4 treated wood posts or steel posts. Post length and burial depth depend on your fence height, soil and local rules, so ask your supplier and your local building office. Our calculator counts posts and does not choose a post size.
How much concrete do I need per fence post?
A 10-inch diameter post hole often takes about two 50-lb or 60-lb bags of fast-setting concrete. Check the label on your bag.