CCalclabhub

Science · 81 calculations

Mechanics

How To Calculate Gravitational Potential Energy

Gravitational potential energy is the energy an object stores simply by being raised in a gravitational field. This calculation turns a mass, a height and the local acceleration into a single number of joules, using the near-surface approximation that applies around the Earth.

Last updated

Quick Answer

E = m x g x h

E
Gravitational potential energy gained, in joules
m
Mass of the object, in kilograms
g
Local gravitational acceleration, in metres per second squared
h
Vertical height gained, in metres

Multiply the mass by the local gravitational acceleration and by the height gained. A 10 kilogram mass raised 20 metres stores 1962.0000000000002 joules with g set to 9.81 metres per second squared. Doubling the height doubles that to 3924.0000000000005 joules, while halving the mass gives 981.0000000000001 joules. To find the mass needed for a chosen energy, divide the energy by g times h.

What Is Gravitational Potential Energy?

Gravitational potential energy is the energy stored in an object because of where it sits in a gravitational field. Near the surface of the Earth the field is strong and almost uniform, so the energy gained by lifting a mass is simply mass times gravitational acceleration times the height risen. A 10 kilogram mass lifted through 20 metres therefore stores 1962.0000000000002 joules with the default values used on this page. The same amount of energy is released if the mass is allowed to fall back to its starting level. It is a scalar quantity, measured in joules, and it belongs to the object and the Earth together rather than to either one alone.

The formula is really a statement about work. To raise an object slowly at constant speed you must apply an upward force equal to its weight, which is mass times gravitational acceleration. For the 10 kilogram mass here that force is 98.1 newtons. Pushing against that force over a distance of 20 metres does 98.1 times 20, or 1962.0000000000002, joules of work. With no losses, that work is not used up but stored as gravitational potential energy.

Three factors set the size of the result, and the energy is linear in each of them. Doubling the height while keeping the mass fixed gives 3924.0000000000005 joules, exactly twice the baseline. Halving the mass instead gives 981.0000000000001 joules, exactly half. Doubling both would multiply the energy by four. This linearity is why the calculation is so useful for quick estimates, but it also means unit errors pass straight through to the answer.

Energy depends on a height difference, not on an absolute height. Before calculating you must choose a reference level where the stored energy is defined to be zero, such as the floor, a table top or sea level. Lifting the same mass from the floor to a shelf stores the same energy no matter which of those levels you called zero. An object below your chosen reference simply has a negative value, which is perfectly legitimate. Only changes in the quantity have physical meaning, so the arbitrary zero never affects a prediction.

The constant value of gravitational acceleration used here is an approximation that holds only near the surface. Over a few hundred metres the acceleration changes by a tiny fraction, so treating it as 9.81 metres per second squared is accurate enough for most everyday work. In reality it decreases as you climb away from the Earth and it varies with location. Typical values run from about 9.78 metres per second squared near the equator to about 9.83 near the poles. Using the conventional standard gravity of 9.80665 instead would give 1961.33 joules for the same lift, a small but real difference.

For very large changes in altitude the constant acceleration model breaks down and the full inverse-square law is needed. The general expression for two masses separated by a centre-to-centre distance is minus G times the two masses divided by that distance, with the energy defined as zero at infinity. Close to a planet that expression expands into the simple mass times acceleration times height form used on this page. The approximation is excellent for a building or a hill and poor for a satellite. Knowing which regime you are in is more important than carrying extra decimal places.

Gravitational potential energy is often converted into kinetic energy. If the 10 kilogram mass in the example is released and falls the full 20 metres without air resistance, it arrives with 1962.0000000000002 joules of kinetic energy. For a 10 kilogram mass that corresponds to a speed of about 19.8 metres per second. In a real fall some energy is shared with the air as heat and sound, so the actual speed is slightly lower. Conservation of total energy still holds once all those forms are counted.

The formula can be rearranged when the energy is the known quantity. For a fixed height of 20 metres and acceleration of 9.81 metres per second squared, a mass of 5.09683995922528 kilograms is needed to store 1000 joules. Equivalently, for a known mass the required height is the target energy divided by mass times acceleration. Engineers use this inversion when sizing a raised weight for an energy store or a counterweight. It is the same relationship read in the opposite direction, with no new physics involved.

The same idea appears in hydroelectric reservoirs, lift shafts, clock weights and roller coasters. In each case energy is invested by raising a mass and recovered as the mass comes down. The stored amount depends only on the starting and finishing levels, because the gravitational field is conservative and the path taken does not matter. That path independence is what makes the calculation trustworthy without knowing the route. Remember that this is a near-surface, constant-acceleration model, and the answer will be an approximation whose quality depends on how far the mass moves.

Formula

E = m x g x h

Formula page →

The energy gained equals mass times gravitational acceleration times the vertical height gained. It assumes g is constant over the height considered and measures energy relative to a chosen zero level.

SymbolMeaning
mMass of the object
gLocal gravitational acceleration
hHeight gained

Work equals the applied force times the distance moved in its direction. For a slow vertical lift the force is the weight m times g and the distance is the height h, so the work done becomes m times g times h.

SymbolMeaning
FUpward force applied
dDistance moved along the force

m = E / (g x h)

Formula page →

Rearranging the main formula solves for whichever quantity is unknown. With a target of 1000 joules, g of 9.81 and h of 20 metres, the required mass is 5.09683995922528 kilograms.

SymbolMeaning
ETarget stored energy
gLocal gravitational acceleration
hHeight available

How To Calculate Gravitational Potential Energy

  1. 1

    Choose a reference level and read off the rise

    Decide where the stored energy is zero, then measure how far the object rises above that level. Use the vertical height, not the length of a slope or a winding path. For the worked example the rise is 20 metres from the chosen floor.

  2. 2

    Write down mass, height and local acceleration in SI units

    Record the mass in kilograms, the height in metres and the gravitational acceleration in metres per second squared. Centimetres and grams must be converted first. The defaults here are 10 kilograms, 20 metres and 9.81 metres per second squared.

  3. 3

    Find the weight of the object

    Multiply the mass by the local acceleration to get the downward weight in newtons. For 10 kilograms at 9.81 metres per second squared the weight is 98.1 newtons. This is the force you must overcome to lift the object slowly.

  4. 4

    Multiply the weight by the height gained

    Multiply the weight by the vertical rise to obtain the stored energy in joules. Here 98.1 newtons times 20 metres gives 1962.0000000000002 joules. A result of roughly two thousand joules for these inputs is a useful sanity check.

  5. 5

    Rescale or invert the result for related questions

    Because the energy is linear in mass and height, doubling the height gives 3924.0000000000005 joules and halving the mass gives 981.0000000000001 joules. Dividing 1000 joules by g times h gives the 5.09683995922528 kilograms needed for that target. Each answer is the same product read from a different angle.

Examples

Example 1: Lifting a 10 kilogram mass through 20 metres

mass
10 kg
height
20 m
gravity
9.81 m/s^2
StepCalculationResult
Local accelerationgiven gravity9.81 m/s^2
Weight of the mass10 x 9.8198.1 N
Energy stored98.1 x 201962.0000000000002 J

Result: 1962.0000000000002 joules, about 1962 J, stored by a 10 kilogram mass raised 20 metres under a constant acceleration of 9.81 metres per second squared.

Example 2: Changing the height and the mass

mass
10 kg (or 5 kg when halved)
height
20 m (or 40 m when doubled)
gravity
9.81 m/s^2
StepCalculationResult
At double the height10 x 9.81 x 20 x 23924.0000000000005 J
At half the mass(10 / 2) x 9.81 x 20981.0000000000001 J

Result: 3924.0000000000005 joules at double the height and 981.0000000000001 joules at half the mass, confirming that the energy scales linearly with each factor.

Example 3: Mass required to store 1000 joules

mass
to be solved
height
20 m
gravity
9.81 m/s^2
StepCalculationResult
Energy per kilogram at this height9.81 x 20196.2 J/kg
Mass for the target energy1000 / (9.81 x 20)5.09683995922528 kg

Result: 5.09683995922528 kilograms must be raised 20 metres at 9.81 metres per second squared to store 1000 joules.

Calculator

Gravitational potential energy

1,962

Energy at double the height
3,924
Energy at half the mass
981
Mass needed to store 1000 joules
5.0968

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the Gravitational Potential Energy calculator page.

Common Mistakes

  • Using an absolute height instead of a change in height

    The formula needs the vertical rise above a chosen zero level, not a height quoted from an unrelated datum. A shelf at 2 metres reached from a 1 metre table stores the energy of a 1 metre lift. Fix the reference level before computing.

  • Forgetting to convert units to the SI system

    Mass must be in kilograms and height in metres because gravitational acceleration is expressed in metres per second squared. Entering 2000 grams or 2000 centimetres without converting produces an answer wrong by a factor of a thousand or a hundred.

  • Treating g as an exact universal constant

    Near the Earth's surface g is about 9.81 metres per second squared, but it changes with latitude, altitude and local geology. Standard gravity is defined as 9.80665, which would give 1961.33 joules for the worked lift. Use a local value when precision matters.

  • Confusing mass with weight

    Mass in kilograms measures how much matter is present, while weight in newtons is mass times gravitational acceleration. Reporting 98.1 newtons as a mass, or 10 kilograms as a weight, mixes two different quantities and makes the energy formula meaningless.

  • Applying the constant-g formula at large altitudes

    The linear expression assumes the acceleration does not change while the object rises. Over kilometres, or for satellites, the inverse-square law must be used instead. Extrapolating mgh too far understates the energy needed to climb away from a planet.

  • Ignoring the negative sign for positions below the reference

    An object below the chosen zero level has negative gravitational potential energy, and that sign is physically meaningful when you compare levels. Dropping the sign can turn a loss of energy into an apparent gain. Keep the reference level explicit throughout a calculation.

FAQ

What exactly is gravitational potential energy?

It is the energy stored by an object because of its position in a gravitational field. Near a planetary surface it equals mass times gravitational acceleration times the height gained. It is measured in joules and is recovered when the object falls.

Why do I need to choose a reference level?

Only differences in gravitational potential energy are measurable, so a zero point must be chosen for convenience. The floor, a table or sea level all work equally well. Changing the reference shifts every value by the same amount and leaves all energy differences unchanged.

Does the path taken while lifting matter?

No. Gravity is a conservative field, so the energy stored depends only on the starting and ending heights. A ramp and a vertical lift to the same shelf store the same energy, even though the forces and distances along the way differ.

Is 9.81 metres per second squared the same everywhere?

No. It is a convenient near-surface average for the Earth. The true value is around 9.78 at the equator and 9.83 near the poles, and it falls with altitude. The conventional standard gravity of 9.80665 is used for calibration rather than as a local measurement.

How does gravitational potential energy become kinetic energy?

When an object falls, the field does work on it and the stored energy is converted into motion. Ignoring air resistance, the loss in potential energy exactly equals the gain in kinetic energy. A 10 kilogram mass falling 20 metres gains 1962.0000000000002 joules of kinetic energy.

Does the simple formula work for satellites?

No. It assumes the gravitational acceleration stays constant over the height considered, which fails over large distances. For orbits and escape problems use the inverse-square expression with a zero of energy at infinity, then expand it near the surface to recover mgh.

References