
Fence Post Calculator
Count line, corner and gate posts for any fence.
Enter your fence length and post spacing to get the total number of posts plus a cost estimate.
Standard: 8 ft
Include both ends (min 2)
Calculation Results
Planning estimate โ actual quotes vary
Get quotes from local fence companies
Tell local pros about your project and compare their quotes with your planning estimate.
Quote requests are handled by Networx Systems, Inc. and its Partners, who may contact you about your project. We may be compensated for referrals.
Save this calculation in the free app
Smart Fencing Calculator keeps your fence projects on your phone and works offline on the job site. On iPhone? It's inside Roofing Calculator & Estimator.
๐ Use 4ร4 line posts and 6ร6 corner / gate posts for stiffness.
Choosing wood, steel or vinyl posts? See our fence post buying guide.
๐ฑ More free Android calculators
Fence, deck, roofing, gravel, sod, drywall, tile and insulation estimators from Dixon App Studio โ all free on Google Play, all work offline.
Smart Fencing CalculatorThis site
Fence posts, pickets, rails, concrete, gates and total project cost.
Get it on Google PlaySmart Decking Calculator
Deck boards, joists, footings, railings and material cost estimates.
Get it on Google PlaySmart Drywall Calculator
Drywall sheets, mud, tape, screws and finishing cost estimates.
Get it on Google PlaySod Calculator: Mulch, Topsoil
Sod pallets, mulch, topsoil and seed for the yard around your new fence.
Get it on Google PlayPea Gravel & Stone Calculator
Gravel, crushed stone and base rock in tons and cubic yards.
Get it on Google PlayRoofing Calculator
Roof squares, shingles, underlayment and roof replacement cost.
Get it on Google PlayTile Calculator: Grout, Shower
Tile boxes, grout, thinset and backer board for floors and showers.
Get it on Google PlayInsulation Calculator: R-Value
Blown-in bags, batts, rolls and spray foam to a target R-value.
Get it on Google Play๐ง Recommended Fencing Tools & Supplies
Disclosure: As an Amazon Associate I earn from qualifying purchases.
Goovilla 4x4 Post Caps Black(Actual 3.5" x 3.5"), 24 Pack with 48 Screws | Easy Installation Fence Post Caps, Sturdy Waterproof Plastic Deck Post Caps with Frosted Finishing Touch, Protect Wood Post
$19.99
Check price on AmazonInstant Anchoring Cement, 10 Pound Bag, Quick Setting, Anchoring Mix | Cement Mix for Setting Posts, Railings, Stepping Stones, Quick Drying, Fast Set Formula, Outdoor, Indoor
$21.99
Check price on AmazonVEVOR Post Hole Digger,52cc 1450W Auger Digger,Gas Powered Earth Digger with Two Drill Bit 6''& 10''and 3 Extension Rods,for Farmland,Garden and Plant,EPA Certification,Black+Orange+White
$159.90
Check price on AmazonSIKA Sikacryl Ready-Mix Concrete Repair Patch, Gray, Textured, 1 qt 1-Pack | Repairs spalls and cracks in masonry, Ready-to-use acrylic formula, Durable finish, Easy cleanup and application
$9.99
Check price on AmazonGtongoko 12LB T Post Driver with Handles, Heavy Duty Fence Post Pounder | Black, 2.7" Inner Diameter Fit, Dual Handle Control Grip, Steel Construction with Powder Coating, Fence Installation Support
$36.99
Check price on AmazonPrices as of Oct 19, 2026, 4:37 AM UTC. Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon.com at the time of purchase will apply to the purchase of this product.
๐ ๏ธ How This Calculator Works
The calculator divides your fence length by post spacing and adds 1 for the starting post โ that is every post position along the run, including the corner and end posts. Corner / end posts (at least 2, one at each end) are taken out of that count, the rest are line posts, and each gate adds two gate posts (one on each side of the opening).
๐ Formula
Line Posts = โlength / spacingโ + 1 โ corner/end posts; Total = line + corner/end + (gates ร 2)๐ Example Calculation
150 ft fence, 8 ft spacing, 1 gate, 4 corner/end posts: Post positions = โ150 / 8โ + 1 = 20 Line posts = 20 โ 4 = 16 Gate posts = 1 ร 2 = 2 Total = 16 + 4 + 2 = 22 posts
๐ก Pro Tips from Fence Builders
- Use 4ร4 line posts and 6ร6 posts at corners and gates for stiffness.
- Standard wood-fence spacing is 6โ8 ft; chain link can stretch to 10 ft.
- Set posts at least 1/3 of the fence height into the ground.
- Always brace gate posts in concrete โ they take the most stress.
โ Frequently Asked Questions
How far apart should fence posts be?
6โ8 ft on center for wood and vinyl; up to 10 ft for chain link. Closer spacing means a stiffer, longer-lasting fence.
Do gate posts need to be bigger?
Yes โ use 6ร6 posts (vs 4ร4 for line posts) and set them in extra concrete to handle the swinging gate weight.
How deep should fence posts go?
At least 1/3 the above-ground height, plus 6 inches of gravel for drainage. A 6-ft fence needs 2-ft+ deep holes.
๐ฌ Free Fencing Cost Guide
Get weekly fencing tips, material cost updates, and exclusive calculator guides โ straight to your inbox.
No spam, ever. Unsubscribe anytime.











