The above equation is Newton's Law of Gravitation formulated by British
physicist,
mathematician and astronomer Sir Isaac Newton (1642-1727).
When mass is in kilograms and distance is in meters, then G = 6.674×10^{-11} m^{3} kg^{-1} s^{-2} and the answer will be in newtons.
When mass is in grams and distance is in centimeters, then G = 6.674×10^{-8} cm^{3} g^{-1} s^{-2} and the answer will be in dynes.

The following 2 examples will help familiarize yourself with the formulas and with this calculator.

1) What is the gravitational force between 1 object of 3
kilograms of mass and
another object of 7 kilograms of mass that are 12
meters apart?
Click the 'Meters & Kilograms' button, then enter the
numbers, click 'Calculate'
and the answer is
9.7329 x 10^{-12} newtons.

Using the formula:
Force _{newtons} = G•m_{1}•m_{2} ÷ distance^{2}
= 6.674×10^{-11} • (3 • 7) ÷ 12^{2}
= 9.7329×10^{-12} newtons

2) Calculate the force between 1 object of 9 grams of mass and
another of 6 grams that are 50 centimeters meters apart.
Click the 'Centimeters &
Grams' button, enter the numbers, click 'Calculate'
and the answer is
1.4416 x 10^{-9} dynes.

Using the formula:
Force _{dynes} = G • m_{1} • m_{2} ÷ distance^{2}
= 6.674×10^{-8} • (9 • 6) ÷ 50^{2}
= 1.4416×10^{-9} dynes