Gravitational Potential Energy Calculator
Lift a mass and you store energy in it; let it fall and the energy comes back as motion. Near a planet's surface that stored energy is GPE = m × g × h — mass times gravity times height. This tool solves for any one of the four quantities from the other three.
Gravity presets cover Earth, the Moon, Mars, and Jupiter, or type any value of your own. Standard gravity (9.80665 m/s²) is exact by definition; the other planets' figures are measured values and are labeled as approximations where they are used.
Potential energy
490.3325 joules (J)
In SI base units: 490.3325 J, at g = 9.80665 m/s². Height is measured from whatever zero level you choose — potential energy is always relative to that choice.
How it is worked out
- Surface gravity g = 9.80665 m/s².
- Mass = 10 kg = 10 kg in SI units.
- Height = 5 m = 5 m in SI units.
- PE = m × g × h = 10 × 9.80665 × 5 = 490.3325 J.
Embed this calculator on your website →
The formula
GPE = m × g × h
- GPE — energy in joules. m — mass in kilograms. g — surface gravity in m/s². h — height in metres above your chosen zero.
- Backwards — h = GPE ÷ (m × g) and m = GPE ÷ (g × h). All three directions are exact rational arithmetic.
- Height units — metres, centimetres, kilometres, feet, and inches, each exact by definition (1 ft = 0.3048 m exactly).
Worked example: 5 kg raised 10 m on Earth stores 490.3325 J (5 × 9.80665 × 10).
How it works
The zero is yours to choose. Potential energy is measured relative to a reference level — the floor, the tabletop, sea level. Only changes in height carry physical meaning: raise the zero and every GPE shifts by the same constant, while the energy released in any fall stays identical. Pick the zero your problem uses and be consistent.
Where mgh stops working. The formula assumes gravity is constant over the height, which is excellent for buildings, hills, and dropped tools, and wrong for orbits. Far from a surface, the full Newtonian form (−GMm/r) takes over; nothing in daily life or school physics reaches that regime.
Examples
- A book on a shelf — 1 kg at 2 m: 19.6133 J waiting to become motion if it falls.
- The same mass on the Moon — 5 kg at 10 m under lunar gravity (1.62 m/s²): 81 J, about a sixth of the Earth figure, matching the gravity ratio.
- How high for 490.3325 J? — solving for height with 5 kg on Earth gives 10 m back exactly.
Frequently asked questions
What height should I measure from?
From whatever reference level your problem uses — usually the ground, the floor, or the lowest point of the fall. Potential energy differences are what matter physically, so any consistent zero works. This tool takes the height you give it and does not assume one.
Is GPE the same on other planets?
The formula is; the gravity is not. The same mass at the same height stores about a sixth as much energy on the Moon (g ≈ 1.62 m/s²), about 0.38× on Mars (3.71), and about 2.5× on Jupiter (24.79). The presets use those measured values and label them as approximations — only Earth's standard gravity is exact by definition.
How does this relate to kinetic energy?
They trade against each other. A falling mass loses GPE exactly as fast as it gains kinetic energy (ignoring air resistance) — that is conservation of energy, and why mgh at the top equals ½mv² at the bottom. The kinetic energy calculator on this site covers the motion side.
Can GPE be negative?
Yes, if the mass sits below your chosen zero level — a basement below a ground-floor reference, for instance. The sign is an artifact of the reference choice, not a physical problem. This page requires positive mass, gravity, and height inputs because school and engineering problems are stated that way; differences are what carry meaning.
Related calculators
Kinetic Energy Calculator
LiveKinetic energy KE = ½mv² solved for energy, mass, or velocity — exact arithmetic, with the square-root case printed honestly as an approximation.
Force & Weight Calculator
LiveNewton's second law F = m × a solved for force, mass, or acceleration, plus weight W = m × g on Earth, the Moon, Mars, or Jupiter — exact unit conversions throughout.
Work Calculator
LiveWork W = F × d × cos θ solved for work, force, distance, or the angle — negative work past 90° printed as the real answer it is.

