Energy stored in a spring
Elastic energy in a linear spring compressed or stretched by x.
Legged robots and running animals store energy in springy legs on landing and return it on take-off. Models such as the spring-loaded inverted pendulum (SLIP) are built on exactly this term.
Variables & units
| Symbol | Quantity | Unit here | SI dimension |
|---|---|---|---|
| Stored energy | J | m²·kg·s⁻² [L^2 M T^-2] | |
| Spring stiffness | N/m | kg·s⁻² [M T^-2] | |
| Deflection | m | m [L] |
Rearranged
| Solve for | Formula | Dimensions check |
|---|---|---|
| Stored energy | U = \text{0.5*k*x^2} | ✓ m²·kg·s⁻² |
| Spring stiffness | k = \text{2*U/x^2} | ✓ kg·s⁻² |
| Deflection | ✓ m |
The dimension of every rearrangement is computed from the dimensions of its variables by our expression engine — so a typo in a formula on this page would show up here in red.
Assumptions
- Linear (Hookean) spring, no damping.
Example
A 1000 N/m spring compressed 50 mm stores ½ × 1000 × 0.05² = 1.25 J.
Connected
Energy of motion grows with the square of speed.
In the elastic region, stress is proportional to strain.
The MEMS accelerometer explained by Bill Hammack.
A preprint models a quadruped as a spring-loaded inverted pendulum and uses energy conservation to keep its bouncing gait stable — even with 10 % sensor error, in simulation.