The distance starts at the center
The escape speed formula is
Here, is the body's mass, is its reference radius, and is altitude above that radius. The gravitational constant is . Use kilograms and metres inside the formula; this calculator converts the displayed inputs for you. Mass is entered in units of kg, so Earth's preset mass appears as 5.97.
Using altitude alone in the denominator gives the wrong answer. At the surface, altitude is zero but the center distance is still . Doubling the center distance reduces escape speed by a factor of , rather than by half.
The formula follows from energy conservation: the initial kinetic energy must supply the work needed to reach infinity with zero remaining speed. The escaping object's mass cancels. A heavier spacecraft therefore has the same ideal escape speed at the same starting position, although it needs more energy to reach that speed. OpenStax derives this relation in its treatment of gravitational potential energy.
Earth: surface versus altitude
With the Earth preset, kg and m:
That is about 40,240 km/h. The familiar rounded escape velocity of Earth is 11.2 km/s. Small differences between references come from their chosen Earth radius and mass or gravitational parameter; the preset uses the rounded values in NASA's planetary fact sheet. The four significant digits displayed here describe the calculation, not the certainty of the planetary measurements.
For a particularly clear altitude comparison, enter 19134 km in Advanced mode. This is three times the preset Earth radius. Center distance becomes , so escape speed becomes half the surface value: approximately 5.589 km/s, a 50% reduction. This does not include the energy already needed to reach that starting altitude.
A custom-body calculation
Suppose a spherical body has mass kg and radius 1000 km. Choose Custom, enter mass 1 and radius 1000, and use Simple mode. The radicand is , giving approximately 11.55 km/s.
For several textbook cases, change the mass and radius for each body separately. A body with four times the mass and the same radius has twice the escape speed. A body with the same mass and four times the radius has half the escape speed. The graph makes the distance dependence visible, while the Earth comparison provides a consistent reference.
What this speed means for a launch
Escape velocity is commonly used as the name, but the result here is a speed, not a direction vector. It describes a free escape trajectory in an ideal spherical, isolated gravitational field. An outward launch avoids intersection with the body; an inward trajectory at the same speed can hit it.
The calculation omits atmospheric drag, rotation, nearby bodies and propulsion losses. It is not a rocket fuel requirement or a launch delta-v estimate. A powered vehicle can climb while remaining below the local escape speed because its engine continues to supply energy. Conversely, merely reaching the surface escape speed does not specify a viable mission trajectory.
At large altitudes, the Sun or another nearby body's gravity may be important. The calculator flags starting heights above ten body radii as a reminder to consider the surrounding system, rather than as a universal physical boundary. Jupiter's preset radius refers to its 1-bar atmospheric pressure level; there is no solid surface at that radius.
The value of follows NIST's explanation of the gravitational constant. This Newtonian calculator rejects a body whose surface escape speed reaches 10% of the speed of light, even if the selected altitude is large. This keeps the surface comparison and the whole graph within the supported range; compact objects require a model suited to their gravitational regime.
Read the formula definitions, supported input ranges, and limitations before using this estimate.