Gravitational Potential Energy Calculator
Calculate gravitational potential energy, PE = m × g × h, for an object of a given mass at a height above a reference level, on Earth or with any other gravitational acceleration.
Last updated: September 2026
Potential Energy
196.2 J
Formula below · 3 sources (physics.nist.gov, openstax.org, hyperphysics.phy-astr.gsu.edu) · Updated Sep 2026
Compare with similar
About this calculator
Gravitational potential energy is the energy an object has because of its height in a gravitational field. Near a planet's surface:
PE = m × g × h
with m in kilograms, g in m/s² and h in metres, giving joules. With the defaults, 2 kg raised 10 m on Earth stores 2 × 9.81 × 10 = 196.2 J.
What the numbers mean
PE is the work done against gravity to lift the object, and the energy released if it falls back. Without air resistance all of it turns into kinetic energy, so the impact speed is v = √(2gh), which does not depend on the mass: 14.01 m/s after a 10 m drop.
The reference level (h = 0) is your choice: the floor, a table or sea level. Only differences in PE between two heights matter, and a position below the reference gives a negative PE.
Limits
g = 9.81 m/s² is a surface average (9.78 at the equator, 9.83 at the poles; the standard value is 9.80665). mgh assumes g is constant, which holds for heights that are small compared with the planet's radius. For orbits and spacecraft use PE = −GMm/r instead.
How to use
Enter the mass, the gravitational acceleration and the height above your chosen reference level. Example 1: 2 kg at 10 m on Earth. PE = 2 × 9.81 × 10 = 196.2 J. Example 2: a 50 kg boulder on a 30 m cliff. PE = 50 × 9.81 × 30 = 14,715 J (14.7 kJ). Dropped, it would hit the ground at √(2 × 9.81 × 30) = 24.26 m/s. Example 3: the same 2 kg at 10 m on the Moon (g = 1.62). PE = 2 × 1.62 × 10 = 32.4 J.
Frequently asked questions
What is the formula for gravitational potential energy?
PE = mgh: mass (kg) × gravitational acceleration (m/s²) × height (m), in joules. A 5 kg box on a 2 m shelf has 5 × 9.81 × 2 = 98.1 J relative to the floor.
Why is potential energy "relative"?
It is measured from a reference level you choose. A book on a 1 m table has 9.81 J per kg relative to the floor and 0 J relative to the table top. Only the change in PE between two positions has physical meaning.
How fast will an object fall from a given height?
If all PE turns into kinetic energy, mgh = ½mv², so v = √(2gh). From 10 m that is √(196.2) = 14.01 m/s for any mass, ignoring air resistance.
What value of g should I use?
Use 9.81 m/s² on Earth (the standard value is 9.80665). On the Moon g is about 1.62, on Mars 3.71 and on Jupiter 24.79 m/s².
When does PE = mgh stop working?
When the height is a noticeable fraction of the planet's radius, because g weakens with distance. At the ISS (about 400 km up) g is roughly 8.7 m/s². For orbits use the general form PE = −GMm/r.
Related calculators
Sources & references
Think a result is wrong? Report a problem with this calculator.