Fence Calculator (Posts, Pickets and Rails)

Editorial team, built with AI assistance, checked against Lowe's fence worksheet, updated .

Enter the total fence length, post spacing, number of gates and your picket width and spacing.

What to measure

Fence, side viewSide view of a picket fence with posts, rails and pickets; post spacing, total fence length and picket height marked.Post spacingFence lengthPicket
Fence length, post spacing and picket height

Worked example: Lowe's worksheet: 120 ft at 8 ft spacing = 15 sections; posts = 15 + 1 + 1 gate = 17. Pickets: 1,440 in ÷ 5.5 in = 262 (289 with 10%). With 2 in spaces, 1,440 ÷ 7.5 = 192 pickets.

Posts and pickets for common fence lengths

Fence lengthPosts at 8 ft spacingPosts at 6 ft spacingPickets (5.5 in, no gap)Pickets with 10%Rails at 8 ft, 3 per section
50 ft81011012121
100 ft141821924139
150 ft202632836157
200 ft263543748175

One straight run with no gates, using the Lowe's worksheet method: posts = sections + 1; add 1 post per gate. Pickets = length in inches ÷ picket width, rounded up. Estimates only; your layout, gates and corners change the count.

Fence material list at 6 ft and 8 ft post spacing

Assumptions: one straight run with 1 gate; one post cap per post; 2 rails per section for a 4 ft fence, 3 for a 6 ft fence; 5.5 in pickets with 2 in spaces (the Lowe's worksheet example) plus 10%. Gate openings are not subtracted. Results are estimates.

Fence lengthPost spacingSectionsPosts and caps (1 gate)Rails, 4 ft fenceRails, 6 ft fencePickets, 2 in spaces, +10%
50 ft8 ft79142188
50 ft6 ft911182788
100 ft8 ft13152639176
100 ft6 ft17193451176
150 ft8 ft19213857264
150 ft6 ft25275075264
200 ft8 ft25275075352
200 ft6 ft343668102352

Lowe's worksheet method. Closer spacing adds posts, caps and rails but not pickets.

Concrete for fence posts

QUIKRETE's Fast-Setting Concrete data sheet says two 50 lb bags set a 4 in post in a 10 in hole 2 ft deep, with the hole 3 times the post diameter. Its post-setting guide puts the depth at 1/3 to 1/2 of the post height above ground, so about 2 to 3 ft for a 6 ft fence. A 4 × 4 is 3½ in actual (PS 20), so 3 × 3½ = 10½ in. Bigger holes take more; use the fence-post mode of the concrete calculator. Local rules may set post depth, so check them.

How it works

Sections = length ÷ post spacing, rounded up. Posts = sections + 1 to end the run + 1 per gate. Pickets = length (in) ÷ (picket width + space), rounded up, then the allowance. Rails = sections × rails per section. This follows the Lowe's fence worksheet method.

More worked examples

  1. 100 ft run, 8 ft post spacing, no gates, 5.5 in pickets with no gap, 3 rails per section, 10% allowance: 100 ÷ 8 = 12.5, so 13 sections; 14 posts; 1,200 in ÷ 5.5 = 218.2, so 219 pickets, 241 with 10%; 13 × 3 = 39 rails.
  2. L-shaped fence, 60 ft + 40 ft at 8 ft spacing: the 60 ft side is 8 sections and 9 posts, the 40 ft side 5 sections and 6 posts. They share the corner post, so 9 + 6 − 1 = 14 posts. Entering 100 ft as one run also gives 14 here; with odd lengths, count each side and subtract shared corners.
  3. The Lowe's 120 ft worksheet layout, 1 gate, as a 4 ft picket fence at 6 ft spacing, 5.5 in pickets with 2 in spaces, 2 rails per section, 10%: 120 ÷ 6 = 20 sections; 20 + 1 + 1 gate = 22 posts and 22 caps (5 more than the 17 at 8 ft spacing); 1,440 in ÷ 7.5 in = 192 pickets, 192 × 1.10 = 211.2, so 212; 20 × 2 = 40 rails. At QUIKRETE's two 50 lb bags per post (4 in post, 10 in hole, 2 ft deep): 44 bags.
  4. 75 ft straight run at 8 ft spacing, no gate, 5.5 in pickets with no gap, 3 rails (6 ft fence), 10%: 75 ÷ 8 = 9.375, so 10 sections; the calculator spreads them evenly at 75 ÷ 10 = 7.50 ft each. Posts: 10 + 1 = 11. Pickets: 900 in ÷ 5.5 = 163.6, so 164, and 164 × 1.10 = 180.4, so 181. Rails: 10 × 3 = 30.

How to measure

  1. Mark the fence line and measure each straight run in feet, from end post to end post.
  2. Note every corner, end and gate. Each gate needs its own post (the calculator adds one per gate), and runs that meet at a corner share a post.
  3. Measure the actual picket width (a 1 × 6 is about 5.5 in) and decide on any gap between pickets.
  4. Add up every side before you divide, the way Lowe's worksheet does (48 + 24 + 24 + 12 + 12 = 120 ft). Spacing is typically 6 or 8 ft.
  5. Measure your posts: a 4 × 4 is about 3½ in (PS 20), and post size sets the hole width.
  6. Contact 811 a few business days before digging, with the address, county, nearest cross street and the exact area you will dig.

Common mistakes

Assumptions

Frequently asked questions

How many fence posts do I need?

Divide the fence length by the post spacing (rounded up) to get sections, then add 1 post to end the run and 1 per gate. Lowe's example: 120 ft ÷ 8 ft = 15 sections; 15 + 1 + 1 gate = 17 posts.

How many pickets do I need for 100 feet of fence?

With 5.5 in pickets and no gaps: 1,200 in ÷ 5.5 = 218.2, so 219 pickets, or 241 with a 10% allowance.

How many rails does a fence section need?

Lowe's worksheet uses 2 backer rails per 6 or 8 ft section for a 4 ft fence and 3 for a 6 ft fence.

Related calculators

Sources

Formulas and reference values are from these sources. Page content last updated 2026-11-19.