Fence Calculator
How many fence posts, panels or pickets do you need? Enter the fence length, post spacing and gates to get posts, panels or pickets and rails, plus the bags of concrete to set the posts.
Your shopping estimate
Measure the line. Count every post.
Enter your fence length to get started.
How many fence posts do I need?
Take the fence length, subtract the gate openings, and divide by the post spacing. Round up to get the number of sections. A straight run needs one more post than it has sections, and each gate adds one more post because the opening needs a post on both sides.
Fence without gates = total length − gates × gate width Sections = round up(fence without gates ÷ post spacing) Posts = sections + 1 + gates Panels = sections Pickets = round up((fence + gap) ÷ (picket width + gap)) Rails = sections × rails per section Concrete per post = (π × hole diameter² ÷ 4 − post width²) × depth
A backyard fence, worked out.
A 100 ft fence with one 4 ft gate leaves 96 ft of fence. With posts every 8 ft, 96 ÷ 8 = 12 sections, so you need 12 + 1 + 1 = 14 posts and 12 panels.
Building it with 5 1/2 in pickets and no gap instead: 96 ft is 1,152 in, and 1,152 ÷ 5.5 = 209.5, so buy 210 pickets and 12 × 3 = 36 rails.
Setting 3 1/2 in posts in 10 in holes with 24 in of concrete takes about 0.92 ft³ per post, or 12.9 ft³ in total: 22 bags of 80 lb concrete mix, about 1.5 bags per post.
In metric: 30 m with one 1 m gate and 1.8 m spacing gives 17 sections and 19 posts.
Fence posts and pickets by length
Straight runs with no gates. Pickets are 5 1/2 in wide with no gap. Concrete assumes 3 1/2 in posts in 10 in holes, 24 in deep, at 8 ft spacing.
| Fence length | Posts at 6 ft | Posts at 8 ft | Pickets | 80 lb bags |
|---|---|---|---|---|
| 25 ft | 6 | 5 | 55 | 8 |
| 50 ft | 10 | 8 | 110 | 13 |
| 75 ft | 14 | 11 | 164 | 17 |
| 100 ft | 18 | 14 | 219 | 22 |
| 150 ft | 26 | 20 | 328 | 31 |
| 200 ft | 35 | 26 | 437 | 40 |
| 300 ft | 51 | 39 | 655 | 60 |
How deep should fence posts go?
QUIKRETE’s post-setting guide suggests a hole about three times the post width, about one-third of the post’s total length deep, with 6 in of gravel at the bottom for drainage. In cold climates, go below the local frost line. Enter only the depth you fill with concrete.
Good questions. Clear answers.
How many posts for a 100 ft fence?
With 8 ft spacing and no gates, 100 ÷ 8 = 12.5, so 13 sections and 14 posts. With 6 ft spacing it is 17 sections and 18 posts. Add a post for each gate.
How many bags of concrete per fence post?
For a 4×4 post in a 10 in hole with 24 in of concrete, about 1.5 bags of 80 lb mix, or 2 bags of 60 lb. Wider or deeper holes take more; the calculator works it out from your hole size.
How far apart should fence posts be?
Most wood fences use 6 to 8 ft between post centers. Pre-built panels set the spacing for you. Closer posts make a stiffer fence and are common in windy areas.
Do corners need extra posts?
If each side ends exactly on a post, the corner post is already counted. If a side ends between posts, you need one more post there. For several sides, you can calculate each side separately and add them up, counting shared corner posts once.
Does this include the gate itself?
No. The calculator adds the posts on each side of a gate opening, but gates are usually bought as kits or built separately.
Method & sources
Sections are rounded up and posts are counted for a single run, with one extra post per gate. Pickets ignore the width of the posts, which gives a small allowance. Concrete is the hole volume minus a square post, with no waste; bag yields are from the QUIKRETE Concrete Mix No. 1101 data sheet (80 lb 0.60 ft³, 60 lb 0.45 ft³, 40 lb 0.30 ft³). Exact conversions: 1 ft = 0.3048 m, 1 in = 2.54 cm.
Hole sizing follows QUIKRETE’s “Setting Posts” guidance. Check property lines, local fence height rules and buried utilities before you dig.
Last reviewed: November 4, 2026.