### Formula

F

force between the masses

M

the first mass

m

the second mass

r

distance between the masses

G

gravitational constant

F

force between the masses

M

the first mass

m

the second mass

r

distance between the masses

G

gravitational constant

Newton's law of universal gravitation states that every point mass in the universe attracts every other point mass with a force that is directly proportional to the product of their masses and inversely proportional to the square of the distance between them.

M

m

r

G

F

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP