Hooke's Law

Elasticity, Restoring Force & Potential Energy

Interactive Spring-Mass & Force Simulator

Drag the mass block directly on the canvas or adjust the sliders below to explore Hooke's Law.

Live Spring Workbench

Simulation Parameters

100 N/m
Soft (25 N/m) Stiff (250 N/m)
+80.0 N
Compress (-150 N) Stretch (+150 N)

Real-Time Telemetry

Displacement (x)
+0.80 m
Restoring Force (F_s)
-80.0 N
Elastic PE (½kx²)
32.0 J
Spring State
Stretched

Force vs. Displacement Graph

Slope equals spring constant k. The shaded triangle area represents Elastic Potential Energy (PE = ½kx²).