Orbital altitude (source code)

= Orbital altitude
{title2=$h=r-R_p$}

Height above a stated planetary reference surface. For a spherical body of radius $R_p$ and a <circular orbit> of central radius $r$, it is $r-R_p$. Confusing altitude with central radius changes both the <orbital period> calculation and surface viewing geometry.