About this calculator The gravitational potential energy calculator solves E p = m g h E_p = mgh E p = m g h : given a mass m m m , the gravitational acceleration g g g and a height h h h above some reference level, it finds the object's gravitational potential energy; it can also solve for height or mass from the energy—how much energy a 70 kg person gains climbing to a third-floor landing 3 m up, how high 1000 J can lift that person, and how much energy each tonne of water stores in a reservoir 100 m high.
E p = m g h E_p = mgh E p = m g h is shorthand for “the negative work gravity does while an object is lifted steadily from the reference level to height h h h ”. It is the most common entry point to energy conservation: as an object falls, potential energy becomes kinetic energy (m g h = 1 2 m v 2 mgh = \tfrac12 mv^2 m g h = 2 1 m v 2 ), with the kinetic-energy formula on the Kinetic Energy Calculator ; where g g g comes from, its units and its values are covered by Newton's Second Law . The reference level may be chosen freely; changing it shifts the numerical value of E p E_p E p but never the energy difference between two points—a point this page stresses throughout.
What it does not do: it does not handle heights approaching the Earth's radius (that needs − G M m / r -GMm/r − GM m / r ; this page gives an error estimate); it does not solve for g g g ; it does not compute kinetic energy or speed; and it does not convert units (see the examples for kcal and kWh conversions).
Worked examples All four examples were recomputed by the engine's phys-potential compute routine; the display convention is at most 8 decimal places with trailing zeros removed, in units kg, m/s², m and J.
Example 1: lifting 1 kg by 1 m
Inputs: m = 1 m = 1 m = 1 , g = 9.80665 g = 9.80665 g = 9.80665 , h = 1 h = 1 h = 1 . E p = 1 × 9.80665 × 1 = 9.80665 E_p = 1 \times 9.80665 \times 1 = 9.80665 E p = 1 × 9.80665 × 1 = 9.80665 . Interface shows: potential energy Eₚ 9.80665 —about 10 J. This is another way to read g g g : 9.8 joules per kilogram per metre . A 500 mL bottle of water carried from the floor to a table (0.75 m) gains about 3.7 J; an AA battery stores roughly 10 000 J, enough to lift that bottle by 2 km.
Example 2: stairs, a bookshelf and a basement
Climbing stairs : a 70 kg person goes up to a landing 3 m high. m = 70 m = 70 m = 70 , g = 9.80665 g = 9.80665 g = 9.80665 , h = 3 h = 3 h = 3 : E p = 70 × 9.80665 × 3 = 2059.3965 E_p = 70 \times 9.80665 \times 3 = 2059.3965 E p = 70 × 9.80665 × 3 = 2059.3965 . Interface shows: potential energy Eₚ 2059.3965 —about 0.49 kcal. Change g g g to 9.8 and the interface shows 2058 ; the two values differ by 0.07%. Climbing 10 floors is about 5 kcal, less than a sugar cube (about 16 kcal): the “cost” of climbing is dominated by muscle efficiency (about 20%–25%) and maintaining body temperature, not by the potential energy itself.
A book on a shelf : a 0.5 kg book on a shelf 1.2 m up. m = 0.5 m = 0.5 m = 0.5 , h = 1.2 h = 1.2 h = 1.2 : E p = 0.5 × 9.80665 × 1.2 = 5.88399 E_p = 0.5 \times 9.80665 \times 1.2 = 5.88399 E p = 0.5 × 9.80665 × 1.2 = 5.88399 . Interface shows: 5.88399 .
A basement : an object of 2 kg 1.5 m below ground, with the ground as the reference level. m = 2 m = 2 m = 2 , h = − 1.5 h = -1.5 h = − 1.5 : E p = − 29.41995 E_p = -29.41995 E p = − 29.41995 . With h = − 3 h = -3 h = − 3 the interface shows −58.8399 . The minus sign means “below the reference level”, not “not enough energy”: choose the basement floor as the reference level and this value becomes 0, while the difference from the ground is always 2 × 9.80665 × 1.5 = 29.4 J 2 \times 9.80665 \times 1.5 = 29.4\ \text{J} 2 × 9.80665 × 1.5 = 29.4 J .
Figure 1: three heights under one reference level (Example 2). Walking up stairs, taking a lift or climbing a rope to the same floor gives the same increase in potential energy
Example 3: solving for height and mass from the energy
Solving for height : how high can 1000 J lift a 70 kg person? Clear h h h and enter m = 70 m = 70 m = 70 , g = 9.80665 g = 9.80665 g = 9.80665 , E p = 1000 E_p = 1000 E p = 1000 : h = 1000 / 686.4655 = 1.45673745 h = 1000 / 686.4655 = 1.45673745 h = 1000/686.4655 = 1.45673745 . Interface shows: height h 1.45673745 —less than one storey. 1 kcal (4184 J) corresponds to 6.09 m, about two storeys.
Solving for mass : how heavy is an object that stores 500 J at a height of 10 m? Clear m m m and enter g = 9.80665 g = 9.80665 g = 9.80665 , h = 10 h = 10 h = 10 , E p = 500 E_p = 500 E p = 500 : m = 500 / 98.0665 = 5.09858106 m = 500 / 98.0665 = 5.09858106 m = 500/98.0665 = 5.09858106 . Interface shows: mass m 5.09858106 .
Example 4: a reservoir, the Moon and Everest
Pumped storage : 1000 kg (1 m³) of water raised 100 m. m = 1000 m = 1000 m = 1000 , g = 9.80665 g = 9.80665 g = 9.80665 , h = 100 h = 100 h = 100 : E p = 980665 E_p = 980665 E p = 980665 . Interface shows: potential energy Eₚ 980665 —0.272 kWh. Conversely, 1 kWh can lift 1 m³ of water by 367 m. A pumped-storage plant with a 100 m head and a reservoir of 10 7 m 3 10^7\ \text{m}^3 1 0 7 m 3 stores about 2.7 GWh—this is how the grid stores electricity by “pumping water uphill”.
The Moon : the same person climbs the same 3 m with g = 1.62 g = 1.62 g = 1.62 : E p = 70 × 1.62 × 3 = 340.2 E_p = 70 \times 1.62 \times 3 = 340.2 E p = 70 × 1.62 × 3 = 340.2 . Interface shows: 340.2 , one sixth of the value on Earth.
Everest : a 70 kg person from sea level to 8849 m, E p = 70 × 9.80665 × 8849 ≈ 6.07 × 10 6 J ≈ 1452 kcal E_p = 70 \times 9.80665 \times 8849 \approx 6.07 \times 10^6\ \text{J} \approx 1452\ \text{kcal} E p = 70 × 9.80665 × 8849 ≈ 6.07 × 1 0 6 J ≈ 1452 kcal —only about one day's food. The real cost of mountaineering is far higher, for the same reason as with stairs: potential energy is only the net effect. At that altitude g g g is already about 0.28% smaller than at sea level, and the relative error of m g h mgh m g h against the exact G M m ( 1 / r 1 − 1 / r 2 ) GMm(1/r_1 - 1/r_2) GM m ( 1/ r 1 − 1/ r 2 ) is about h / R ⊕ = 0.14 % h/R_\oplus = 0.14\% h / R ⊕ = 0.14% , still acceptable.
The reference level is your choice
The absolute value of E p E_p E p has no physical meaning; what matters is the difference between two points. A book on a table has potential energy relative to the floor, zero relative to the tabletop and negative relative to the ceiling—all three statements hold at the same time. Choose the reference level that makes the calculation simplest: usually the lowest point of the motion.
The inputs of Example 2 can be entered directly into the panel to reproduce it; change the height to 6, 9 and 30 and watch the potential energy grow linearly; change g to 1.62 (the Moon), 3.72 (Mars) and 24.79 (Jupiter) to compare the same 3 m.
Principle and derivation From the work done by gravity to potential energy
Lifting a mass m m m steadily by a height h h h requires an upward force F = m g F = mg F = m g (Newton's second law ; at zero acceleration the applied force equals gravity), doing work W = F h = m g h W = Fh = mgh W = F h = m g h . That work does not disappear but is “stored” in the system of object plus Earth and can be recovered as kinetic energy on the way down—so gravitational potential energy is defined as E p = m g h E_p = mgh E p = m g h . More rigorously, E p E_p E p is the negative of the work done by gravity: as the object rises, gravity does work − m g h -mgh − m g h and the potential energy increases by m g h mgh m g h .
Independent of the path
Gravity is a conservative force: the work it does from A to B depends only on the height difference between A and B, not on the route. Stairs, a lift, a rope, a winding mountain road—so long as the start and end heights are the same, the increase in potential energy is the same. That is why h h h only needs to be the vertical height, and why the length of a slope or a rope never appears in the formula. The three scenarios in Figure 1 can be compared on a single height scale.
Reference levels and “negative potential energy”
The h h h in E p = m g h E_p = mgh E p = m g h is measured relative to some agreed h = 0 h = 0 h = 0 surface. Changing the reference level shifts the E p E_p E p of every point by the same constant, leaving differences unchanged. Physical laws involve only differences (work, energy conservation), so the reference level is free. The negative values for the basement in Example 2 come from exactly this. In celestial mechanics the convention is to set the potential energy at infinity to zero, which makes every bound orbit negative—that is a different convention and does not conflict with m g h mgh m g h .
Conservation of mechanical energy and 2 g h \sqrt{2gh} 2 g h
Ignoring drag, an object falling from rest through a height h h h loses potential energy m g h mgh m g h and gains kinetic energy 1 2 m v 2 \tfrac12 mv^2 2 1 m v 2 ; equating them gives v = 2 g h v = \sqrt{2gh} v = 2 g h , independent of mass. The person in Example 2 jumping down from 3 m lands at 2 × 9.80665 × 3 = 7.67 m/s \sqrt{2 \times 9.80665 \times 3} = 7.67\ \text{m/s} 2 × 9.80665 × 3 = 7.67 m/s (about 28 km/h). This is also the energy version of v 2 = 2 a s v^2 = 2as v 2 = 2 a s from the uniform acceleration displacement calculator .
Which value of g g g
g 0 = 9.806 65 m/s 2 g_0 = 9.806\,65\ \text{m/s}^2 g 0 = 9.806 65 m/s 2 is the standard value defined by the 3rd General Conference on Weights and Measures in 1901, used to define the kilogram-force among other units, and it is the engine's default. The actual gravitational acceleration varies with latitude (9.780 at the equator, 9.832 at the poles) and altitude (about 0.03% less per kilometre of ascent). Textbooks commonly use 9.8 or 9.81; the three values differ by less than 0.1%, far less than typical measurement error. When several calculators are cross-checked, use one value consistently.
When m g h mgh m g h is not enough
m g h mgh m g h assumes g g g is constant over the whole height range, i.e. h ≪ R ⊕ = 6371 km h \ll R_\oplus = 6371\ \text{km} h ≪ R ⊕ = 6371 km . The exact potential-energy difference is G M m ( 1 r 1 − 1 r 2 ) GMm\left(\dfrac1{r_1} - \dfrac1{r_2}\right) GM m ( r 1 1 − r 2 1 ) , with relative error about h / R ⊕ h/R_\oplus h / R ⊕ : 0.14% for Everest, 6% for the International Space Station (400 km), and completely unusable for geostationary orbit (35 786 km). Rockets and satellites need the law of universal gravitation.