When stretching or compressing a spring, the spring constant is the force needed divided by the distance that the spring gets longer or shorter. To determine the linear relationship between force and displacement, the spring constant is a spring property that is used. ...