A force is required to compress a spring; the more compression there is, the more force that is required to compress it further. For certain springs, the amount of force is directly proportional to the amount of stretch or compression (x); the constant of proportionality is known as the spring constant (k).