Magnetic force obeys an inverse square law with distance. ... If the distance between two magnets is doubled the magnetic force between them will fall to a quarter of the initial value. (F/4) If the distance between two magnets is halved the magnetic force between them will increase to four times the initial value.