1. Home
  2. Physics
  3. Work, energy & power
  4. Gravitational Potential Energy Calculator (mgh)

Gravitational Potential Energy Calculator (mgh)

Potential energy gained by lifting a mass, or the height or mass, plus the speed if it falls back down.

PhysicsGrades 9–10Grades 11–12BeginnerStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. A 50 kg student climbs stairs 12 m high. How much potential energy does she gain? (g = 9.8 m/s²)

  2. A 2 kg book sits on a shelf 1.5 m high. Find its potential energy and its speed if it falls to the floor.

  3. How high must a 0.5 kg ball be lifted to gain 100 J of potential energy?

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: A 50 kg student climbs stairs 12 m high. How much potential energy does she gain? (g = 9.8 m/s²)

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Put the values into the formula
  3. Speed if it falls back down (no air resistance): mgh = ½mv²
Answer
Potential energyU = 5880 J
Speed after falling that heightv = 15.34 m/s
Step-by-step solution
  1. Write the given values in SI units
    m=50 kg
    g=9.8 m/s²
    h=12 m
    To find: U (Potential energy)
  2. Put the values into the formula
    U=m g h
    =50 × 9.8 × 12
    =5880 J
  3. Speed if it falls back down (no air resistance): mgh = ½mv²
    v=√2 g h
    =√2 × 9.8 × 12
    =15.34 m/s
Key idea: mgh works near the ground, where g barely changes. For satellites and rockets, use −GMm/r instead.

Terms used on this page

New to a word in the question or the solution? Here it is in simple language.

Mass (m, M)
How much matter a body has. It's measured in kilograms (kg) and stays the same everywhere, on Earth or on the Moon.
Acceleration due to gravity (g)
How fast a falling body speeds up. On Earth g ≈ 9.8 m/s², so a dropped stone gains about 9.8 m/s of speed every second. It's smaller on the Moon (1.62 m/s²).
Satellite
Any body that goes round a planet. The Moon is a natural satellite; communication and weather satellites are man-made.
Gravitational potential energy (U)
Energy stored because of where a body sits in a gravity field: U = −GMm/r. The minus sign means you must add energy to pull the body away to infinity, where U = 0.
Gravitational potential (V)
Potential energy per kilogram at a point: V = −GM/r, in J/kg. It tells you how much work is needed to bring 1 kg from far away to that point.
Velocity: initial (u) and final (v)
Velocity is speed with a direction, in m/s. u is the velocity at the start of the time you're looking at, v is the velocity at the end.
Acceleration (a)
How quickly velocity changes, in m/s². If a car goes from 0 to 10 m/s in 5 s, its acceleration is 2 m/s².
Free fall
Falling under gravity alone, with air resistance ignored. Every body then speeds up at the same rate g.
Maximum height (H)
The highest point of the path. There the vertical velocity is zero for a moment.

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
mMasskg (or g, tonne, M⊕, M☾, M☉)
gAcceleration due to gravitym/s² (or cm/s², ft/s²)
hHeightm (or km, cm, mm, R⊕, AU)
UPotential energyJ (or kJ, MJ, GJ, erg, cal)

Formula & concept

Energy stored by lifting a mass to a height, or the height or mass from the energy.

U = mgh

Key idea: mgh works near the ground, where g barely changes. For satellites and rockets, use −GMm/r instead.

What it can find

Choose the unknown with the “What do you want to find?” buttons: potential energy, mass, height. The formula is rearranged for you and every step is shown.

How to use this calculator

  1. Choose what you want to find. Its box turns orange.
  2. Type the known values from your question and pick the unit for each one.
  3. Press Solve step by step.
  4. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  5. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  6. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Gravitational Potential Energy work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula U = mgh and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
mgh works near the ground, where g barely changes. For satellites and rockets, use −GMm/r instead.
Can I enter values in km, mm, kN or °C?
Yes. Each box has a unit list. The conversion to SI units is shown as the first step of the solution.
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Gravitational Potential Energy free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 9–10 (GCSE · IGCSE · US high school · Class 9–10 (CBSE, ICSE)) and Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.