Potential Energy Calculator
Calculate gravitational potential energy from mass and height or elastic potential energy stored in a stretched spring.
About potential energy
Potential energy examples
Common situations demonstrate both supported models.
| Situation | Stored energy | Calculation |
|---|---|---|
| 10 kg raised 5 m on Earth | 490.5 J | 10 × 9.81 × 5 using the selected reference height. |
| 2 kg raised 3 m on the Moon, g 1.62 m/s² | 9.72 J | The same mass and height store less gravitational energy in weaker gravity. |
| 200 N/m spring displaced 0.10 m | 1 J | One half times 200 times 0.10 squared. |
| 500 N/m spring compressed 0.20 m | 10 J | Compression and extension use the displacement magnitude in the ideal model. |
How to use the calculator
- Choose gravitational or elastic potential energy.
- For gravity, enter mass, vertical height from your reference, and gravitational acceleration.
- For a spring, enter spring constant and displacement from equilibrium.
- Select Calculate Energy to display stored energy in joules.
Potential energy FAQ
Why can I choose the zero height?
Gravitational potential energy near Earth is defined relative to a reference level. Physical motion depends on energy differences, so any consistent zero height gives the same change in energy.
Can gravitational potential energy be negative?
Yes, its sign depends on the chosen reference and on the model. This near-surface calculator uses nonnegative height, while universal gravitational potential is conventionally negative relative to zero at infinity.
Does spring compression store energy too?
Yes, ideal elastic energy depends on displacement squared. Equal compression and extension therefore store equal energy when the spring follows Hooke's law.
When does the spring formula stop working?
It stops being accurate when force is not proportional to displacement. Large deformation, yielding, coil contact, preload, and material hysteresis can all require measured force-displacement data.
Is 9.81 m/s² always the right gravity value?
It is a useful average near Earth's surface but varies slightly by location and altitude. Enter a different value for another planet, moon, or a precision local calculation.