what 2 factors determine the size of the force of gravity?

& what is the relationship between them?

The force of gravity is dependent on the masses involved, and the distance between them.

See Newtons Law of Gravity.