The magnitude of non-contact forces between two bodies depends on the distance of separation between them.
It decreases with the increase in separation and increases as the separation decreases. Its magnitude varies inversely as the square of the distance of separation i.e., on doubling the separation, the force becomes one-fourth.