What it does
Gravitational potential energy is the energy an object stores by being lifted against gravity. Lift a box onto a shelf and the work you do is stored as potential energy; let it fall and that energy turns into motion. This calculator finds PE from mass and height, or solves for either one. It uses standard Earth gravity by default, and you can switch to the Moon, another planet, or your own value of g.
How it's calculated
m = PE ÷ (g × h) · h = PE ÷ (m × g)
m is mass in kilograms, h is the height above your chosen reference level in meters, and g is the acceleration due to gravity. On Earth the calculator uses the standard value g = 9.80665 m/s2, which NIST lists as exact. Real gravity at Earth's surface varies by about half a percent from the equator to the poles. For other worlds it uses the surface gravity from the NASA Planetary Fact Sheet:
| World | Surface gravity (m/s2) | Compared with Earth |
|---|---|---|
| Mercury | 3.7 | 0.38 |
| Venus | 8.9 | 0.91 |
| Earth | 9.8 (standard 9.80665) | 1 |
| Moon | 1.6 | 0.16 |
| Mars | 3.7 | 0.38 |
| Jupiter | 23.1 | 2.36 |
| Saturn | 9.0 | 0.92 |
| Uranus | 8.7 | 0.89 |
| Neptune | 11.0 | 1.12 |
| Pluto | 0.7 | 0.07 |
Worked example
A 10 kg box is lifted onto a shelf 5 m up. PE = 10 × 9.80665 × 5 = 490.33 J. On the Moon the same lift stores only 10 × 1.6 × 5 = 80 J. Going the other way, 1,000 J of energy lifts that 10 kg box 1,000 ÷ (10 × 9.80665) = 10.20 m on Earth.
If the box falls from 5 m, all 490.33 J turns into kinetic energy (ignoring air resistance), so it lands at √(2 × 9.80665 × 5) = 9.90 m/s.
Getting a realistic number
- Pick the reference level and stick with it. Only changes in PE matter. Measuring from the floor or from the table top gives different PE values but the same difference between two heights.
- Negative heights are fine. An object below your reference level has negative potential energy.
- mgh is for heights near the surface. For rockets and satellites, gravity weakens with distance, so use the gravity calculator and the full −GMm/r form instead.