Documentation / @interstellar-tools/equations / escapeSpeed
Function: escapeSpeed()
ts
function escapeSpeed(r: number, mu: number): number;Defined in: orbits/escape-speed.ts:65
Escape speed (
Definition
where (
Units
- Inputs: (
) in meters (m), ( ) in m³/s². - Output: (
) in m/s.
INFO
- Relationship to circular speed (
): ( ). - This corresponds to parabolic specific energy ((
)). - For general (non-escape) orbital speed use
visVivaSpeed(r, a, mu).
In practiceLeaving Earth
11.19 km/s
Escape speed at Earth's surface
That's √2 times the 7.91 km/s it takes to orbit just above the surface, which is why a rocket for the Moon or Mars is so much bigger than one for low Earth orbit.
ts
escapeSpeed(6.371e6, 3.986004418e14); // ≈ 11 186 m/sParameters
| Parameter | Type | Description |
|---|---|---|
r | number | Radius ( |
mu | number | Gravitational parameter ( |
Returns
number
Escape speed (
Throws
Error If inputs are non-finite or out of domain.
Examples
ts
// Near Earth's surface (approx.)
const muEarth = 3.986004418e14; // m³/s²
const rSurface = 6378e3; // m
const vEsc = escapeSpeed(rSurface, muEarth); // ≈ 11186 m/sts
// LEO ~400 km altitude: r = R_E + 400 km
const muEarth = 3.986004418e14;
const rLEO = 6378e3 + 400e3;
const vEsc = escapeSpeed(rLEO, muEarth); // ≈ 10860 m/s