Elastic Potential Energy Calculator
Find the energy stored when a spring is stretched or compressed.
What it does
A spring stores energy when it is stretched or compressed. According to Hooke's law the force grows in proportion to the displacement, so the work done, and therefore the stored energy, grows with the square of the extension.
This calculator evaluates one half of k times x squared and reports the result in joules and foot pounds. It also echoes the extension in metres so a conversion from inches can be checked.
The default spring has a constant of 200 N/m and is stretched by 0.1 m. The stored energy is exactly 1 J, or about 0.7376 foot pounds. Stretching the same spring twice as far would store four times as much energy.
In imperial mode the spring constant is entered in pounds per inch and the extension in inches. The tool converts both to SI units before calculating, so the same physical spring gives the same energy.
The formula assumes an ideal spring that obeys Hooke's law over the whole range. Real springs stiffen or yield beyond their elastic limit, and a coil spring also has some mass that this simple model ignores.
How to use
- Choose metric for newtons per metre and metres, or imperial for pounds per inch and inches.
- Enter the spring constant of the spring.
- Enter how far it is stretched or compressed from its natural length.
- Press calculate and read the stored energy in joules.
- Use the foot pound line for an imperial energy comparison.
- Check the extension in metres if you entered inches.
Formula
- k
- Spring constant in newtons per metre after conversion.
- x
- Extension from the natural length, in metres after conversion.
- U
- Stored elastic potential energy in joules.
One pound force per inch is about 175.1268 newtons per metre, and one inch is exactly 0.0254 m. One joule is about 0.737562 foot pounds. Both inputs must be above zero because zero extension stores no energy and the tool expects a real displacement.
Worked example
Example: 200 N/m spring stretched 0.1 m
Metric defaults for a laboratory spring.
- Note the spring constant of 200 N/m.
- Note the extension of 0.1 m.
- Square the extension: 0.1 squared is 0.01.
- Multiply by half the constant: 0.5 times 200 times 0.01 equals 1 J.
- The tool shows 1 J, 0.7376 ft·lb and 0.1 m.
Reference table
| Extension | Energy (J) | Energy (ft·lb) |
|---|---|---|
| 0.05 m | 0.25 J | 0.1844 ft·lb |
| 0.1 m | 1 J | 0.7376 ft·lb |
| 0.2 m | 2 J | 1.4751 ft·lb |
| 0.3 m | 9 J | 6.6381 ft·lb |
Limits
- Assumes an ideal spring that follows Hooke's law throughout.
- Ignores the mass of the spring itself.
- Not valid beyond the elastic limit of the material.
- Does not include gravitational or other energy changes.
Common mistakes
- Using total length instead of extension from natural length.
- Forgetting to square the extension.
- Mixing pounds per inch with metres.
- Using the spring force where the spring constant belongs.
- Assuming energy grows linearly with stretch.
Try it yourself
Quick checks. Answers sit tucked under each question.
Imperial: 1.1424 lb/in stretched 3.93701 in?
1.000326 J, 0.7378 ft·lb, extension 0.1 m.
100 N/m spring stretched 0.2 m?
2 J, 1.4751 ft·lb, extension 0.2 m.
Questions
What is elastic potential energy?
Energy stored in a deformed elastic object, equal to the work done to deform it.
What is the formula?
One half of spring constant times extension squared.
Why does energy grow with the square?
Because the force increases with displacement, so the average force over the stretch also grows.
Does compression store energy too?
Yes. The formula uses the magnitude of the displacement from natural length.
Can I use inches?
Yes. Choose imperial and the tool converts both inputs to SI before calculating.
What if the spring is stretched too far?
It may yield or break, and this ideal formula no longer applies.
Sources
- Georgia State University HyperPhysics, elastic potential energy
- Encyclopaedia Britannica, Hooke's law