# Calculating Tie Lengths in a Switch

A normal switch has a straight route and a diverging route. As the two separate, the ties need to get longer to accomodate both tracks until they are far enough apart to have separate ties.

This program calculates the lengths of the ties needed and the frog angle and number needed to complete the switch.

 ```Explanation of Input Boxes Note: All dimensional units must be the same. Inches, meters, etc. Radius of Diverging Branch There are two boxes here. One for the radius and one for an optional multiplier. The multiplier can be used to convert feet to inches, meters to centimeters, metric to english, or whatever you like. Normal Tie Length The length of a normal track tie. Switch ties will progressively get longer. Tie Spacing The measurement from tie to tie, not the gap between them. It is the center to center distance. The width of ties is not needed. Snap to Nearest Unit This allows you to select how much precision you need. The tie length will be rounded to the nearest unit you select here. Track Gauge This is only needed if you are using the optional frog angle and number calculator. Enter the actual gauge-face dimension. The frog angle will be calculated in degrees. The frog number is 1/2 the cotangent of 1/2 the frog angle. Both frog angle and number are rounded to .25. ```

Switch Tie Length and Frog Calculator
 x Radius of Diverging Branch   Normal Tie Length   Tie Spacing   Snap to nearest unit Track Gauge   Frog Angle   Frog Number

Tie Lengths Needed... (select box to solve)