Fence rail calculator — how many rails?
Count the horizontal rails (stringers) your fence needs, from the number of sections and the rails per section.
Calculator
25 sections × 3 rails = 75 rails. Fences under ~4 ft use 2 rails; 5–6 ft fences use 3 (labeled typicals).
Rails — also called stringers or backers — are the horizontal members that run between posts and carry the pickets or boards. Counting them is a two-step: first the number of sections (the spans between posts), then multiply by how many rails each section gets.
How many rails per section is a height call. Short fences under about 4 ft use two rails (top and bottom); 5–6 ft fences add a middle rail for three, which keeps tall boards from cupping and warping. Very tall or heavy privacy fences sometimes run four. When rails are sold in fixed sticks (commonly 8 ft), each section usually takes one stick per rail, so the rail count doubles as a stick count on 8 ft spacing.
Formula
sections = ceil(line_length_ft ÷ post_spacing_ft)\nrails = sections × rails_per_section
Worked example
200 ft run at 8 ft spacing, 3 rails per section:
- sections = ceil(200 ÷ 8) = 25
- rails = 25 × 3 = 75 rails
Reference table
Rails by run length at 8 ft spacing:
| Length | Sections | 2 rails | 3 rails |
|---|---|---|---|
| 50 ft | 7 | 14 | 21 |
| 100 ft | 13 | 26 | 39 |
| 150 ft | 19 | 38 | 57 |
| 200 ft | 25 | 50 | 75 |
| 300 ft | 38 | 76 | 114 |
Your rails per section: 3. 2 rails under ~4 ft, 3 rails at 5–6 ft (typical).