Fence Post Calculator
Posts for a fence of any number of sides at your spacing, counted by kind…
Posts for a fence of any number of sides at your spacing, counted by kind, with the length to buy and the concrete each hole takes.
Gates
Height
Posts at most
More options3½ in posts · 3 ft in the ground · prices
Posts
QUIKRETE’s rule buries a third of the post and adds 6 in of gravel. Where the ground freezes, go below the frost line your building department gives.
Concrete bags
Your prices (optional, each)
ExamplePosts
15posts
80 ft of fence with 1 gate: 13 sections between 15 posts, 1 at corners and 2 at gates.
Enter yours to see your result.
| Posts | 15 × 10 ft | 4×4; 1 corner, 2 end, 2 gate, 10 line |
|---|---|---|
| Gates | 1 × 4 ft | bought or built, with hinges and a latch |
| Concrete | 43 × 80 lb | 10½ in holes, +10% |
| Gravel | 4.5 cu ft | 6 in under each post |
Concrete per hole and bag sizes: post hole concrete calculator.
An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department. Terms
My shopping list
Add each part of a job and print one list. It stays on this device.
How this works: 4 sources,
How this works
Method
Each straight side of the fence is cut into sections no longer than the spacing you pick, spread evenly so the last one isn’t a stub, and a post stands at the end of every section. A side of n sections has n + 1 posts; where two sides meet they share the corner post, and a gate splits its side into two stretches with a post on each side of the opening. The calculator sorts the total into corner, end, gate and line posts, since corner and gate posts often get a size up or extra bracing. Full method
Sources
- Setting Posts project sheet (QUIKRETE)
- Voluntary Product Standard PS 20-25, American Softwood Lumber Standard (dressed sizes, standard lengths) (National Institute of Standards and Technology, 2025)
- QUIKRETE Concrete Mix (No. 1101) data sheet (QUIKRETE, revised October 2022)
- CIP 31, Ordering Ready Mixed Concrete (National Ready Mixed Concrete Association, 2023)
How it’s tested
2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Limits
An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: a fence of any shape drawn from above and in elevation, with posts, rails, boards, pickets or panels, gates and concrete.
How the posts are counted
Each straight side of the fence is cut into sections no longer than the spacing you pick, spread evenly so the last one isn’t a stub, and a post stands at the end of every section. A side of n sections has n + 1 posts; where two sides meet they share the corner post, and a gate splits its side into two stretches with a post on each side of the opening. The calculator sorts the total into corner, end, gate and line posts, since corner and gate posts often get a size up or extra bracing.
A worked example: a closed square-ish yard, 100 by 50 ft, with a 4 ft gate on each short side, posts at most 8 ft apart. The long sides are 13 sections each; each short side is two 23 ft stretches of 3 sections. That is 40 posts all round, 4 of them at the gates and 4 at the corners, and the concrete comes to 114 bags of 80 lb for a 6 ft fence on 4×4s.
Post length follows the height: QUIKRETE puts a third of the post in the ground, so the buried part is half the height above ground. A 6 ft fence wants 9 ft posts (buy 10 and trim) with 3 ft buried; where the ground freezes, the hole should reach below the frost line your building department gives, which can be deeper.
posts = Σ (⌈stretch ÷ spacing⌉ + 1) − shared corners; buried depth = height ÷ 2
- Dig the hole three times the post’s width across, with a third of the post’s overall length below ground, plus 6 inches of gravel for drainage. Source: Setting Posts project sheet.
- A 4×4 measures 3½ × 3½ in and a 6×6 5½ × 5½ in, dry and dressed; lumber comes in lengths of 1 or 2 ft steps. Source: Voluntary Product Standard PS 20-25, American Softwood Lumber Standard (dressed sizes, standard lengths).
A quick count
For one straight run, divide the length by the spacing, round up and add one: 100 ft at 8 ft is 12.5 → 13 sections, 14 posts. Add two posts for every gate in the run.
Posts for a straight run
One run, no gates or corners, with 80 lb bags for 4×4 posts on a 6 ft fence at 8 ft spacing (10% extra).
| Run | Posts at 6 ft | Posts at 8 ft | Bags at 8 ft |
|---|---|---|---|
| 50 ft | 10 | 8 | 23 |
| 75 ft | 14 | 11 | 32 |
| 100 ft | 18 | 14 | 40 |
| 150 ft | 26 | 20 | 57 |
| 200 ft | 35 | 26 | 74 |
| 300 ft | 51 | 39 | 111 |
Sources
- QUIKRETE, Setting Posts project sheet
- National Institute of Standards and Technology, Voluntary Product Standard PS 20-25, American Softwood Lumber Standard (dressed sizes, standard lengths)
Product names are trademarks of their owners; Binary Decimal is not affiliated with any of them. Their instructions and data sheets are cited for the figures printed in them.
Common questions
How many fence posts do I need for 100 feet?
At 8 ft spacing, 14: 100 ÷ 8 = 12.5, so 13 sections and one more post than sections. At 6 ft spacing, 18. Add two for each gate.
How deep should fence posts be?
A third of the post’s length by QUIKRETE’s rule, which is half the fence’s height: 3 ft for a 6 ft fence, 2 ft for a 4 ft one. Go below the frost line where the ground freezes.
Do corner posts count twice?
No. Two sides meeting at a corner share one post, so a fence of three sides has two fewer posts than its sides counted separately.
What size posts should I use?
4×4 (3½ in) posts suit most wood fences up to 6 ft; 6×6 (5½ in) are common for gates, tall fences and windy spots. The calculator’s holes and concrete follow the size you pick.