GPE = mgh — Gravitational Potential Energy, Derived and Explained
Imagine lifting a heavy book from the floor onto a high shelf. Your arms ache a little, and once the book is sitting on the shelf, it stays there quietly. But where did the effort of lifting it go? It did not simply vanish. It is stored in the book because of its new position, ready to be released if the book falls. That stored energy is gravitational potential energy, and the gravitational potential energy formula, GPE = mgh, tells you exactly how much of it there is.
This article explains that formula from the ground up. You will learn what each symbol means, where the formula comes from, why the choice of a reference level matters, and how to use the formula in calculations. By the end, you will be able to work out gravitational potential energy for yourself, and to turn it into kinetic energy when an object falls.
What Is Gravitational Potential Energy?
Energy is the capacity to do work, or to cause a change. Potential energy is a particular kind of stored energy. It is energy that an object has because of its position or its arrangement, rather than because it is moving. A stretched spring has elastic potential energy because of how it is stretched. An object held above the ground has gravitational potential energy because of its height in a gravitational field.
A gravitational field is the region around a planet, such as the Earth, in which objects experience a pull towards the planet. Near the surface of the Earth, that pull is almost the same everywhere, and it acts downwards. When you lift an object, you move it against that pull, and you store energy in the process. The higher you lift it, the more energy you store.
Gravitational potential energy, often shortened to GPE, is therefore defined as the energy stored by an object because of its height in a gravitational field. The formula is:
GPE = mgh
Each symbol in this formula has a precise meaning, and each one is measured in a standard unit. The symbol m stands for mass. Mass is the amount of matter in an object, and it is measured in kilograms, written as kg. Mass is not the same as weight, a distinction that matters a great deal in this topic, and one that is explained carefully below.
The symbol g stands for gravitational field strength. Near the surface of the Earth, g has a value of about 9.8 newtons per kilogram, written as 9.8 N/kg. It can also be written as 9.8 metres per second squared, or 9.8 m/s², because the two forms describe the same physical quantity in different units. In simple terms, g tells you how strong gravity is at a given place. On the surface of the Moon, g is much smaller, so the same object lifted to the same height would store much less gravitational potential energy.
The symbol h stands for height. More precisely, it stands for the vertical height of the object above a chosen reference level. Height is measured in metres, written as m. It is the vertical distance that matters, not the length of any sloping path the object may have taken to get there. This point catches many students out, and it is covered again in the common mistakes section.
Finally, GPE itself is measured in joules, written as J. The joule is the standard unit of energy. One joule is the energy transferred when a force of one newton moves an object by one metre in the direction of the force. When you calculate GPE = mgh using mass in kilograms, g in newtons per kilogram, and height in metres, the answer comes out directly in joules, with no extra conversion needed.
Two more properties of gravitational potential energy are worth noting from the start. First, GPE is a scalar quantity. A scalar is a quantity that has a size, or magnitude, but no direction. Speed is a scalar, while velocity, which includes a direction, is a vector. Gravitational potential energy has no direction. You do not say that energy points upwards or downwards. You simply state how many joules are stored.
Second, gravitational potential energy depends on a height difference, not on an absolute height. There is no single, natural zero point for height near the Earth in the way that there is for some other quantities. You must choose a reference level, sometimes called a datum, and measure height from there. What matters physically is how much the height changes, and therefore how much the stored energy changes. This idea is explored in full in the section on reference levels.
Deriving the Gravitational Potential Energy Formula from Work Done Against Gravity
A formula is much easier to remember, and much harder to misuse, when you understand where it comes from. The formula GPE = mgh is not simply a rule to be memorised. It follows directly from the definition of work.
Work, in physics, has a precise meaning. Work is done when a force moves an object in the direction of the force. If a force F acts on an object and moves it through a distance d in the direction of the force, then the work done, W, is given by:
W = Fd
Work is measured in joules, just like energy. This is no coincidence. Work is a way of transferring energy from one place or form to another. When you do work on an object, you give it energy. When the object does work on something else, it gives energy away.
Now consider lifting an object slowly, at a constant speed, through a vertical height h. The word slowly matters here. Lifting at a constant speed means that the object is not speeding up or slowing down, so the net force on it is zero. The upward force you apply must therefore exactly balance the downward pull of gravity on the object.
The downward pull of gravity on an object is its weight. Weight is a force, measured in newtons. It is calculated by multiplying the mass of the object by the gravitational field strength:
Weight = mg
So, to lift an object of mass m at a constant speed, you must apply an upward force equal to mg. You apply that force through a vertical distance h, which is the height through which the object rises. The work you do is therefore:
W = Fd = mgh
That work does not disappear. It is stored in the object as gravitational potential energy, because the object is now higher in the gravitational field than it was before. The gain in gravitational potential energy is exactly equal to the work done against gravity:
ΔGPE = mgΔh
The symbol Δ, the Greek letter delta, means a change in a quantity. So ΔGPE means the change in gravitational potential energy, and Δh means the change in height. If an object rises by a height h, its gravitational potential energy increases by mgh. If it falls by a height h, its gravitational potential energy decreases by mgh, and that energy is transferred into another form, usually kinetic energy.
For students who have met integration, there is a more formal version of the same derivation. The work done against gravity in moving an object through a tiny vertical distance dy is mg dy, because the force mg acts over that tiny distance. Adding up, or integrating, all of those tiny contributions from the reference level up to a height h gives:
GPE = ∫ mg dy = mgh
The integration is done from the chosen datum, where height is zero, up to the height h. Because g is treated as constant near the surface of the Earth, mg can be taken outside the integral, and the result is simply mgh. This formal version gives the same answer as the simple work argument, which is reassuring. Both routes describe the same physics.
This derivation also connects to two wider ideas in physics. The first is the work-energy theorem, which states that the work done on an object is equal to the change in its energy. In this case, the work done in lifting the object appears as a change in its gravitational potential energy. The second idea is that of a conservative force. A conservative force is a force for which the work done in moving an object between two points does not depend on the path taken, but only on the starting and finishing positions. Gravity is a conservative force.
That is why only the vertical height change matters, and not whether the object was lifted straight up, carried up a staircase, or pushed up a slope. The stored energy depends only on where the object starts and where it finishes.
Reference Levels and the Sign of Gravitational Potential Energy
A reference level, or datum, is the level from which height is measured. You are free to choose any convenient level as your datum. Common choices include the ground, the floor of a room, a tabletop, or sea level. Once you have chosen a datum, height h is measured vertically upwards from that level, and GPE = mgh gives the gravitational potential energy relative to that datum.
Because the datum is arbitrary, the value of GPE at a given point is also, in a sense, arbitrary. What has real physical meaning is a change in GPE. If you move a datum, every GPE value shifts by the same amount, but every change in GPE stays exactly the same. This is why exam questions always make clear, either directly or by implication, where height is measured from. If a question says that an object is lifted 2.5 m above the ground, then the ground is the datum, and the gain in GPE is mg multiplied by 2.5 m.
An object below the datum has a negative height, and therefore a negative value of GPE. This often surprises students, because energy is sometimes thought of as something that must always be positive. But a negative value here simply means that the object is below the chosen reference level. For example, if the ground floor of a building is the datum, then an object in the basement has negative gravitational potential energy relative to that datum. That is perfectly sensible. It would need work done on it to bring it back up to the datum level.
The sign of GPE, then, tells you about position relative to the datum, and changes in GPE tell you about energy transfers. When an object rises, its GPE increases. When it falls, its GPE decreases. A falling object loses gravitational potential energy and gains kinetic energy, which is the energy of motion. This conversion is at the heart of the second worked example below.
There is also a more general, universal form of gravitational potential energy, which is used when distances are large, such as for satellites or planets. That form is:
U = −GMm/r
In this formula, U stands for gravitational potential energy, G is the universal gravitational constant, M is the mass of the larger body, such as the Earth, m is the mass of the smaller object, and r is the distance between the centres of the two bodies. The negative sign appears because the zero of potential energy in this convention is placed at infinity, infinitely far away, where the gravitational pull has faded to nothing.
Bringing an object in from infinity to a finite distance r requires work to be done against nothing, in the sense that gravity does positive work as the object falls inwards, so the stored energy is negative relative to infinity.
The formula GPE = mgh is an approximation to this universal form, and a very good one for heights that are small compared with the radius of the Earth. The radius of the Earth is about 6,400 kilometres, so a height of a few metres, or even a few kilometres, is tiny by comparison. Over such small height changes, g hardly changes at all, and the simple formula mgh works extremely well.
For a satellite hundreds of kilometres up, however, g is noticeably smaller than at the surface, and the full form U = −GMm/r must be used instead. Knowing when each formula applies is part of using physics well, not just of memorising formulas.
Worked Example 1: Calculating GPE = mgh
A 12 kg crate is lifted onto a platform 2.5 m above the ground. Calculate its gain in gravitational potential energy. Take g = 9.8 m/s².
Step 1: Write down what you know. The mass m is 12 kg. The height h is 2.5 m, measured from the ground, which is the datum here. The value of g is 9.8 m/s². The quantity to find is the gain in gravitational potential energy.
Step 2: Write down the formula. The formula is GPE = mgh.
Step 3: Substitute the numbers into the formula. This gives GPE = 12 kg × 9.8 m/s² × 2.5 m.
Step 4: Work out the multiplication in stages, so that an arithmetic slip is easy to spot. First, 12 × 9.8 = 117.6. Then, 117.6 × 2.5 = 294. The units work out as kilograms multiplied by metres per second squared multiplied by metres, which gives joules.
Step 5: State the answer with its unit. The gain in gravitational potential energy is 294 J.
Step 6: Check that the answer is sensible. A crate of 12 kg is fairly heavy, and 2.5 m is a substantial lift, so an answer of a few hundred joules is reasonable. If the answer had come out as 29,400 J or 2.94 J, that would have signalled a misplaced decimal point or a unit error, and the calculation would need to be checked again.
Notice what this answer means. Lifting the crate stored 294 J of energy in it, because of its new height. If the crate were pushed off the platform and allowed to fall, that 294 J would be converted into kinetic energy as it fell, ignoring air resistance. That conversion is the subject of the next example.
Worked Example 2: Using GPE = mgh in Reverse
A ball of mass 2 kg is dropped from rest from a height of 20 m above the ground. Ignoring air resistance, find its speed just before it hits the ground. Take g = 9.8 m/s².
Step 1: Write down what you know. The mass m is 2 kg. The drop height h is 20 m. The ball starts from rest, so its initial speed is zero, and its initial kinetic energy is zero. The value of g is 9.8 m/s².
Step 2: Calculate the gravitational potential energy lost during the fall. The ball falls through 20 m, so the GPE it loses is mgh = 2 kg × 9.8 m/s² × 20 m. Working in stages, 2 × 9.8 = 19.6, and 19.6 × 20 = 392. So the ball loses 392 J of gravitational potential energy.
Step 3: Use conservation of energy. Because air resistance is ignored, no energy is lost to the surroundings. The gravitational potential energy lost must therefore appear as kinetic energy gained. Kinetic energy, the energy of motion, is given by KE = ½mv², where m is mass and v is speed. So the kinetic energy just before impact is 392 J, and we can write mgh = ½mv², which in numbers is 392 J = ½ × 2 kg × v².
Step 4: Solve for the speed v. The equation 392 = ½ × 2 × v² simplifies to 392 = v², because ½ × 2 = 1. Taking the square root of both sides gives v = √392. The square root of 392 is approximately 19.8, so v = 19.8 m/s.
Step 5: State the answer with its unit. The speed of the ball just before it hits the ground is 19.8 m/s.
Step 6: Notice something important about this result. The mass cancelled out of the calculation. In the equation mgh = ½mv², the mass m appears on both sides, so it can be divided out, leaving gh = ½v², or v = √(2gh). This means that, ignoring air resistance, any object dropped from 20 m will hit the ground at 19.8 m/s, whether it weighs 2 kg or 20 kg.
Heavier objects have more gravitational potential energy to lose, but they also need more kinetic energy to reach a given speed, and the two effects exactly balance. This is the same reason that, in the absence of air resistance, a feather and a hammer would fall together, as famously demonstrated on the Moon.
This example shows the real power of the energy approach. Instead of tracking the acceleration of the ball moment by moment, you can compare the energy at the start and at the end, and read off the speed directly. Whenever a question involves a height and a speed, and no energy is lost to friction or air resistance, the equation mgh = ½mv² is often the quickest route to the answer.
Common Mistakes
Several mistakes appear again and again in gravitational potential energy questions. Knowing them in advance makes them much easier to avoid.
The first mistake is using the distance along a slope instead of the vertical height. If an object is pushed up a ramp that is 5 m long but only rises 3 m vertically, then h is 3 m, not 5 m. Only the vertical rise counts, because gravity acts vertically, and work is only done against gravity over the vertical part of the movement. Always ask yourself: how much higher is the object, vertically, than it was before?
The second mistake is forgetting to convert units. Mass must be in kilograms, and height must be in metres. A mass given as 500 g must be converted to 0.5 kg before it goes into the formula. A height given as 150 cm must be converted to 1.5 m. Putting grams or centimetres directly into GPE = mgh gives an answer that is wrong by a factor of a thousand or a hundred, even if the rest of the working is perfect.
The third mistake is using weight instead of mass, or vice versa. Mass, in kilograms, is what goes into GPE = mgh. Weight, in newtons, is already mass multiplied by g. If a question gives you a weight of 120 N, you must not multiply it by g again. You can use it directly, because weight × height = mgh. Conversely, if a question gives you a mass, you must multiply by g. Mixing the two up is one of the most common sources of error in this topic.
The fourth mistake is assuming that gravitational potential energy is absolute rather than relative to a datum. There is no single correct value of GPE for an object at a given place. The value depends on where you put the zero. What is fixed is the change in GPE when the object moves. If a question seems to ask for an absolute value, look for the datum it implies, whether that is the ground, a tabletop, or some other level.
The fifth mistake is applying mgh to satellites or large altitudes where g is no longer constant. The formula GPE = mgh assumes that g stays at 9.8 m/s² throughout the height change. That assumption is excellent for everyday heights, but it breaks down when the height is comparable to the radius of the Earth. For satellites, rockets, and other large-distance problems, the universal form U = −GMm/r must be used instead.
The sixth mistake is mixing up g = 9.8 m/s² with g = 10 m/s² without stating which value is used. Many textbooks and exam boards allow the approximation g = 10 m/s² for rough calculations, and it makes the arithmetic easier. But it changes the answer slightly. For the crate in the first worked example, using g = 10 m/s² would give 300 J instead of 294 J.
Neither answer is wrong in itself, but you must state which value of g you used, and you must use the same value throughout a question. If a question specifies g = 9.8 m/s², use 9.8. If it does not specify, state your choice clearly at the start of your working.
Conclusion
Gravitational potential energy is the energy stored by an object because of its height in a gravitational field, and the gravitational potential energy formula summarises it in four symbols: GPE = mgh. Mass in kilograms, gravitational field strength near the Earth of 9.8 m/s², and vertical height in metres multiply together to give energy in joules. The formula comes from work: lifting an object slowly against its weight mg through a height h does work mgh, and that work is stored as gravitational potential energy, so ΔGPE = mgΔh.
Remember that height is always measured from a chosen datum, that only changes in GPE have direct physical meaning, and that the simple formula is an approximation for heights small compared with the radius of the Earth. For large distances, the universal form U = −GMm/r takes over.
When an object falls and no energy is lost, its gravitational potential energy converts into kinetic energy, following mgh = ½mv², with mass cancelling out of the speed calculation. Keep the units in kilograms and metres, use vertical height rather than slope length, and state your value of g, and the formula will serve you reliably in every everyday calculation.
Frequently Asked Questions
What is the gravitational potential energy formula GPE = mgh?
The gravitational potential energy formula is GPE = mgh, which gives the energy in joules stored by an object because of its height in a gravitational field. Here, m is mass in kilograms, g is gravitational field strength near Earth, about 9.8 N/kg, and h is vertical height in metres above a chosen reference level. The higher the object, the more energy is stored.
How is GPE = mgh derived from work done against gravity?
GPE = mgh is derived by calculating the work done lifting an object slowly against gravity at constant speed. The applied force must equal the object’s weight, mg, and work is force times distance, so W = Fd = mgh. That work is stored as gravitational potential energy, giving ΔGPE = mgΔh. Formally, integrating mg dy from the datum to height h gives the same result.
What does each letter in GPE = mgh stand for, and what are its units?
In GPE = mgh, m stands for mass in kilograms, g stands for gravitational field strength, about 9.8 N/kg or 9.8 m/s² near Earth, and h stands for vertical height in metres above a chosen datum. GPE itself is gravitational potential energy, measured in joules. Using kilograms, newtons per kilogram, and metres together gives the answer directly in joules, with no extra conversion needed.
Can gravitational potential energy from GPE = mgh be negative?
Yes, gravitational potential energy from GPE = mgh can be negative when an object lies below the chosen reference level, or datum. A negative height gives a negative value of GPE, which simply means the object is below the datum and work must be done to raise it back to that level. Only changes in GPE have direct physical meaning, so moving the datum shifts every value by the same amount.
When does the gravitational potential energy formula GPE = mgh stop working?
GPE = mgh stops working when the height is comparable to Earth’s radius, because g is no longer constant over such a large distance. The formula assumes g stays near 9.8 m/s², which holds well for everyday heights but fails for satellites, rockets, and other large-altitude problems. In those cases, use the universal form U = −GMm/r, with zero potential energy at infinity.
How do you convert gravitational potential energy from GPE = mgh into kinetic energy?
Gravitational potential energy converts into kinetic energy when an object falls and no energy is lost to air resistance or friction. The energy lost as height decreases appears as kinetic energy, following mgh = ½mv². Mass cancels from both sides, giving v = √(2gh), so the impact speed depends only on g and the drop height, not on the object’s mass.







