Question: how to figure out the spring constant?
Answer: Mathematically, F∝x, where F is the force applied, and x is the extension or compression of the object (usually in metres).
Now, F = – kx, where k is the constant of proportionality called the spring constant.