| Energy | Value |
|---|---|
| Joules (J) | 29.42 |
| Kilojoules (kJ) | 0.02942 |
| Foot-pounds (ft-lbf) | 21.699 |
| Kilocalories (kcal) | 0.00703154 |
| Impact speed | Value |
|---|---|
| Meters per second (m/s) | 5.424 |
| Kilometers per hour (km/h) | 19.526 |
| Miles per hour (mph) | 12.133 |
Show the math
PE = m × g × h, with PE in joules (J), m in kilograms (kg), g in meters per second squared (m/s²) and h in meters (m). Rearranged: m = PE / (g × h), h = PE / (m × g) and g = PE / (m × h).h is the height above the zero level you choose. A point below it has a negative h and a negative PE.Your inputs are already in kg, m, m/s² and J.Earth: g = 9.80665 m/s² (standard gravity, exact by definition).PE = 2 kg × 9.80665 m/s² × 1.5 m = 29.42 JFrom PE = ½ m v²: v = √(2 × g × h) = √(2 × 9.80665 × 1.5) = 5.42402 m/s. The mass cancels.| Body | g (m/s²) | PE |
|---|---|---|
| Earth | 9.807 | 29.42 J |
| Moon | 1.62 | 4.86 J |
| Mars | 3.73 | 11.19 J |
| Jupiter | 25.92 | 77.76 J |
| Venus | 8.87 | 26.61 J |
| Mercury | 3.7 | 11.1 J |
| Saturn | 11.19 | 33.57 J |
| Sun | 274 | 822 J |
Short answer: Gravitational potential energy is PE = m × g × h: mass in kilograms, times g (9.80665 m/s² on Earth), times height in meters above a chosen zero level. The result is in joules. A 2 kg object raised 1.5 m on Earth stores 29.42 J of gravitational potential energy.
Wrong answers usually come from three slips: measuring the height from the wrong zero level, putting pounds or feet into a formula that wants kilograms and meters, and using a g that belongs to another planet. The calculator converts the units, solves for energy, mass, height or g, and shows the substituted formula so you can check your own working. It covers gravitational potential energy, the kind that depends on height.
This article contains Amazon affiliate links. 33science earns a commission on qualifying purchases. See our affiliate disclosure.
How to use the potential energy calculator
Gravitational potential energy formula: PE = mgh
The gravitational potential energy formula is PE = m × g × h. PE is the stored energy in joules, m is mass in kilograms, g is the acceleration due to gravity in meters per second squared and h is the height above the zero level in meters (OpenStax College Physics). A 4.9 J result for a 0.5 kg object raised 1 m, with g = 9.8 m/s², is the textbook check. Potential energy is one of the forms of energy in our forms of energy guide.
Worked example: a 2 kg object raised 1.5 m on Earth. PE = 2 kg × 9.80665 m/s² × 1.5 m = 29.42 J (29.41995 J before rounding), or 21.7 ft-lbf.
Elastic potential energy, the energy stored in a stretched or compressed spring or band, is a different formula: ½ × k × x², where k is the spring constant and x is the stretch. It does not use mass, g or height, so this calculator does not cover it. See examples of elastic potential energy for worked cases.

Solve for mass, height or g
Rearrange the formula to solve for any one of the four quantities. Mass and height need a nonzero g, and the energy must have the same sign as the height.
| Solve for | Formula | Example |
|---|---|---|
| Potential energy | PE = m × g × h | A 2 kg object raised 1.5 m on Earth stores 29.42 J of gravitational potential energy. |
| Mass | m = PE / (g × h) | 1,000 J at 10 m on Earth needs 10.2 kg, which is 22.48 lb. |
| Height | h = PE / (m × g) | 1,000 J in a 5 kg object is 20.39 m up, which is 66.91 ft. |
| Gravity | g = PE / (m × h) | 1,000 J in a 10 kg object at 10 m gives g = 10 m/s², or 32.81 ft/s². |
Solving for g works as a planet identifier: 3,730 J in a 100 kg object at 10 m gives 3.73 m/s², the surface gravity of Mars.
Choosing g: 9.8, 9.81 or 9.80665
Use the value your textbook or teacher gives, and 9.8 m/s² if none is specified. The calculator uses 9.80665 m/s², the exact standard gravity (NIST). The 2 kg lift gives 29.42 J with 9.80665, 29.43 J with 9.81 and 29.4 J with 9.8, all within 0.1% of each other. Real g shifts slightly with latitude and altitude. It is the acceleration described in our facts about gravity.
Mass is the same on every world and only g changes, so the same 2 kg lift stores less energy on the Moon and more on Jupiter. Planet values are NASA mean surface gravity (NASA Planetary Fact Sheets); for the gas giants the surface is the 1 bar level.
| Body | g (m/s²) | PE of 2 kg at 1.5 m | Compared with Earth | Impact speed (m/s) |
|---|---|---|---|---|
| Earth | 9.80665 | 29.42 J | 1x | 5.424 |
| Moon | 1.62 | 4.86 J | 0.165x | 2.205 |
| Mars | 3.73 | 11.19 J | 0.38x | 3.345 |
| Jupiter | 25.92 | 77.76 J | 2.64x | 8.818 |
| Venus | 8.87 | 26.61 J | 0.904x | 5.158 |
| Mercury | 3.7 | 11.1 J | 0.377x | 3.332 |
| Saturn | 11.19 | 33.57 J | 1.14x | 5.794 |
| Sun (surface) | 274 | 822 J | 27.9x | 28.67 |
Reference level and negative potential energy
Height does not have to be measured from the ground. You choose the zero level, and only differences in height change the physics (OpenStax University Physics). Above the zero level the energy is positive, at it the energy is zero and below it the energy is negative.
| Position of a 75 kg hiker | Height | Potential energy (g = 9.8 m/s²) |
|---|---|---|
| Above the zero level | 147 m | 108 kJ |
| At the zero level | 0 m | 0 J |
| Below the zero level | -48 m | -35.28 kJ |
A negative result is not an error. It means the object sits lower than the zero level, and it would take that much work to lift it back up to it. Pick the zero level that makes the problem simplest: the floor for a book, the table top for a ball on a table, the turbines for the water in a reservoir.

Potential energy to kinetic energy when an object drops
As an object falls, potential energy turns into kinetic energy. With no air resistance, the kinetic energy at impact equals the potential energy lost: mgh = ½mv². Mass cancels, so v = √(2gh) for any object (OpenStax). The 2 kg object dropped from 1.5 m lands at 5.424 m/s, which is 19.53 km/h or 12.13 mph, carrying 29.42 J of kinetic energy. Enter that mass and speed in the kinetic energy calculator to confirm it.
The same swap happens on a swing: potential energy peaks at the top of each arc and kinetic energy peaks at the bottom, and friction slowly drains the total.

You can test this with a ball and a tape measure. Weigh the ball on a digital kitchen scale, measure the drop height from the bottom of the ball to the floor, and enter both. Air resistance makes the real impact speed a little lower, and it matters most for light, bulky objects.
To follow the energy through a drop with friction or a spring, use the mechanical energy calculator, which splits the total into kinetic and potential energy.
Gravitational potential energy units
The SI unit is the joule (J). In US customary units potential energy is given in foot-pounds of force (ft-lbf), and 1 ft-lbf is 1.355818 J (NIST). A pound entered as mass is converted at 0.45359237 kg per pound, an exact value (NIST Handbook 44). One kilowatt-hour is 3,600,000 J.
| Unit | Joules per unit | The 2 kg lift of 1.5 m |
|---|---|---|
| Joule (J) | 1 | 29.42 J |
| Kilojoule (kJ) | 1,000 | 0.02942 kJ |
| Foot-pound (ft-lbf) | 1.355818 | 21.7 ft-lbf |
| Kilocalorie (kcal) | 4,184 | 0.007032 kcal |
| Calorie (cal) | 4.184 | 7.032 cal |
What a potential energy result looks like
An apple of 100 g on a branch 3 m up holds 2.942 J relative to the ground, and it lands at 7.671 m/s, or 27.61 km/h. Measured from the roof instead, the same apple would have a different, even negative, value, because the zero level moved.
| Case | Mass | Height | Potential energy |
|---|---|---|---|
| Apple on a tree | 100 g | 3 m | 2.942 J |
| Book on a high shelf | 1.2 kg | 1.8 m | 21.18 J |
| Person on a 10 m platform | 70 kg | 10 m | 6.865 kJ |
| Same person on the Moon | 70 kg | 10 m | 1,134 J |
| Car lifted up a hill | 1,000 kg | 50 m | 490.3 kJ |
Our examples of potential energy list covers more everyday cases.
When the mgh formula stops working
PE = mgh assumes g stays constant, and g falls as you climb. The formula overshoots the true value by about h / R, where R is the radius of the planet, so the error reaches 1% at a height of R / 100: 63.71 km on Earth. The exact result is m × g × R × h / (R + h) (OpenStax University Physics). A 1 kg object lifted 100 km has 965,510 J of exact energy against 980,665 J from mgh, an error of 1.57%. At 400 km the error is 6.28%. A 1 m lift is off by 1.57×10-5%.
| Body | Radius (km) | Height for a 1% error (km) |
|---|---|---|
| Earth | 6,371 | 63.71 |
| Moon | 1,737.4 | 17.374 |
| Mars | 3,389.5 | 33.895 |
| Jupiter | 69,911 | 699.11 |
| Venus | 6,051.8 | 60.518 |
| Mercury | 2,439.7 | 24.397 |
| Saturn | 58,232 | 582.32 |
| Sun (surface) | 695,700 | 6,957 |
The calculator warns at 1% and shows the exact value next to the mgh result. For anything you can lift, drop or climb, mgh is accurate.
Sources
- OpenStax. University Physics Volume 1, 8.1 Potential Energy of a System
- OpenStax. College Physics 2e, 7.3 Gravitational Potential Energy
- OpenStax. University Physics Volume 1, 8.3 Conservation of Energy
- OpenStax. University Physics Volume 1, 13.3 Gravitational Potential Energy and Total Energy
- NIST. Standard acceleration of gravity
- NIST. Guide for the Use of the SI, Appendix B.8 Conversion factors
- NIST. Handbook 44, Appendix B
- NASA Space Science Data Coordinated Archive. Planetary Fact Sheets
- NASA. Planetary fact sheet notes
Energy can also be stored by stretching or compressing a spring instead of by height. The elastic potential energy calculator solves U = ½kx² for energy, spring constant or stretch.
Frequently asked questions
Potential energy is stored energy that depends on the position or condition of an object. Gravitational potential energy depends on height, while kinetic energy is the energy of motion.
PE = m x g x h, where m is mass in kilograms, g is the acceleration due to gravity in meters per second squared and h is height in meters. On Earth g is 9.80665 m/s^2, and the result is in joules.
Convert the mass to kilograms and the height to meters, then multiply mass by g by height. A 2 kg object raised 1.5 m on Earth gives 29.42 J.
The SI unit is the joule, equal to one kilogram meter squared per second squared. In US customary units it is the foot-pound of force, where one ft-lbf is 1.355818 J.
Use 9.8 m/s^2 for most homework, or the value your textbook gives. The calculator uses 9.80665 m/s^2, which changes the 2 kg example by less than 0.1%.
No, height is measured from any zero level you choose. Positions below that level give negative potential energy, and only differences in height affect the physics.
A falling object converts the potential energy it loses into kinetic energy, so with no air resistance the two are equal at impact. The 2 kg object dropped from 1.5 m lands with 29.42 J of kinetic energy at 5.424 m/s.
A 100 g apple 3 m above the ground has 2.942 J of gravitational potential energy relative to the ground. The value changes if you measure the height from a different zero level.