Read the pointer with nothing on the hanger, then load the spring in steps and read it again each time. The extension is the difference. Plot load against extension: it’s a straight line through the origin, and its gradient is the force constant.