Gravitational Potential Energy Calculator
Calculate gravitational potential energy near Earth's surface or between two masses.
When to Use mgh and When to Use Universal Gravitational Energy
The familiar expression mgh is a near-surface approximation for changes in gravitational potential energy, while U = −GMm/r describes the universal two-body gravitational potential with zero chosen at infinity. Near Earth's surface, gravitational acceleration changes very little over ordinary height differences, so ΔU ≈ mgΔh is accurate and convenient.
For satellites, planets, or large altitude changes, g is not constant and the universal expression is more appropriate. The separation r is measured between the centers of the two masses, not from the surface. Its negative sign comes from the conventional choice U = 0 at infinite separation: bound objects at finite r have lower energy than that reference. A change in potential energy is found from Ufinal − Uinitial.
| Symbol | Meaning | Why it appears / units |
|---|---|---|
| m | Object mass | kg; gravitational energy scales directly with mass |
| g | Local gravitational acceleration | ≈ 9.81 m/s2 near Earth's surface |
| h | Vertical height change in the near-surface model | m; valid when g is approximately constant |
| r | Center-to-center separation | m; required by the universal expression |
| G, M | Gravitational constant and central mass | Set the strength of the universal gravitational interaction |
Raising an object increases its gravitational potential energy. In the universal convention, that means U becomes less negative as r increases. Escape corresponds to supplying enough total mechanical energy for the object to reach infinitely large r with zero remaining speed in the ideal minimum-energy case.
Worked Examples
Common Mistakes
In U = −GMm/r, r is measured from Earth's center. Add Earth's radius to altitude above the surface.
The sign comes from the chosen zero at infinity and indicates a gravitationally bound configuration.
The approximation assumes nearly constant g. For orbital distances, use the universal expression or calculate the exact potential-energy difference.
Potential energy depends on the chosen zero. Compare energy changes unless both quantities use the same reference convention.
Frequently Asked Questions
Formula Explorer connections
Interpretation: This relationship connects motion, force, momentum, work or energy in a mechanical system. Assumption: Choose a consistent reference direction and unit system. The model may assume constant acceleration, rigid bodies, negligible losses or an isolated system.