Skip to main content
Calculators/Gravitational PE
Classical Mechanics

Gravitational Potential Energy Calculator

Calculate gravitational potential energy (PE = mgh), or solve for mass, height or gravity. Works on any planet with a live energy conversion bar.

Solve for

PE = m × g × h
Enter values to calculate.

Gravitational PE equations

Potential energy
PE = mgh
Solve for mass
m = PE / (gh)
Solve for height
h = PE / (mg)
Solve for gravity
g = PE / (mh)
Impact velocity
v = √(2gh)
PE + KE = constant
Conservation of energy

Gravitational potential energy

Gravitational potential energy is the energy stored by an object due to its position in a gravitational field. Near Earth's surface, where gravity is approximately constant at g = 9.81 m/s², this is simply PE = mgh. The height h is measured from an arbitrary reference point — usually the ground or the lowest point in the problem.

When an object falls, its PE converts to kinetic energy. At the ground (h = 0), all the initial PE has become KE = ½mv², giving v = √(2gh). This is the work-energy theorem in action. For the full treatment see our article on Kinetic Energy and Conservation of Energy.

Is PE always measured from the ground?
No — PE is relative to whatever reference height you choose. The absolute value of PE doesn't matter; only changes in PE matter, since ΔPE = −ΔKE in a conservative system. You can set h = 0 wherever is most convenient.
Why does the formula break down at large heights?
PE = mgh assumes g is constant. At significant heights above Earth's surface, g decreases as 1/r². The exact formula for gravitational PE is U = −GMm/r, which is used for orbital mechanics. Near the surface (h << R_Earth), mgh is an excellent approximation.

Gravitational Potential Energy — The Complete Physics Guide

Gravitational potential energy (GPE) is the energy stored by an object due to its position in a gravitational field. When you lift a book above a table, you do work against gravity — and that work is stored as GPE, ready to be released when the book falls. The formula GPE = mgh captures this precisely: the higher the object and the heavier it is, the more energy is stored. Understanding GPE is essential for mechanics, engineering, energy systems, and orbital physics.

What Is Gravitational Potential Energy?

Gravitational potential energy is a form of stored mechanical energy — potential because it represents the ability to do work when released. The formula GPE = mgh applies near the Earth's surface where g is approximately constant. Here m is mass in kg, g = 9.81 m/s², and h is the height above a chosen reference level in metres. The resulting GPE is in joules.

The reference level — the height at which GPE = 0 — can be chosen freely. You might take the floor of a room, sea level, or the ground beneath a pendulum as your zero. Only changes in GPE matter in calculations: ΔPE = mgΔh. This freedom of reference is a general feature of potential energy — only differences have physical meaning, not absolute values.

GPE = mgh is a linear approximation valid when the variation of g over the height change is negligible — roughly for height changes less than about 10 km. For larger heights, g decreases significantly (g ∝ 1/r²) and the more general formula GPE = −GMm/r must be used, where r is the distance from Earth's centre.

Conservation of Mechanical Energy

In the absence of friction and air resistance, mechanical energy — the sum of kinetic and potential energy — is conserved. This is one of the most powerful principles in classical mechanics:

KE + GPE = constant
½mv² + mgh = ½mv₀² + mgh₀

As an object falls, GPE decreases and KE increases — energy converts from one form to the other while the total remains fixed. At the bottom of a fall from height h (starting from rest), all GPE has become KE: mgh = ½mv², giving v = √(2gh). This result is independent of mass — another manifestation of the equivalence of gravitational and inertial mass.

Worked Example 1 — Ball Falling from a Height

Problem: A 0.5 kg ball is dropped from a building 25 m tall. Find its GPE at the top and its speed at the bottom (ignoring air resistance).

GPE at top: GPE = mgh = 0.5 × 9.81 × 25 = 122.6 J

Speed at bottom: ½mv² = 122.6 → v = √(2 × 122.6/0.5) = √490.4 = 22.1 m/s

Worked Example 2 — Roller Coaster

Problem: A roller coaster car of mass 500 kg starts from rest at 40 m height. How fast is it moving at a point 15 m above the ground?

Energy conservation: mgh₁ = ½mv² + mgh₂

v² = 2g(h₁ − h₂) = 2 × 9.81 × (40 − 15) = 2 × 9.81 × 25 = 490.5

v = 22.1 m/s (about 80 km/h) — same answer as falling 25 m regardless of path!

GPE in Engineering and Energy Systems

Hydroelectric power: Hydroelectric dams convert GPE of water at height h into electrical energy. The power available is P = ρQgh, where ρ is water density (1000 kg/m³), Q is flow rate (m³/s), g = 9.81 m/s², and h is the head (height difference). The Three Gorges Dam in China — with a head of about 80 m and flow rate of up to 45,000 m³/s — can generate over 22,500 MW of electrical power.

Pumped storage: Pumped hydro is the world's largest form of energy storage. During periods of surplus electricity (e.g. at night), water is pumped to an upper reservoir, converting electrical energy to GPE. During peak demand, it flows back down, recovering the energy as electricity. The round-trip efficiency is about 70–80%. There is currently about 180 GW of pumped storage capacity worldwide.

Cranes and elevators: The minimum work required to lift a load is W = mgh — the gain in GPE. Real cranes and elevators require more due to friction and motor inefficiency. Regenerative elevators recover the GPE of a descending car by running the motor as a generator, recovering 20–30% of the energy used to ascend.

Orbital mechanics: At orbital distances, GPE = −GMm/r. The total mechanical energy of an orbit is E = −GMm/(2a), where a is the semi-major axis. A lower orbit has more negative energy — paradoxically, lowering your orbit requires firing engines prograde (forward) to reach a higher orbit, and retrograde (backward) to lower it. This counterintuitive result (Hohmann transfer) is a direct consequence of energy conservation in gravitational fields.

Conservative Forces and Path Independence

Gravity is a conservative force — a force for which the work done moving between two points is independent of the path taken. Whether you carry a box directly upward or along a ramp or a zigzag path, the work done against gravity is always mgh, where h is the net vertical gain. This path independence is what makes it possible to define gravitational potential energy as a function of position — if the work depended on the path, there would be no unique PE value at each point.

Non-conservative forces (like friction) do path-dependent work — a longer, winding path against friction requires more work than a direct path. This is why you cannot define a "friction potential energy" — the concept doesn't work for non-conservative forces. Mechanical energy is only conserved in the absence of non-conservative forces.

The concept of conservative forces and potential energy is one of the most powerful in all of physics. It extends far beyond gravity: electric fields (Coulomb force) are also conservative, allowing the definition of electric potential energy and electric potential (voltage). In fact, every fundamental force in nature is conservative — the existence of non-conservative friction is because friction is a macroscopic approximation to many microscopic conservative interactions.

Gravitational PE in Astronomical Contexts

For astronomical distances, GPE = mgh breaks down and the full formula GPE = −GMm/r must be used. Here G = 6.674 × 10⁻¹¹ N·m²/kg² is the gravitational constant, M is the mass of the gravitating body (Earth, Sun, etc.), m is the mass of the object, and r is the distance from the centre of M.

The negative sign is significant: the convention sets GPE = 0 at r = ∞ (infinitely far away). Bringing an object closer to M decreases r and makes GPE more negative — the object loses energy (it would need to gain energy to escape to infinity). The minimum total energy needed to escape from a planet's gravitational field is zero: KE + GPE = 0, which gives the escape velocity v_esc = √(2GM/r).

For circular orbits, the total mechanical energy E = −GMm/(2r) is exactly half the potential energy. This means objects in lower orbits have more negative total energy — they are more tightly bound. Lowering a satellite's orbit requires removing energy (firing retro-rockets to slow down), which seems counterintuitive but follows directly from the energy formula.

Black holes represent the extreme case: when enough mass is concentrated in a small enough region, the escape velocity exceeds c, the speed of light. The radius at which this occurs is the Schwarzschild radius: r_s = 2GM/c². Inside this radius, not even light can escape — the object becomes a black hole. The concept of gravitational PE, extended through General Relativity, remains central to understanding these objects.

Frequently Asked Questions

What is gravitational potential energy?
Gravitational potential energy (GPE) is the energy stored by an object due to its height in a gravitational field. Near Earth's surface, GPE = mgh, where m is mass (kg), g = 9.81 m/s², and h is height above a reference level (m). When an object falls, GPE converts to kinetic energy.
What is the reference level for GPE?
The reference level (where GPE = 0) is arbitrary — you choose it for convenience. Common choices are the ground, the floor, or the lowest point of motion. Only changes in GPE matter: ΔGPE = mgΔh. The same calculation gives the same answer regardless of which reference level you choose.
Can gravitational potential energy be negative?
Yes. If you define the reference level above an object, GPE = mgh becomes negative for h < 0. In orbital mechanics, GPE = −GMm/r is always negative (with the reference at infinity). Negative GPE simply means the object has less energy than at the reference level — it is physically meaningful and not a problem.
Is GPE = mgh exact?
No — it is a linear approximation valid when g is approximately constant over the height change. For everyday heights (below about 10 km), it is accurate to better than 0.3%. For greater heights, the more accurate formula is GPE = −GMm/r, where r is the distance from Earth's centre and G is the gravitational constant.
How is GPE related to work?
The work done by gravity on an object moving from height h₁ to h₂ is W = mg(h₁ − h₂) = −ΔGPE. Work done against gravity (lifting) equals the gain in GPE. This is the work-energy theorem applied to gravity: the work done by all forces on an object equals its change in kinetic energy.

Physics Fundamentals

Channel · Updates only

👋 Get concise physics updates — new articles, calculators, and tools. Your number stays private. No spam. No group chats. Just worthy content.

Your number is never shared or visible to others

Join the Channel