# What is the formula of gravitational potential energy?

Gravitational potential energy of the body of mass m is given by,

$$U = – \frac{GMm}{r}$$

where,
M is the mass of earth.
r is the distance between M and m and r>R.