Leaving a gravity well

Throw a ball upward and gravity brings it back. Throw it hard enough and it never returns. The minimum launch speed for that is the escape velocity, and it depends on how massive the body is and how far from its center you start. This page computes it for the Newtonian case. You enter the central mass in kilograms and the distance from its center in meters, and it returns the speed in meters per second. The idea is covered in OpenStax College Physics in its section on Newton's universal law of gravitation. It suits astronomy homework, comparisons between planets and moons and rough checks of numbers quoted in the news.

Escape speed from central mass and distance

The escape speed is v = sqrt(2 × G × M / r). G is the gravitational constant, 6.67430e-11 m³/(kg·s²) in the CODATA 2018 value used here, M is the central mass and r is the distance from the center of the mass. It follows from setting the kinetic energy of the departing object equal to the gravitational binding energy, so that it arrives at infinity with no speed left. The object's own mass cancels, which means a feather and a spacecraft have the same escape speed. Larger mass raises the speed, larger distance lowers it, and the dependence is on the square root of each.

Escape speed from a 100 meter radius

The page starts with a central mass of 10¹² kg and a distance of 100 m. The product 2 × 6.6743e-11 × 10¹² is 133.486, and dividing by 100 gives 1.33486, whose square root is about 1.155 m/s. That is a gentle walking pace, which makes the example easy to picture: a hop at that speed would leave such a body. The body is not realistic. A mass of 10¹² kg inside a sphere of 100 m radius would have a density of about 240,000 kg/m³, around a hundred times denser than rock. The numbers were chosen for easy arithmetic, not as a description of any real asteroid.

Earth

For Earth, with a mass of about 5.972 × 10²⁴ kg and a mean radius near 6.371 × 10⁶ m, the formula gives roughly 11,186 m/s, or 11.19 km/s. That is about 40,270 km/h. The value is the speed needed at the surface, ignoring air resistance and Earth's rotation, and spacecraft do not actually need to reach it at once, since they can climb under continuous thrust. For comparison, the speed for a circular orbit just above the surface is about 7.9 km/s, which is the escape speed divided by the square root of two. These are standard astronomical values, rounded for illustration.

The Moon and the Sun

The Moon has a mass of about 7.342 × 10²² kg and a radius of about 1.737 × 10⁶ m, giving an escape speed near 2,375 m/s, or 2.4 km/s. That is a bit over a fifth of Earth's, which is one reason the Moon holds no appreciable atmosphere and why lunar ascent stages are small. At the Sun's surface, with M of 1.989 × 10³⁰ kg and r of 6.957 × 10⁸ m, the speed is about 617.8 km/s. The range from 1.2 m/s to over 600 km/s across these examples shows how strongly the result depends on mass and size. Values are rounded and should be checked against a current astronomical reference.

Mass and distance together

Because the speed varies as sqrt(M / r), a body with four times the mass at the same distance has twice the escape speed, and moving to four times the distance at the same mass halves it. Escape speed also decreases as you climb. At a height of one Earth radius above the surface, which is twice the distance from the center, the escape speed falls by a factor of sqrt(2), to about 7.9 km/s. Use the distance from the center of the body, not from the surface. Adding the radius to a height is the usual step, and forgetting it is the most common input mistake.

Escape speed is not a launch recipe

The formula gives the speed for an object that is coasting without further propulsion. Rockets do not leap to the escape speed. They burn fuel while rising, trading speed against gravity losses, atmospheric drag and the direction of flight. Reaching orbit is a separate goal from escape, and moving beyond the pull of one body only puts the craft in orbit around the Sun, which is another gravity well. The number is a useful benchmark for comparing worlds, but real mission design uses detailed trajectory calculations well beyond a single formula.

Limits of the Newtonian model

The page assumes a Newtonian vacuum model in which the central mass dominates. It does not include other bodies, atmospheres, rotation, relativistic effects or the shape of the body. At very high compactness, such as near black holes, Newtonian gravity fails, even though the formula happens to give the speed of light at the Schwarzschild radius, 2GM/c², which is about 2.95 km for the Sun. All outputs must be finite, so a distance of zero is not allowed. The results are educational estimates, and real escape calculations for planets also account for rotation, which gives a launch from the equator a small head start. The effect is a fraction of one kilometer per second at most for Earth, so it does not change the order of magnitude of the answer.

Using it responsibly

Check the units before reading the result. A radius in kilometers must be multiplied by 1,000, and masses are in kilograms, not tonnes. Using the radius in kilometers by mistake lowers the speed by about a factor of 31.6, the square root of 1,000. The page offers no guidance on spaceflight, rocket design or safety, and numbers for real missions should come from space agencies and published data such as NASA planetary fact sheets, which list mass, radius and escape velocity for each body. Precision matters little for the radius and a lot for the unit. With Earth's mass and a radius of 6.371e6 m the page gives about 11,186 m/s, while a radius entered as 6371 gives about 353,700 m/s, an answer more than thirty times too large. A result above the speed of light, 299,792,458 m/s, is a clear sign that an input is wrong or that the object is so compact that Newtonian physics no longer holds.