Science & Engineering

Potential Energy Calculator (Gravitational & Elastic)

Calculate potential energy two ways: gravitational with mgh and elastic with one-half k x-squared. It has planet presets for g and reports the answer in six energy units.

Reviewed and updated

How to use
  1. Choose gravitational or elastic mode.
  2. For gravitational, enter mass, height, and pick g.
  3. For elastic, enter the spring constant and displacement.
Try
Potential energy
490.5 J

10 kg × 9.81 m/s² × 5 m

Kilojoules
Kilocalories
Foot-pounds
For study and estimation. Verify against authoritative data before relying on a result.
Was this helpful?

Mass times gravity times height

PE = m × g × h  =  m × 9.81 × h  (on Earth)

Gravitational potential energy is the energy an object has because of its height. Multiply mass in kilograms, gravity in metres per second squared, and height in metres, and you get joules. On Earth g is 9.81, so a 10 kg box lifted 5 m stores 10 × 9.81 × 5 = 490.5 J. Height is measured from whatever level you call zero.

Gravity is not the same everywhere

The g in the formula changes with the body you are on, so the same lift stores different energy on the Moon than on Earth. The last column is the energy to raise 1 kg by 1 m.

Bodyg (m/s²)vs EarthPE per kg per metre
Moon1.620.17×1.62 J
Mars3.710.38×3.71 J
Earth9.811.00×9.81 J
Saturn10.441.06×10.44 J
Neptune11.151.14×11.15 J
Jupiter24.792.53×24.79 J

The mental-math shortcut, and where mgh trips people up

  • Round g to 10. For a quick estimate on Earth, PE is roughly 10 times mass times height. A 70 kg person up 3 m stores about 2100 J, close to the exact 2060 J.
  • Zero height is your choice. Potential energy has no absolute value; it is always relative to the level you call h = 0. Pick that reference point first, then measure heights from it.
  • Use the right g off Earth. On the Moon or Mars the same lift stores far less energy. Plugging in 9.81 everywhere is a common error.
  • It converts to motion. As an object falls, PE turns into kinetic energy. Ignoring friction, mgh = ½mv², so drop height sets impact speed: v = √(2gh).

Common questions

What is the formula for gravitational potential energy?

PE = m times g times h. Mass is in kilograms, g is the gravitational acceleration (9.81 metres per second squared on Earth), and h is the height above your chosen reference level in metres. The result is in joules.

What are the units of potential energy?

Joules. A joule is one kilogram times metre squared per second squared. Lifting a 1 kg object 1 metre on Earth stores about 9.81 joules.

Can potential energy be negative?

Yes, if the object sits below the level you picked as zero height, such as the bottom of a well. The negative sign is just a bookkeeping convention. What matters physically is the change in potential energy, not its absolute value.

From the blog

Guides & how-tos

All articles →