Potential Energy Calculator

Gravitational potential energy near a surface or between two distances from a planet, with unit conversions and a chart.

🏔️ Potential Energy Calculator
Mass (m)
01000
Height above the reference level (h)
0500
Second height for the change in U (optional, same unit)
same unit
Planet
Gravity (g)
m/s²
Find
Mass (m)
01000
Height above the reference level (h)
0500
Potential energy (U)
Planet
Gravity (g)
m/s²
Central body
Central mass (M)
kg
Object mass (m)
kg
Start distance from the centre (r1)
km
End distance from the centre (r2)
km
Potential energy U (J)
—
Energy (kJ)
—
Energy (ft-lbf)
—
Energy (kWh)
—
Energy (cal)
—
Energy (kcal)
—
Speed if all becomes kinetic, √(2gh)
—
Change ΔU = m g (h2 − h1)
—

Height h (m)
—
Mass (kg)
—
Mass (lb)
—
Height (m)
—
Height (ft)
—
Energy (J)
—
Energy (kJ)
—
Energy (kWh)
—
Energy (ft-lbf)
—
Energy to move from r1 to r2, ΔU (J)
—
U at r1 (J)
—
U at r2 (J)
—
ΔU (MJ)
—
ΔU (kWh)
—
Gravity at r1, GM/r1² (m/s²)
—
Shortcut m g h at r1 (J)
—
Shortcut error vs exact
—

Gravity and Solve share one chart: potential energy against height is a straight line whose slope is m g, with your height (and the optional second height) marked. The Orbit chart is the -1/r curve of U against distance from the centre, with r1 and r2 marked; its axes start near the body radius and the distance axis uses whole kilometres. The dashed lines and dots mark your values.

🏔️ What is Potential Energy?

Potential energy is energy stored in an object because of where it is. Lift a book onto a shelf and you do work against gravity; that work does not vanish, it is stored as gravitational potential energy and can be released later when the book falls. Near the surface of a planet the stored energy is U = m g h: the mass of the object, the gravitational acceleration, and the height above a reference level that you choose. The SI unit is the joule.

The idea matters everywhere energy is moved against gravity. A diver on a platform, water behind a dam, a load raised by a crane, a skier at the top of a lift and a rocket leaving the ground all gain or lose potential energy. Pumped hydro plants store electricity by pushing water uphill, and the amount they can store is exactly m g h. Engineers use it to size cranes and lifts, physics students use it with kinetic energy to solve conservation problems, and anyone curious about spaceflight uses the orbital form to see how much energy a launch must supply.

Two points cause most confusion. First, potential energy is relative. The value of m g h depends on where you put h = 0, so a book on a shelf has potential energy relative to the floor but a different value relative to the basement. Only differences are physical, which is why this page also reports the change in U between two heights. Second, m g h is an approximation. It assumes gravity is the same at every height, which is excellent for a few hundred metres but not for a climb into orbit. For distances comparable to the planet radius the exact expression is U = -G M m / r, with zero at infinity, and it is always negative for a bound object. See the kinetic energy calculator for the energy of motion that potential energy turns into, and the work, energy and power calculator for a quick one-line version of m g h alongside work and power.

This calculator is the dedicated deep version. It converts the result into joules, kilojoules, foot-pounds, kilowatt hours and calories, gives the speed the object would reach if all the energy became kinetic, finds the mass, height or energy from the other two, and compares the exact orbital formula with the m g h shortcut so you can see the error for yourself.

📐 Potential Energy Formulas

U  =  m × g × h
ΔU  =  m g (h2 − h1)     v  =  √(2 g h)
U  =  −G M m ÷ r     ΔU  =  G M m (1/r1 − 1/r2)
U = gravitational potential energy (J), zero at h = 0 (near surface) or at infinity (orbital form)
m = mass of the object (kg)
g = gravitational acceleration (m/s²): 9.80665 on Earth, 1.62 on the Moon, 3.721 on Mars
h = height above the reference level (m); negative below it
G = 6.67430 × 10−11 m³ kg−1 s−2, the gravitational constant
M = mass of the central body (kg), for example 5.972 × 1024 for Earth
r = distance from the centre of the central body (m), so r is the radius plus the altitude
Sign convention: ΔU is positive when you move up (energy stored) and negative when you move down (energy released)
Conversions: 1 kWh = 3.6 × 106 J, 1 ft-lbf = 1.35582 J, 1 cal (thermochemical) = 4.184 J, 1 lb = 0.45359237 kg, 1 ft = 0.3048 m
Example: m = 70 kg, h = 10 m on Earth gives U = 6,864.65 J

The shortcut and the exact formula agree for small climbs. Writing r2 = r1 + h gives ΔU = G M m h / (r1 r2), while m g h with g = G M / r1² gives G M m h / r1². Their ratio is r2 / r1, so the shortcut overestimates the energy by exactly h / r1, which is the figure shown as the shortcut error. See Gravitational energy on Wikipedia, HyperPhysics and OpenStax College Physics, section 7.3. For the energy needed to leave a planet entirely, use the escape velocity calculator.

📖 How to Use This Calculator

Steps

1
Choose a mode: Gravity for U = m g h, Solve to find the mass, height or energy from the other two, or Orbit for U = -G M m / r.
2
Enter the values and pick units. The dropdowns only change how the typed number is read, so changing a unit never rewrites your number. Pick a planet to fill g, or type your own.
3
Set the reference level. Height is measured from the level where you want U = 0. Add a second height to see the change in energy between two levels.
4
Read the results and the chart: joules, kilojoules, foot-pounds, kilowatt hours, calories, the fall speed, and in Orbit mode the error of the m g h shortcut.

💡 Example Calculations

Example 1 — A 70 kg diver on a 10 m platform

Reference level is the water surface, g = 9.80665 m/s²

1
U = m g h = 70 × 9.80665 × 10 = 6,864.65 J, which is 6.865 kJ or 5,063.11 ft-lbf
2
Diving to the water (h2 = 0) changes the energy by ΔU = 70 × 9.80665 × (0 − 10) = −6,864.65 J, so that much is released
3
If all of it became kinetic energy, v = √(2 × 9.80665 × 10) = 14.005 m/s, about 50.4 km/h
U = 6,864.65 J  |  ΔU = −6,864.65 J
Try this example →

Example 2 — A 2 kg book on a 1.5 m shelf

Reference level is the floor

1
U = 2 × 9.80665 × 1.5 = 29.42 J
2
In other units that is 7.032 cal, 21.699 ft-lbf, or 8.17 × 10−6 kWh
3
If it falls to the floor it hits at v = √(2 × 9.80665 × 1.5) = 5.424 m/s
U = 29.42 J
Try this example →

Example 3 — Pumped-storage water, 1000 kg raised 100 m

One tonne of water lifted to an upper reservoir

1
U = 1000 × 9.80665 × 100 = 980,665 J = 980.665 kJ
2
Divide by 3.6 million J per kWh: 980,665 / 3,600,000 = 0.2724 kWh
3
That is the ideal figure with no losses in pumps, pipes or turbines. A real plant recovers less.
U = 980,665 J  |  0.2724 kWh
Try this example →

Example 4 — The same diver on the Moon

70 kg at 10 m with g = 1.62 m/s²

1
U = 70 × 1.62 × 10 = 1,134 J, against 6,864.65 J on Earth
2
The ratio is 1.62 / 9.80665 = 0.1652, so the same height stores about one sixth of the energy
3
The fall speed is √(2 × 1.62 × 10) = 5.692 m/s, compared with 14.005 m/s on Earth
U = 1,134 J  |  v = 5.692 m/s
Try this example →

Example 5 — Height of a 25 kg load holding 5,000 J

Solve mode, find height on Earth

1
Rearrange U = m g h to h = U / (m g)
2
h = 5,000 / (25 × 9.80665) = 20.394 m
3
In feet that is 20.394 / 0.3048 = 66.911 ft
Height = 20.394 m (66.911 ft)
Try this example →

Example 6 — Lifting a 1000 kg satellite to 400 km: exact vs m g h

Earth M = 5.972 × 1024 kg, r1 = 6371 km (surface), r2 = 6771 km

1
U1 = −G M m / r1 = −6.256 × 1010 J and U2 = −5.887 × 1010 J
2
ΔU = U2 − U1 = 3.696 × 109 J = 3,695.94 MJ, about 1,026.65 kWh
3
The shortcut uses g at r1 = 9.82 m/s²: m g h = 1000 × 9.82 × 400,000 = 3.928 × 109 J, which is 6.278 percent too high (the same as 400 / 6371)
ΔU = 3.696 × 109 J  |  m g h error = 6.278 %
Try this example →

❓ Frequently Asked Questions

What is the formula for gravitational potential energy?+
Near a planet surface it is U = m g h, mass times gravitational acceleration times height above a chosen reference level. For a 70 kg person 10 m above the ground on Earth, U = 70 x 9.80665 x 10 = 6,864.65 J. For large distances use U = -G M m / r, with zero at infinity.
What are the units of potential energy?+
The SI unit is the joule (J), where 1 J = 1 kg m squared per second squared. Other common units are the kilojoule, the kilowatt hour (1 kWh = 3.6 million J), the foot-pound (1 ft-lbf = 1.3558 J) and the thermochemical calorie (4.184 J). This calculator shows all of them.
Can potential energy be negative?+
Yes. Potential energy is measured from a reference level you choose. An object below that level has a negative m g h. In the orbital formula U = -GMm/r the zero is at infinity, so every object in a bound orbit has negative potential energy, and the more negative it is, the more tightly it is bound.
How do I find height from potential energy?+
Rearrange U = m g h to h = U / (m g). A 25 kg load holding 5,000 J on Earth sits 5,000 / (25 x 9.80665) = 20.39 m above the reference level. Choose the Solve mode and Find height to do this automatically, including the unit conversions.
How do I find mass from potential energy?+
Use m = U / (g h). Energy and height must have the same sign, and the height cannot be zero, because U is zero at the reference level whatever the mass is. The Solve mode checks both conditions and tells you if the inputs cannot describe a real mass.
How much energy is 1000 kg raised 100 m?+
On Earth, U = 1000 x 9.80665 x 100 = 980,665 J, which is about 980.7 kJ or 0.2724 kWh. This is the idea behind pumped hydro storage: moving water uphill stores energy that a turbine recovers when the water runs back down, minus real-world losses.
Why is the zero of potential energy arbitrary?+
Only the change in potential energy appears in physical results, such as the work done or the speed gained in a fall. Shifting the reference level adds the same constant to every value and cancels in any difference. Pick the level that makes your problem simplest, usually the floor, the ground or the water surface.
What is the difference between potential and kinetic energy?+
Potential energy is stored energy due to position, such as height in a gravitational field. Kinetic energy is the energy of motion, 1/2 m v squared. In a fall without air resistance potential energy converts into kinetic energy, so the speed after falling h is v = sqrt(2 g h), independent of the mass.
When does mgh stop being accurate?+
The shortcut assumes g is constant. The exact change from distance r1 to r2 is G M m (1/r1 - 1/r2), and m g h with g taken at r1 is too large by (r2 - r1) / r1. For a 400 km climb from the Earth surface that is about 6.3 percent, while for a 10 m climb it is about 0.00016 percent.
Is potential energy a vector?+
No. Potential energy is a scalar with no direction. The force it produces does have a direction: gravity pulls toward lower potential energy, and the force equals minus the slope of U against position. On the chart, the straight line of U against height has slope m g, which is the weight.
How much potential energy does an object have on the Moon or Mars?+
Use the planet selector, which fills g with 1.62 m/s squared for the Moon or 3.721 for Mars. A 70 kg person at 10 m has 1,134 J on the Moon, 2,604.70 J on Mars and 6,864.65 J on Earth. The selector only fills the g field, so you can still type your own value.
What is the potential energy at the orbit of the ISS?+
Choose the ISS preset in Orbit mode, which uses a radius of about 6791 km (Earth radius 6371 km plus an altitude of roughly 420 km; the real altitude changes with time). For a 1000 kg object that gives U of about -5.87 x 10 to the power 10 J, relative to zero at infinity.

What is the formula for gravitational potential energy?

Near a planet surface it is U = m g h, mass times gravitational acceleration times height above a chosen reference level. For a 70 kg person 10 m above the ground on Earth, U = 70 x 9.80665 x 10 = 6,864.65 J. For large distances use U = -G M m / r, with zero at infinity.

What are the units of potential energy?

The SI unit is the joule (J), where 1 J = 1 kg m squared per second squared. Other common units are the kilojoule, the kilowatt hour (1 kWh = 3.6 million J), the foot-pound (1 ft-lbf = 1.3558 J) and the thermochemical calorie (4.184 J).

Can potential energy be negative?

Yes. Potential energy is measured from a reference level you choose. An object below that level has a negative mgh. In the orbital formula U = -GMm/r the zero is at infinity, so every object in a bound orbit has negative potential energy.

How do I find height from potential energy?

Rearrange U = m g h to h = U / (m g). A 25 kg load holding 5,000 J on Earth sits 5,000 / (25 x 9.80665) = 20.39 m above the reference level. Choose the Solve mode and Find height to do this automatically.

How do I find mass from potential energy?

Use m = U / (g h). Energy and height must have the same sign, and the height cannot be zero, because U is zero at the reference level whatever the mass is. The Solve mode handles the unit conversions for you.

How much energy is 1000 kg raised 100 m?

On Earth, U = 1000 x 9.80665 x 100 = 980,665 J, which is about 980.7 kJ or 0.2724 kWh. This is the idea behind pumped hydro storage: moving water uphill stores energy that a turbine recovers when it runs back down.

Why is the zero of potential energy arbitrary?

Only the change in potential energy appears in physical results, such as the work done or the speed gained in a fall. Shifting the reference level adds the same constant to every value and cancels in any difference. Pick the level that makes your problem simplest.

What is the difference between potential and kinetic energy?

Potential energy is stored energy due to position, such as height in a gravitational field. Kinetic energy is the energy of motion, 1/2 m v squared. In a fall without air resistance potential energy converts into kinetic energy, so the speed after falling h is v = sqrt(2 g h).

When does mgh stop being accurate?

The shortcut assumes g is constant. The exact change from distance r1 to r2 is G M m (1/r1 - 1/r2), and m g h with g taken at r1 is too large by (r2 - r1) / r1. For a 400 km climb from Earth surface that is about 6.3 percent.

Is potential energy a vector?

No. Potential energy is a scalar with no direction. The force it produces does have a direction: gravity pulls toward lower potential energy, and the force equals minus the gradient of U.