Home · Guides

How Many Fence Rails Do I Need?

A 100 ft chart, the bays × rails formula, and the end-bay mistake that shorts the order.

A 100 ft fence with posts 8 ft apart has 13 bays. With 2 rails per bay that is 26 rails; with 3 rails it is 39. Add 10% for waste and buy about 29 or 43.

The short rail count usually hides in the last bay. 100 ÷ 8 is 12.5, someone rounds down to 12 bays, and the truck leaves with 24 rails. The posts go in, the first twelve bays get framed, and the last short bay at the corner has nothing to nail pickets to. Another lumber run, another hour lost.

The rail formula is:

rails = fence bays × rails per bay

Fence bays are the spaces between posts, minus any bay used by a gate. Round partial bays up — a 4 ft end bay still needs a full set of rails, just cut shorter. Then add about 10% for splits, crowns, and bad cuts. Estimate only — not engineering or building-code advice.

Net rails (no waste) by run length and post spacing. Bays = ceil(length ÷ spacing). No gates subtracted. Order ~10% more.
Run lengthBays @ 8 ft2 rails3 railsBays @ 6 ft2 rails3 rails
50 ft7142191827
100 ft132639173451
150 ft193857255075
200 ft2550753468102
Open Fence Takeoff Master

How many rails for 100 feet of fence?

Start with the bays. 100 ft ÷ 8 ft spacing = 12.5. Round up to 13 bays (that is 14 posts, counting both ends). Twelve bays are a full 8 ft; the thirteenth is 4 ft.

Multiply by rails per bay. Two rows: 13 × 2 = 26 rails. Three rows: 13 × 3 = 39 rails. With 10% waste, 26 × 1.10 = 28.6 → buy 29; 39 × 1.10 = 42.9 → buy 43.

Tighter post spacing means more bays. The same 100 ft at 6 ft spacing is 17 bays: 34 rails with 2 rows, 51 with 3.

2 rails or 3 rails?

Two rails per bay is common on shorter fences. Three rails is the usual pick for taller privacy fence, where a middle rail keeps long pickets from bowing between the top and bottom. Your material, picket length, HOA rules, and local code decide the final answer — not this chart.

Whatever you pick, the count scales straight across: going from 2 to 3 rows adds one rail per bay. On a 100 ft, 8 ft spacing run that is 13 more rails before waste.

Three mistakes that short the rail order

Rounding bays down. 12.5 bays is 13 bays. The short bay at the end of a run, a corner, or next to a gate still gets a full row of rails. Dividing length by spacing and dropping the decimal is the most common way to come up one bay short on every run.

Counting rails across gate openings. A gate opening has no fence rails — the gate leaf has its own frame. Each walk gate removes at least one bay; a wide drive gate can remove two. Leave the gate in the count and you buy rails for a hole.

Skipping waste. Rails take nails and screws at both ends and in every picket. A split end or a crowned board that will not sit flat gets swapped. Ordering the exact net count leaves no spare when that happens on the last bay.

Worked example with gates

Back yard: 150 ft of fence, posts 8 ft apart, 3 rails per bay, one 4 ft walk gate and one 12 ft drive gate.

  • Bays: 150 ÷ 8 = 18.75 → 19 bays (20 posts)
  • Walk gate: 4 ÷ 8 → 1 bay. Drive gate: 12 ÷ 8 = 1.5 → 2 bays
  • Fence bays: 19 − 1 − 2 = 16
  • Rails: 16 × 3 = 48. With 10% waste → order 53

Same yard with 2 rails per bay: 16 × 2 = 32 rails, about 36 with waste. This count assumes one rail board per bay per row. If you run longer stock across two bays, convert the bay count to board lengths before you order.

In Fence Takeoff Master you enter the run length, post spacing, 2 or 3 rails, and gates once. It returns posts, rails, pickets, and post-hole concrete bags on your phone, with 10% waste applied to rails by default. One run and walk gates are free; Pro ($79/mo) adds extra runs, drive gates, and a printable quote.

Rails are one line of the takeoff

Posts set the bays, so start there — see how many fence posts you need for the +1 end-post rule. Then count pickets from the covered length and bags of concrete per post for the holes.

Quoting fence jobs for clients? EBN Fence Quote Pro turns the same takeoff into a PDF quote with your logo from your phone — read the EBN Fence Quote Pro review for what it does and does not do.

These counts are estimates only — not engineering or building-code advice. Wind load, fence height, rail size, and local code can change spacing and rail count. Round the bays up. Subtract the gates. Order the waste.

Open Fence Takeoff Master

Estimate only — not engineering or building-code advice.