Gravity is the attraction force between any two masses, and is equal to:

6.674*10^(-11)*M(1)*M(2)/(D^2). That is, 6.674*10^(-11) times the product of the two masses in question divided by the square of the distance between them. The force is given in Newtons, mass in kilograms and distance in meters.