Escape Velocity Calculator
Escape velocity and surface gravity for any planet, moon or custom body — reuses larzscript-cosmos's verified orbital-mechanics package.
Escape velocity
Show the Larzscript program that just ran
Run a calculation to see the exact program.
This is the real program the page sent to the Larzscript interpreter (compiled to WebAssembly) in your browser. The library it imports is the same code the automated tests check.
The formula
G is Newton's gravitational constant (from physconst, the same SI-2019-consistent value used across every calculator on this site). Enter any mass and radius — the presets are Earth, Moon, Mars and Jupiter.
Worked example, computed above
Earth: escape velocity 11.19 km/s, surface gravity 9.82 m/s².
What is verified
This page calls astro.escape_speed and astro.surface_gravity directly from larzscript-cosmos rather than reimplementing them, so it inherits that package's own independent verification (checked there against Earth/Moon/Mars/Jupiter reference values) instead of duplicating it — see tests/test_modern.lz for the values this page itself asserts.
Frequently asked questions
What is escape velocity?
The minimum speed to leave a body's surface on a ballistic (unpowered, after launch) trajectory and never fall back, ignoring air resistance: v = √(2GM/r). Earth's is 11.19 km/s; the Moon's is only 2.375 km/s, which is why leaving the Moon takes so much less fuel.
Does escape velocity depend on launch direction or mass of the rocket?
No — this idealized formula only depends on the mass and radius of the body being escaped, not on the escaping object's own mass or the direction it leaves in (though atmosphere and orbital mechanics complicate the real picture).
How is this different from orbital velocity?
Escape velocity is exactly √2 times the speed needed for a low circular orbit at the same radius — enough extra speed to turn a closed orbit into an open (parabolic or better) trajectory.
What about surface gravity?
g = GM/r², shown alongside — Earth's surface gravity works out to 9.82 m/s², matching the standard 9.80665 m/s² value used throughout this site's other calculators.
Every number on this page is computed by the open-source larzscript-physics library (astro, physconst, physmath), written in Larzscript, and checked against independent references in its test suite. How it is verified →