According to Hooke's law, , the restoring force of an extension spring is proportional to its linear extension .

The value is the spring constant and depends on the design parameters as follows: [1]. Here is the diameter of the coil, is the diameter of the wire, is the number of active windings, and is the shear modulus of the material.