# Template:OrbitSynodicPeriod

Calculates the synodic orbital period. This is roughly the time between two transfer windows. It works not for Kerbin and Kerbol but all other celestial bodies.

${\displaystyle {\text{orbital period}}_{\text{synodic}}=\left|{\frac {1}{{\frac {1}{{\text{period a}}_{\text{sideral}}}}-{\frac {1}{{\text{period b}}_{\text{sideral}}}}}}\right|}$

## Parameter

Please note, that both periods have to be in the same time unit. It is recommended to use seconds, especially as the default value for the second parameter is in seconds.

# Optional Description Default
1 No Siderial period for celestial body a.
2 Yes Siderial period for celestial body b. Kerbin's siderial period in seconds (9203545)