Potential energy calculator
How much energy does it take to lift something, and how much does it give back when it falls? Enter a mass and a height to get the gravitational potential energy.
See it for real: play Build a Trebuchet or play Draw a Sled Track or play Swing Across.
The formula
Lifting something against gravity takes energy, and that energy is stored in the object’s position until it falls. Near the surface of a planet the stored energy is
Ep = m g h
where m is the mass in kilograms, g the strength of gravity (9.81 m/s² on Earth, the same number as the acceleration of a falling object) and h the height gained in metres. The answer is in joules. One joule is the energy needed to lift a 102 g apple by 1 m, so lifting 1 kg by 1 m stores 9.81 J.
Why it works
To lift a mass steadily you must push up with a force equal to its weight, m g. Work is force times distance, so raising it by h takes m g h of work. Gravity is a conservative force: the same energy comes back when the object falls by the same height, whatever path it takes. A ball rolling down a curved ramp, a pendulum swinging down an arc and a stone dropped straight down all turn the same m g h into kinetic energy. Setting m g h = ½ m v² gives the speed at the bottom, v = √(2g h), which is the second output above. Mass cancels, which is why a heavy and a light ball on the same frictionless slope reach the bottom at the same speed.
Height is measured from wherever you choose
Only changes in potential energy matter, so you can measure h from the floor, the table or sea level, as long as you stay consistent. A book on a shelf 2 m up has 2 m worth of energy relative to the floor, but more relative to the bottom of the stairwell. In a problem, choose the lowest point the object reaches as zero and every potential energy is positive.
Assumptions and limits
- Constant gravity. m g h assumes g does not change over the height. That holds to better than 1% for anything below about 30 km. For satellites and rockets, gravity weakens with distance and the exact energy is G M m (1/R − 1/r); at the International Space Station’s 400 km, m g h overestimates by about 6%.
- No losses. The speed output assumes all the energy turns into motion. Friction, air drag and rolling resistance always take some, so real speeds are lower.
- Gravitational only. A stretched spring or a squashed ball stores elastic potential energy, ½k x², which this calculator does not include.
Typical values
| Situation | m g h |
|---|---|
| Lifting a 1 kg bag of sugar onto a 1 m table | 9.8 J |
| A 70 kg person climbing one 3 m storey | 2.1 kJ |
| A 70 kg walker climbing Ben Nevis (1,345 m) from sea level | 924 kJ (221 kcal) |
| 5 tonne trebuchet counterweight dropping 4 m | 196 kJ |
| 1 tonne of water falling 100 m in a hydro scheme | 981 kJ (0.27 kWh) |
The Ben Nevis row is a good surprise: the climb itself stores only about as much energy as a chocolate bar contains. You will still eat far more on the way up, because muscles are only about 20 to 25% efficient and most of your food energy turns into heat.
Everyday uses
- Energy storage: pumped-storage hydro plants such as Dinorwig in Wales pump water uphill when electricity is cheap and let it fall through turbines when it is needed. Dinorwig can deliver about 1.7 GW for several hours.
- Safety: a 1 kg tool dropped from 20 m scaffolding arrives with 196 J, about the energy of a heavy hammer blow, which is why hard hats and toe boards exist.
- Roller coasters and sledging: the height of the first hill sets the most speed the ride can ever have. A 30 m drop gives at most 24 m/s (87 km/h).
You can watch potential energy turn into motion in Build a Trebuchet, where a heavier counterweight throws the stone further, in Draw a Sled Track, where a sled can never climb higher than where it started, and in Swing Across, where every swing trades height for speed and back again.
Worked example
A medieval trebuchet has a 5 tonne counterweight that drops about 4 m when the arm swings. How much energy does it release, and how fast would it be falling at the bottom if nothing slowed it?
| Mass | 5000 kg |
|---|---|
| Height lifted | 4 m |
| Gravity | 9.81 m/s² |
| Potential energy | 196200 J |
| Speed if it falls back down | 8.859 m/s |
| Weight (force needed to lift it) | 49050 N |
About 200 kJ, roughly the kinetic energy of a 1.5 tonne family car at 58 km/h. Only part of it ends up in the 15 kg stone, because the arm, the sling and the counterweight keep some of it, but even 30% is enough to throw the stone at about 90 m/s.
Frequently asked questions
- What is the formula for potential energy?
- Gravitational potential energy is PE = mgh: mass in kg times gravity (9.81 m/s² on Earth) times height in metres, giving joules. A 2 kg box lifted 3 m stores 2 × 9.81 × 3 = 58.9 J.
- What is the unit of potential energy?
- The joule (J), the same as every other form of energy. 1 J = 1 kg·m²/s². Bigger amounts are given in kilojoules (1,000 J) or kilowatt-hours (3.6 million J).
- Does potential energy depend on the path taken?
- No. Only the vertical height matters. Carrying a box up a long ramp or a short ladder to the same height stores the same mgh, although the ramp needs a smaller force over a longer distance.
- How fast will an object be going if all its potential energy becomes kinetic energy?
- Set mgh = ½mv² and the mass cancels: v = √(2gh). From 5 m that is √(2 × 9.81 × 5) = 9.9 m/s, ignoring air resistance and friction.
- Can potential energy be negative?
- Yes, if the object is below the level you chose as zero. Only differences in potential energy have physical meaning. In orbital mechanics zero is usually set at infinite distance, so every bound orbit has negative potential energy.
- Is potential energy the same on the Moon?
- No. Gravity on the Moon is 1.62 m/s², about one sixth of Earth’s, so lifting the same mass to the same height stores one sixth of the energy. A 1 kg mass lifted 1 m gains 1.62 J there instead of 9.81 J.
Sources
- Potential energy, HyperPhysics (Georgia State University)
- Gravitational energy, Wikipedia
- Potential energy, Wikipedia
- Dinorwig Power Station, Wikipedia
Related calculators
- Kinetic Energy Calculator: How much energy does a moving object carry? Enter its mass and speed to get its kinetic energy, its momentum and the height it would have to fall from to reach that speed.
- Work and Power Calculator: How much work does a force do, and how much power does that take? Enter the force, the distance moved, the angle between them and the time taken.
- Free Fall Calculator: How long does something take to fall, and how fast is it going when it lands? Enter a height and get the answer, ignoring air resistance.
- Hooke’s Law Calculator: How hard does a spring pull back when you stretch it? Enter the spring constant and the extension to get the force and the stored energy, and add a mass to see how it bounces.
Checked against the sources above. Last reviewed 2026-11-11. Calculators give estimates from standard formulas; see our disclaimer.


