The size of Jupiter is much larger than Earth, meaning it's gravitational pull is stronger. The mass of Jupiter is 318 times bigger than Earth. In order to calculate the gravitational force between two objects with masses of m1 and m2 , the equation is: where G is the gravitational constant (6.67E-11 m3 s-2 kg-1), r is the distance between the two objects, and F is the magnitude of the force between the objects.Every object in space exerts a gravitational pull on every other, and so gravity influences the paths taken by everything traveling through space. It is the glue that holds together entire galaxies. It keeps planets in orbit. It makes it possible to use human-made satellites and to go to and return from the Moon.
Hope this helped