or only one mass? If so, which mass
-
The force depends on the product of the masses. How each mass accelerates because of that force depends on the other mass.
acceleration = G mass[other] / D^2
G = 6.67384 x 10-11 m^3 kg^-1 s^-2
mass[other] = mass of other body, in kilograms
D = distance center-to-center, in meters
Note: for very dense objects (neutron stars, stellar-mass black holes) or very high speeds (3% of light speed or more), General Relativity is needed for an accurate analysis. For very small distances (atomic scale), you need quantum mechanics. The details are too complicated to give here.
acceleration = G mass[other] / D^2
G = 6.67384 x 10-11 m^3 kg^-1 s^-2
mass[other] = mass of other body, in kilograms
D = distance center-to-center, in meters
Note: for very dense objects (neutron stars, stellar-mass black holes) or very high speeds (3% of light speed or more), General Relativity is needed for an accurate analysis. For very small distances (atomic scale), you need quantum mechanics. The details are too complicated to give here.