Yes. When Fg means gravitational force, G is a constant (look up on the internet), r is the distance between two matter, and m1 and m2 is the mass of two objects,
[tex]Fg = G \frac{m1m2}{ r^{2} } [/tex]
is Newton's formula for figuring out the gravitational force acting upon the two matters