Potential energy of a spring is the energy stored in a compressed or stretched spring. It is given by the formula $U = \frac{1}{2} k x^2$, where $k$ is the spring constant and $x$ is the displacement from the equilibrium position.
congrats on reading the definition of potential energy of a spring. now let's actually learn it.