Calculate Gravitational Potential Energy and Energy Change
Calculate near-surface gravitational potential energy, universal gravitational potential energy or the energy change between two center-to-center distances. Solve for the unknown quantity, convert units and review every formula step.
- Solve ΔU = mgΔh
- Solve U = −GMm/r
- Compare two radii
- Independent unit conversion
Gravitational Potential Energy Calculator
Choose a physical model and the quantity you want to find. The calculator converts active inputs to SI units, applies the selected equation and returns the answer in your chosen unit.
Gravitational potential energy gained over the entered vertical height change.
Equivalent Units
| Unit | Equivalent value |
|---|---|
| joules (J) | 490.333 J |
| kilojoules (kJ) | 0.490333 kJ |
Calculation Steps
- Convert mass to 10 kg, gravity to 9.80665 m/s² and height change to 5 m.
- Apply ΔU = mgΔh.
- ΔU = 10 × 9.80665 × 5 = 490.3325 J.
- Round the display to 490.333 J.
The positive result means the final position has more gravitational potential energy than the initial position under the constant-gravity model.
How to Use This Gravitational Energy Calculator
- Choose the model. Select the near-surface equation for a small vertical move with nearly constant gravity. Select universal potential energy for one separation, or universal energy change for two separations.
- Choose the unknown. In near-surface mode, solve for energy, mass, height change or gravitational acceleration. In universal mode, solve for energy, either mass or center-to-center distance.
- Enter active values. Use separate units for every quantity. Distances in universal modes must be measured between centers.
- Select the answer unit. Choose joules or another energy unit, kilograms or another mass unit, a length unit, or an acceleration unit.
- Set displayed precision. Choose up to four, six, eight or ten significant digits. This does not change the internal calculation.
- Review the result. Check converted SI values, the formula substitution, sign interpretation and model assumptions before using the answer.
What Is Gravitational Potential Energy?
Gravitational potential energy is energy associated with the relative positions of masses in a gravitational field. It belongs to a system, such as an object and Earth, rather than to the object alone. The joule is its SI unit.
Only differences in potential energy directly affect motion and work. Near Earth's surface, a convenient zero level can be chosen at the floor, ground or another reference height. Raising an object increases its potential energy relative to that level. Lowering it decreases the energy.
For universal gravity, physicists normally define potential energy as zero at infinite separation. At every finite positive separation, U = −GMm/r is negative. This sign follows the attractive potential and chosen reference; it does not by itself show whether a moving system is gravitationally bound. Moving the masses farther apart raises U toward zero.
Near-Surface GPE Formula
Here, m is mass, g is the magnitude of gravitational acceleration and Δh is final height minus initial height. With kilograms, metres per second squared and metres, the result is joules. Rearranged forms are m = ΔU/(gΔh), Δh = ΔU/(mg) and g = ΔU/(mΔh).
The model assumes g stays effectively constant across the height interval. It is useful for rooms, buildings, ramps and many introductory mechanics problems. It is not the right choice for a satellite hundreds of kilometres above Earth because gravity changes with distance.
Universal Gravitational Potential Energy Formula
G is the Newtonian constant of gravitation, M and m are the two masses, and r is their center-to-center separation. This calculator uses G = 6.67430 × 10−11 m³·kg−1·s−2, the current CODATA recommended value shown by NIST.
The equation applies exactly to point masses. It also applies outside non-overlapping spherically symmetric bodies when each body can be treated as if its mass were concentrated at its center. For irregular bodies, overlapping bodies or distances inside a mass distribution, the simple point-mass equation may not describe the field.
When solving backward, universal potential energy must be negative for positive masses and a finite positive separation under the zero-at-infinity convention. A zero energy value corresponds to infinite separation, so it cannot produce a finite radius.
Universal Energy Change Between Two Distances
This form subtracts U1 from U2. If r2 is larger than r1, the result is positive because the potential energy increases. For a rest-to-rest or quasi-static ideal move, external work equals this positive change; in other motion, the increase can instead come from kinetic energy. If r2 is smaller, the result is negative because the system loses potential energy as the masses move together. Equal radii give zero change.
Use center-to-center radii for both positions. For altitude above a spherical planet, add the planet's radius to the altitude before entering the value. A 400 km altitude above an Earth radius of 6371 km corresponds to a center distance of 6771 km.
This calculation returns a potential-energy change. The actual fuel energy or electrical energy required by a machine will be larger when propulsion inefficiency, drag, structural mass, heat and other losses matter.
Worked Gravitational Energy Examples
Lift a 12.5 kg object by 3.2 m
Using standard gravity, the near-surface calculation is:
The positive answer is the increase in gravitational potential energy relative to the starting height.
Find universal potential energy near Earth's surface
For Earth mass M = 5.9722 × 1024 kg, an object mass of 1000 kg and center distance r = 6371000 m:
The value is negative because zero potential energy is defined at infinite separation.
Raise 1000 kg from Earth's surface to 400 km altitude
Use r1 = 6371000 m and r2 = 6771000 m:
This is the ideal potential-energy increase only. It excludes the kinetic energy required for orbit and all launch-system losses.
Which Gravitational Energy Formula Should You Use?
| Situation | Use | Key requirement |
|---|---|---|
| Small vertical move near a surface | ΔU = mgΔh | g remains approximately constant |
| Potential energy at one separation | U = −GMm/r | Zero energy at infinity |
| Move between two large-scale radii | ΔU = GMm(1/r1 − 1/r2) | Both radii measured center to center |
For a small height h compared with a planet's radius R, the universal result approaches mgh because g is approximately GM/R². The formulas are consistent; they use different approximations and reference conventions.
Units, Signs and Reference Levels
The calculator converts each active value through coherent SI units. Kilograms measure mass. Numerical values of g use acceleration units, not force units. Metres describe vertical change or center distance. Joules describe energy.
| Quantity | SI unit | Important note |
|---|---|---|
| Mass | kilogram (kg) | Do not enter weight in newtons |
| Gravitational acceleration | m/s² | Local g varies with position |
| Height or radius | metre (m) | Universal r is center to center |
| Energy | joule (J) | 1 J = 1 kg·m²/s² |
A negative universal U does not mean the system has an impossible amount of energy. It indicates the chosen zero is at infinity. Likewise, near-surface ΔU may be negative when the final position is lower than the initial position.
Common Gravitational Energy Mistakes
- Entering weight force where the formula requires mass.
- Using altitude above the surface as r in the universal equation instead of center-to-center distance.
- Applying mgh over a distance where g changes significantly.
- Dropping the negative sign from U = −GMm/r while using zero at infinity.
- Reversing r1 and r2, which reverses the sign of the energy change.
- Mixing kilometres with metres before substitution.
- Assuming standard gravity equals the exact local gravitational acceleration.
- Treating potential-energy change as the full energy cost of a real launch or lifting system.
- Rounding G or converted values too early.
Accuracy and Model Limits
Input quality sets result quality. Measurements of mass, height, radius and local gravity carry uncertainty. The displayed precision setting changes presentation, not physical accuracy. Report no more significant digits than your least precise important measurement supports.
The universal calculation uses the CODATA value of G, which has measurement uncertainty. It treats masses as point masses or suitable spherical bodies and uses Newtonian gravity. It does not model nonspherical gravity fields, rotation, tides, atmospheric drag, relativistic corrections, structural forces or propulsion efficiency.
The calculator rejects undefined zero denominators, nonpositive physical distances, nonpositive masses where required, inconsistent energy signs and values outside safe browser arithmetic. An invalid edit clears the old result so a stale answer is not mistaken for a new calculation.
Related Calculators
Use these tools for connected force, motion and trajectory calculations, or browse the Science & Engineering Calculators directory.
Gravitational Energy Calculator FAQs
What is the formula for gravitational potential energy?
Near a surface with nearly constant gravity, use ΔU = mgΔh. For two masses separated by distance r, using zero at infinity, use U = −GMm/r.
When should I use mgh instead of the universal formula?
Use mgh for a modest vertical change where g stays approximately constant. Use the universal formula when the distance is large enough for gravity to change meaningfully.
Why is universal gravitational potential energy negative?
The conventional zero is at infinite separation. At finite positive separation, −GMm/r lies below that reference, so U is negative and approaches zero as separation increases. The sign of U alone does not determine whether a moving system is bound.
What distance should I enter for r?
Enter center-to-center separation. For an object above a planet, add the planet's radius and the object's altitude to obtain r.
Can gravitational potential energy change be negative?
Yes. Near a surface, moving downward gives a negative ΔU. In the universal model, moving to a smaller radius also gives a negative energy change.
What value of gravity should I use on Earth?
Use 9.80665 m/s² for standard gravity when no local value is supplied. For precise work, use gravitational acceleration measured or modeled for the location and elevation.
What is the value of the gravitational constant G?
The calculator uses G = 6.67430 × 10−11 m³·kg−1·s−2, the CODATA recommended value published by NIST.
Is gravitational potential energy the same as gravitational potential?
No. Potential energy U is measured in joules and depends on the object's mass. Gravitational potential is energy per unit mass, measured in joules per kilogram.
Does the calculator include kinetic energy needed for orbit?
No. It calculates gravitational potential energy or its change. A stable orbit also requires kinetic energy, and a real launch requires extra energy for losses and vehicle mass.
Can I use this calculator for the Moon or another planet?
Yes. For a small height change, enter the appropriate local g. For universal calculations, enter the body's mass and center-to-center radius in the provided units.
Method References
- OpenStax University Physics, Potential Energy of a System, near-surface gravitational potential energy and reference-level guidance.
- OpenStax University Physics, Gravitational Potential Energy and Total Energy, universal potential energy, energy change and zero-at-infinity convention.
- NIST CODATA, complete constants listing, recommended value and uncertainty for G.
- NIST Guide to the SI, Appendix B.9, mass, length, acceleration and energy conversions.
- BIPM SI Brochure, 9th edition, SI units and derived-unit definitions.
Disclaimer: This calculator provides educational and preliminary Newtonian-mechanics results. Verify the selected model, reference level, local gravity, center distances, mass distribution, measurement uncertainty and unit system before using a result for engineering, aerospace, laboratory, lifting, structural or safety-critical work.