Hooke's Law Calculator (F = −kx)

Compute the signed restoring force of a spring from its stiffness and displacement with Hooke’s law F = −kx, plus the force magnitude.

📐 計算公式
Hooke’s law in a signed coordinate: restoring force F=−k×x (N; k is stiffness in N/m and x is displacement from equilibrium in m, with sign giving direction); force magnitude |F|=k×|x|. Related quantities: elastic potential energy U=0.5×k×x² (J), inverse stiffness 1÷k (m/N, undefined at k=0), and k×x² (=2U, J). Validation: prompt when either field is blank; stiffness cannot be negative and displacement must be valid (0 is allowed). The linear elastic model holds only within the elastic limit; beyond it F=−kx no longer applies.
Compute the signed restoring force with F = −kx and also report the force magnitude |F| = k|x|.

Formula & Standard References

Item Formula / Note Source / Standard
Hooke law F = k·x (within elastic limit) Hooke 1678; Elasticity
📌 計算說明
  • 僅在彈性限度內成立;超出後非線性。