What are the factors related to the elongation of spring under the action of force

What are the factors related to the elongation of spring under the action of force

Hooke's Law (senior high school) is transformed into x = f / K. f refers to the force, K refers to the stiffness coefficient, which is related to the spring material, and the unit is n / m. x refers to the length