Split rail fence calculator
Calculate posts and horizontal rails for a two-rail or three-rail split rail or ranch-style fence.
Fence calculator
Enter your specs. Every result updates live and shows its formula.
Overview
Split rail (also called ranch-style) fencing drops picket infill entirely: horizontal rails run between posts and are the whole visible fence, so this calculator switches off the picket and panel fields for this material and counts only posts and rails.
Two-rail and three-rail are the two common configurations; three-rail is a taller, more solid-looking option and is also common for horse and livestock paddocks.
Assumptions
- Split rail has no infill, so the picket and panel calculations are not used for this style.
- Rail count is rails per section times the number of post sections.
- Post spacing defaults wider than a privacy fence, typically 8 to 10 feet.
Common mistakes
- Using tight wood-picket-fence post spacing for split rail, which typically runs wider, commonly 8 to 10 feet, since there is no infill panel weight to support.
- Forgetting that switching from two-rail to three-rail changes the rail count per section, and therefore total rails, without changing post count.
- Counting rails as total run length instead of rails-per-section times sections.
Fence calculation formulas
The same math the calculator runs, in plain terms. Nothing here is a black box.
-
Sections
sections = max(ceil(effective run / post spacing), 1)
-
Post count
posts = (sections + 1) along the run, minus named corner and end posts already placed, plus 2 gate posts per gate
-
Effective run
effective run = total length - sum of gate widths
-
Rail count
total rails = sections x rails per section
-
Picket count
pickets = ceil(run in inches / (picket width + gap)); total = ceil(raw x (1 + waste %))
-
Board-on-board pitch
pitch = picket width - 1 in overlap
-
Panel count
full panels = floor(run / panel width); add 1 cut panel if the remainder is over 0.01 ft; total = ceil(raw x (1 + waste %))
-
Concrete volume
per-hole = pi x (diameter / 2)^2 x depth; total = per-hole x posts; bags = ceil(total / bag yield)
-
Slope-adjusted run
slope run = effective run / cos(atan(slope % / 100)); shown alongside, counts use the flat run
-
Cost
materials = (posts x post price + rails x rail price + infill x unit price + 60 lb bags x bag price) x regional multiplier; labor = effective run x labor per ft x terrain multiplier x regional multiplier; installed total = materials + gate hardware + removal + permit + labor
Every number the calculator shows comes from these formulas applied to your inputs.
Next step
- Fence rail calculator Work out how many horizontal rails a fence run needs from its length, post spacing and rails per section, with the math shown.
- Fence post depth calculator Get the right embedment depth for a fence post from frost line and above-ground height, so corner posts hold and winter frost cannot heave them.
Related calculators
- Horse fence calculator Plan a livestock-safe horse fence at the commonly cited 4.5 to 5 foot height, with post spacing and full material take-off.
- Fence post calculator Calculate line posts, corner posts and end posts from run length and spacing, with concrete for each post included in the take-off.
- Fence cost calculator Estimate total fence cost from run length, height and your local material and labor rates, with the budget math shown.
Related reading
In-depth guides
Buying guide
Split rail, also called ranch-style fencing, drops picket infill entirely: horizontal rails run between posts and are the entire visible fence, which is why this calculator switches off the picket and panel fields for this material and counts only posts and rails. It is a different kind of take-off from the picket-based wood styles on this site: there is no board width or gap to set, only post spacing, rail count per section and total run length.
Two-rail and three-rail are the two common configurations, and the choice is about height and look rather than strength for a basic boundary: three-rail adds a middle rail for a taller, more solid appearance and a bit more containment, which is also common on paddock fencing covered on the horse fence calculator. Both configurations use the same post spacing and post count formula; only the rails-per-section number changes, so switching between them does not change how many posts you buy, only how many rails.
Post spacing on split rail typically runs wider than a picket or privacy fence, commonly 8 to 10 feet on center, since there is no infill panel weight or wind load from solid boards to support. The fence post calculator is useful for checking that spacing and post count independent of the rail configuration, and the fence post depth calculator confirms hole depth against the local frost line, which still applies to split rail posts even though they carry less load than a solid fence.
Materials cost less per foot than a privacy or picket style simply because there is no infill to buy; the fence cost calculator turns the post and rail counts from this page into a total using your own local prices. For general paddock and pasture fencing context beyond just split rail, horse and livestock fencing basics covers the broader options, and the fence materials guide compares split rail to other wood styles for anyone still deciding on a look before ordering rails.
Corner and end posts on a split rail fence take the tension of the rails pulling against them, which is different from a line post simply supporting the spans on either side, so a solid footing or rammed earth at the corners matters even on a style that generally needs less concrete than a privacy fence. Local soil conditions are usually the deciding factor in how much footing a given post actually needs, more than any fixed rule.
Because split rail carries no infill panel, it is not a containment or privacy fence: the wide gaps between rails do not block sightlines and will not reliably hold in a small or determined dog, which is why it functions as a boundary and decorative style rather than a security fence. Choosing split rail is usually a statement about the look of the property line rather than a functional requirement to keep something in or out, and that distinction is worth confirming before ordering materials for a use the style was not built for.
Rail material matters for how the fence is actually assembled: round or half-round rails taper and fit into routed holes in the posts, while square-sawn rails typically sit in dadoed notches, and the two systems are not interchangeable without matching posts drilled or cut for that specific rail profile. Confirming which profile a given rail product uses before ordering posts avoids a mismatch between the two halves of the same fence.
Split rail is also commonly run across uneven or rolling terrain without the racking or stepping decision a solid privacy fence requires, since individual rails can follow a gentle grade change between posts without the same visual gap issues a solid board run would show. That makes it a practical choice for a long rural boundary where the ground is not perfectly level, in addition to being the lower-cost option in a straight material comparison.
Split rail is also one of the few wood styles commonly extended with wire mesh or electric wire strung along the rails when some containment is needed without giving up the open ranch-style look, a common approach on properties that want the split rail appearance along a road frontage while still needing to keep livestock or a dog contained. Adding wire does not change the post or rail count this calculator returns, since it attaches to the existing rails and posts rather than requiring its own structure, but it does add a separate materials line that is worth pricing on its own.
End posts on a split rail run sometimes use a larger diameter than line posts specifically because they anchor the rail ends under tension, a detail worth confirming with whatever rail product is being used, since some manufactured rail systems specify a minimum end-post size that differs from their line-post recommendation.
Because the posts are the main structural element on a split rail fence, upgrading to a slightly larger post diameter at corners and gate posts is a low-cost way to add durability without changing the rail count or the overall material list this calculator returns.
Frequently asked questions
What is the difference between two-rail and three-rail split rail fence?
Three-rail adds a middle rail for a taller, more solid look and slightly more containment, commonly used for horse paddocks. Both use the same post spacing and post count formula; only the rails-per-section count differs.
How do I calculate the number of rails?
Count the post sections first (fence length divided by spacing, rounded up), then multiply by the rails per section. Two-rail is 2 per section, three-rail is 3.
What post spacing should a split rail fence use?
8 to 10 feet on center is the common range, wider than a picket fence because split rail carries no heavy infill. Local or vendor guidance can narrow it for a specific rail product.
Is split rail a good dog or privacy fence?
Not for containment or privacy: rails are far apart, so it does not keep in a determined dog and does not block sightlines. It is a boundary and decorative fence, which is what it is built for.
How deep should split rail posts be set?
The same one-third rule applies: set about one third of the post length in the ground, and at least to the local frost line where ground freezes. The post depth calculator runs that for you.
Do split rail posts need concrete?
Generally not in the way a privacy fence does, because split rail carries less wind load, but corner and end posts take the tension of the rails and benefit from a solid footing or rammed earth. Local soil is the deciding factor.
Can split rail be built in materials other than wood?
Yes, vinyl and composite split rail systems are sold as kits, though the calculator's rail count logic applies regardless of material because the geometry is the same.
How much does a split rail fence cost?
Less than a privacy fence per foot because there is no infill material. Prices vary by species and region; enter your own local unit prices in this calculator for a total tied to your numbers.