The minimum velocity that a moving body must attain in order for it to escape the gravitational pull of the earth (planet) is called escape velocity.
Expression for escape velocity
Consider an object of mass 'm' placed on the surface of the earth. According to Newton's law of gravitation, the gravitational pull of the earth on that object is given by
Me is the mass of the earth and Re is the radius of the earth.
Then, work required to overcome the gravitational pull = F x Re
If v is the velocity of the projectile (object), then its kinetic energy = 1/2 mv2.
For the projectile to escape from earth's gravitational pull the kinetic energy of the projectile has to be greater than the work required to overcome the gravitational pull.

Let us now get an expression for vesc in terms of acceleration due to gravity.

(Multiply both numerator and denominator by Re)

.
Substituting for ge and Re in equation (2) we get,

Hence, a projectile with a velocity greater than 11.2km/s will escape from the surface of the earth. From the above expression it is clear that escape velocity is independent of the mass of the projectile but depends on the mass and radius of the earth (planet).
Escape velocity of moon





