# Difference between revisions of "Template:Body data/SOI"

Jump to: navigation, search

Returns the radius of the sphere of influence of a celestial body in meters. It uses the mass (m, mparent), apoapsis (a), periapsis (p) and parent (mparent) parameters with {{Body data}} for the given body. Returns the second parameter, an empty string when not set, if the body has no parent object (like Kerbol).

${\displaystyle r_{\text{SOI}}={\frac {a+p}{2}}\cdot \left({\frac {m}{m_{\text{parent}}}}\right)^{\frac {2}{5}}}$