Skip to content
LoveToCalc

Definition — what does that mean?

Gravitational potential energy, −GMm/r

Far from the ground, potential energy is measured from infinity rather than from the floor, which makes it negative everywhere.

In Swedish: Lägesenergi i ett gravitationsfält

Gravitational potential energy (−GMm/r)

The relation

Ep=−GMmr

The potential energy of a mass m at distance r from the centre of a mass M, with zero taken at infinity. It is negative everywhere and rises towards zero the further out the body is.

A large body of mass M and a small one of mass m, the distance r apart (measured between their centres). Eₚ marks the potential energy of the pair.
Solve for

Ep≈−5.879 × 10¹⁰J

E p is approximately minus ((6.674 times 10 to the power of minus 11 times (5.97 times 10 to the power of 24 times 1,000)) divided by 6,778,000), is approximately minus ((6.674 times 10 to the power of minus 11 times 5.97 times 10 to the power of 27) divided by 6,778,000), is approximately minus (3.985 times 10 to the power of 17 divided by 6,778,000), is approximately minus 5.879 times 10 to the power of 10, is approximately -5.879 times 10 to the power of 10 J

Working5 steps

The formula

E_p = −G · M · m / r

G is the gravitational constant, 6.6743 · 10⁻¹¹ N·m²/kg² (CODATA 2022), M the mass of the planet or star, m the mass of the body, r its distance from the centre of M in metres, and E_p the potential energy in joules. Many books write it as U.

A 1,000 kg satellite 400 km above the Earth. With the Earth’s mass 5.97 · 10²⁴ kg and radius 6,378 km from NASA’s planetary fact sheet, r = 6,778,000 m: E_p = −6.6743 · 10⁻¹¹ · 5.97 · 10²⁴ · 1,000 / 6,778,000 ≈ −5.88 · 10¹⁰ J.

Why it is negative

The formula puts the zero where gravity has no grip left: infinitely far away. Moving a body outwards takes work, so its energy rises towards that zero, and every point closer in has less — a negative number. Only differences in potential energy have a physical meaning, so the choice of zero changes nothing that can be measured; it only decides which number is written down.

The same satellite on the ground has −6.25 · 10¹⁰ J. Lifting it to orbit height raises its potential energy from the more negative number to the less negative one, by

ΔE = G · M · m · (1/6,378,000 − 1/6,778,000) ≈ 3.69 · 10⁹ J.

Where mgh stops working

mgh treats g as constant, which is a good approximation near the surface and a poor one further out:

Lift from the surface GMm(1/R − 1/r) mgh with g = 9.81 mgh is off by
400 km (r = 6,778 km) 3.69 · 10⁹ J 3.92 · 10⁹ J about 6%
to 10 Earth radii 5.62 · 10¹⁰ J 5.63 · 10¹¹ J a factor of 10

At 400 km mgh already overshoots, because g at that height is only about 8.7 m/s². Ten radii out, it is a hundredth of its surface value and mgh counts the whole climb at full strength.

Escape from the surface

A body escapes when its kinetic energy can carry it all the way to the zero: ½mv² − GMm/R = 0, so v = √(2GM/R). With the numbers above that is about 11.2 km/s, the escape velocity. The body’s own mass cancels.

Common mistakes

Frequently asked questions

How do −GMm/r and mgh agree near the ground? For a small lift h, GMm(1/R − 1/(R + h)) ≈ GMm · h / R², and GM/R² is g at the surface. So the change is m · g · h, as long as h is small compared with R.

What is the total energy of a satellite in a circular orbit? Its kinetic energy is half the size of its potential energy and positive, so the total is −GMm/(2r). A negative total means the satellite is bound and cannot escape without more energy.

Is this the same as gravitational potential? No. The potential, −GM/r, is the energy per kilogram, so it does not depend on the body’s mass. Multiply it by m and you get the potential energy on this page.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
G−EprMm−(−5.879 × 10¹⁰)·6,778,0005.97 × 10²⁴·1,0006.674 × 10⁻¹¹ N·m²/kg²
M−EprGm−(−5.879 × 10¹⁰)·6,778,0006.674 × 10⁻¹¹·1,0005.97 × 10²⁴ kg
m−EprGM−(−5.879 × 10¹⁰)·6,778,0006.674 × 10⁻¹¹·5.97 × 10²⁴1,000 kg
r−GMmEp−6.674 × 10⁻¹¹·5.97 × 10²⁴·1,000−5.879 × 10¹⁰6,778,000 m
Ep−GMmr−6.674 × 10⁻¹¹·5.97 × 10²⁴·1,0006,778,000−5.879 × 10¹⁰ J

Last reviewed October 7, 2026 ·How pages are reviewed

MechanicsAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.