The formula for escape velocity is given by:
$$v_e = \sqrt{\frac{2GM}{r}}$$
where $G$ is the gravitational constant, $M$ is the mass of the celestial body (e.g., Earth), and $r$ is the distance from the center of the celestial body to the object.
Show more…