Example 1
A backpack of 8 kg on a shelf 1.8 m above the floor. This is the reference case: 8 × 9.81 × 1.8 = 141.264 J, and the panel shows 141.26 J.
Ep = 141.26 J
Enter the mass in kilograms and the height in meters from the chosen reference level. The calculator finds gravitational potential energy in a uniform field from Ep = m·g·h at g = 9.81 m/s² and also reports the weight mg, watt-hours, and the energy at double height. For 8 kg at 1.8 m the result is 141.26 J. The model does not include −GMm/r or spring energy ½kx².
Enter a mass and a height. The energy, the weight, and the Ep(h) chart appear here.
Energy of motion is on the Ek = ½mv² calculator, the work of a lift is on the W = F·s calculator, and the field of a single mass is on the g = GM/r² calculator.
Gravitational potential energy in a uniform field is the product of mass, a constant acceleration, and height: Ep = m·g·h. The unit is the joule, 1 J = 1 N·m = 1 kg·m²/s². The calculator uses g = 9.81 m/s². For 8 kg at 1.8 m: 8 × 9.81 × 1.8 = 141.264 J, and the panel shows 141.26 J. The same mass at 3.6 m has 282.53 J, because height enters the formula linearly.
The calculator uses mass m in kilograms and height h in meters from the chosen reference level. That is not height above sea level. A comma and a period are the same decimal separator. A negative mass is rejected. A negative height lies below the zero and gives a negative energy. Zero mass or zero height gives 0 J.
What the result panel shows. Besides the energy in a chosen unit (J, kJ, MJ), the calculator reports the same value in joules and watt-hours, the weight mg, the height you entered, the mass you entered, the energy at double height, and the constant g. For 8 kg at 1.8 m the weight is 78.48 N, and 141.26 J is 0.03924 Wh. The chart draws Ep(h) from one quarter of the entered height to twice that height, when the mass is greater than zero and the height is not zero.
Limits of the model. The formula is a constant g near the surface. The calculator does not compute the kinetic energy Ek = ½mv², does not compute spring energy on the Hooke’s law page, and does not apply the potential −GMm/r. Work from force and distance is on the W = F·s page. The time to fall from this height is on the free-fall time page, and the field of a single mass is on the g = GM/r² page.
The header switch converts mass to pounds, height to feet, energy to ft·lb, and weight to lbf, and it converts numbers already entered in the fields. The multiplication still runs in SI, by 9.81 m/s². The numbers in the text stay in SI units as the reference.
The examples on the page use the same formula. An 8 kg backpack at 1.8 m gives 141.26 J, a 60 kg person at 2 m gives 1.177 kJ, and 1 kg at 1 m gives 9.81 J. A 600 kg cabin at 40 m and an 80 kg skier at 300 m have the same product m·h, so both energies are 235.44 kJ. Fill this example enters those same numbers into the fields and refreshes the panel and the chart.
Ep = m · g · h
[Ep] = kg · m/s² · m = kg·m²/s² = J; weight mg = m · g
Model: gravitational potential energy in a uniform field (mechanics textbooks; the zero is a choice). The constant is g = 9.81 m/s². The rearrangements m = Ep/(g·h) and h = Ep/(m·g) follow from the same formula, but this calculator reports only Ep. The order of operations is mg, then m·g·h in SI units.
Near Earth’s surface the weight of a body of constant mass can be treated as a downward force mg, with a constant acceleration g. The potential energy assigned to that field is Ep = m·g·h, where h is the height relative to a chosen zero. It is not a separate kind of energy. It is the energy of position in a field that, over a short distance, is treated as uniform. The SI unit is the joule: 1 J = 1 N·m = 1 kg·m²/s². The name honors James Prescott Joule. The unit is defined in the SI Brochure (BIPM, 9th edition).
For 8 kg at 1.8 m the steps are short. Step 1: the weight mg = 8 × 9.81 = 78.48 N. Step 2: the product with the height, 78.48 × 1.8 = 141.264 J. The panel rounds that result to 141.26 J. A mass of 60 kg at 2 m has 1,177.2 J, or 1.177 kJ. One kilogram at one meter has 9.81 J, because only the constant g remains.
For a particle of constant mass, the net work equals the change in kinetic energy. When a body rises at constant speed, the change in kinetic energy is zero, so the work of the lifting force and the work of the weight add to zero. The lifting force then equals the weight, and its work along the height h is m·g·h. Potential energy is defined so that the work of the weight equals minus the change in Ep. The increase in Ep between two levels is therefore m·g·h.
The calculator reports that increase. It has no force field, so it does not replace the work page. For an 8 kg backpack the same 141.264 J would appear on the W = F·s page if you entered 78.48 N and 1.8 m. This form takes mass and height, and it computes the weight itself.
The zero of potential energy is a choice, provided the same choice is kept through one problem. Only the difference matters. Shifting the zero by a constant adds the constant m·g·C to Ep and does not change the difference between two levels. A floor, a counter, and the bottom of a slope are equally valid zeros. Height above the sea is not an argument of the formula unless the problem itself chooses the sea as the zero.
A negative height means a level below the chosen zero. The energy is then negative, because the product m·g·h changes sign with h. Mass cannot be negative. Two levels with the same difference h give the same change in energy, even when both sit high above the ground, as long as g can still be treated as constant.
Standard gravity gn = 9.80665 m/s² was adopted by the 3rd General Conference on Weights and Measures in 1901 as a conventional value, not as the local g at every place. The calculator uses 9.81 m/s², the value common in school problems. For 8 kg and 1.8 m the gap 9.81 − 9.80665 produces 0.048 J. The page has no second mode for gn.
Local gravity changes with latitude and with height. Textbooks quote a range from about 9.78 m/s² at the equator to about 9.83 m/s² at the poles. The calculator has no latitude field and does not correct the result for that spread. It also does not substitute lunar gravity.
Doubling the height doubles Ep. Doubling the speed in kinetic energy quadruples Ek, because speed is squared there. Those are different fields and a different formula. In free fall without drag, a loss of Ep can become a gain of Ek, but this calculator does not compute a speed. Height in a vertical throw is on a separate page, and that page starts from an initial speed rather than from an entered h.
Spring energy ½kx² depends on the extension and on the spring constant. It is not equal to m·g·h. The gravitational potential of a point mass has the form −GMm/r. The difference of that potential between radius R and radius R + h is close to m·g·h when g = GM/R² and h is small compared with R. For a vertical drop of 300 m and a mean Earth radius of 6,371 km, the ratio h/R is about 4.7×10⁻⁵. The calculator does not apply that correction. It keeps the product at g = 9.81 m/s².
The formula does not include friction, air resistance, or heat. It also does not include a change of shape, and it is not the energy budget of a roller coaster, because the track has losses. The 117.72 kJ of the car is the energy of a 30 m difference, not the speed at the bottom. The formula is not orbital energy and does not use the virial theorem.
When the entered height is at least 10 km, the note beside the result recalls that a constant g is an approximation. The number on the panel stays the product m·9.81·h. For a backpack, a bucket, or a skier, that limit does not apply.
The definition, the unit, and the link between work and potential energy follow mechanics textbooks and metrology sources: D. Halliday, R. Resnick, and J. Walker, Fundamentals of Physics, chapters on work and potential energy; H. D. Young and R. A. Freedman, University Physics, the chapter on potential energy; R. P. Feynman, R. B. Leighton, and M. Sands, The Feynman Lectures on Physics, Volume I, chapters 4 and 13; BIPM, SI Brochure, 9th edition; Resolution of the 3rd General Conference on Weights and Measures (1901) on standard gravity; NIST Special Publication 330, the value of gn. The page is educational.
Ep is the potential energy in a uniform field, m is mass, h is height, and g is the constant 9.81 m/s². For 8 kg at 1.8 m the panel shows 141.26 J.
A backpack of 8 kg on a shelf 1.8 m above the floor. This is the reference case: 8 × 9.81 × 1.8 = 141.264 J, and the panel shows 141.26 J.
Ep = 141.26 J
A person of 60 kg lifted 2 m above a platform. The product is 1,177.2 J, and the main panel shows 1.177 kJ.
Ep = 1.177 kJ
A book of 0.80 kg on a shelf at 1.5 m. The panel shows 11.77 J.
Ep = 11.77 J
A bucket of water, 12 kg, raised 6 m. The result is 706.32 J.
Ep = 706.32 J
A tank holding 50,000 kg of water, 30 m above the ground. The product is 14,715,000 J, and the panel shows 14.715 MJ.
Ep = 14.715 MJ
A coaster car of 400 kg, 30 m above the bottom of the track. The panel shows 117.72 kJ. That is the energy of the height difference, without friction on the rails.
Ep = 117.72 kJ
A flowerpot of 3 kg on a sill 12 m above the sidewalk. The result is 353.16 J.
Ep = 353.16 J
A skier of 80 kg with 300 m of vertical drop relative to the lower station. The panel shows 235.44 kJ. This formula leaves out air resistance.
Ep = 235.44 kJ
A cabin with people, 600 kg together, 40 m above the ground floor. The product m·h matches 80 kg at 300 m, so the energy is also 235.44 kJ.
Ep = 235.44 kJ
A cat of 4 kg on a branch 5 m above the lawn. The result is 196.2 J.
Ep = 196.2 J
Groceries of 5 kg lifted onto a counter 0.9 m high. The result is 44.15 J.
Ep = 44.15 J
One kilogram at one meter. The product equals the constant g itself, so the panel shows 9.81 J.
Ep = 9.81 J
The calculator finds gravitational potential energy in a uniform field from Ep = m·g·h. It multiplies the mass by the constant g = 9.81 m/s² and by the height above the chosen reference. For 8 kg at 1.8 m the product is 141.264 J, and the panel shows 141.26 J.
Enter mass in kilograms and height in meters. The result is in joules. After you switch the header to US units, mass is in pounds, height is in feet, energy is in ft·lb, and the weight mg is in lbf. The calculator converts back to kilograms and meters before it multiplies by 9.81. A comma and a period are the same decimal separator.
Because height stands to the first power in the formula, not to the square. Twice the height gives twice the energy. A mass of 8 kg at 3.6 m has 282.53 J, not four times as much. Kinetic energy, where speed is squared, is on a separate page.
No. The height h is the difference from the level you choose: a floor, a bench, the bottom of a slope, or another zero in the problem. Sea level does not enter the formula. The same height difference gives the same change in energy, whatever the elevation above the sea.
The calculator always multiplies by 9.81 m/s². That school value sits close to standard gravity gn = 9.80665 m/s², adopted by the 3rd General Conference on Weights and Measures in 1901. For 8 kg and 1.8 m the difference between those two constants is 0.048 J. The calculator does not ask for local g, latitude, or lunar gravity.
Ep = m·g·h depends on height at constant g. Ek = ½mv² depends on speed and lives on the kinetic-energy page. The point-mass potential −GMm/r depends on distance from the center of a body and is a different model. Near the surface the difference of that potential is approximately m·g·h, but this form does not compute G, M, or a radius.
A negative mass is rejected. Zero mass or zero height gives 0 J, because there is no height difference or no mass. A negative height lies below the chosen zero and gives a negative energy. Both fields need a number before the panel appears.
The panel reports the energy, the same value in joules and watt-hours, the weight mg, the height you entered, the mass you entered, the energy at double height, and the constant g. For 8 kg at 1.8 m the weight is 78.48 N, and 141.26 J is 0.03924 Wh. The chart draws Ep(h) at constant mass, from one quarter of the height to twice that height, when the mass is greater than zero and the height is not zero. Fill this example enters the example numbers and refreshes the panel and the chart. The fields start empty.
When a body rises at constant speed, the lifting force is close to the weight mg, and the work along the height h is close to m·g·h. For 8 kg the weight is 78.48 N, and 78.48 N times 1.8 m gives the same product, 141.264 J. The work page takes a force and a distance, not a mass and a height, so it does not check that equality by itself.
No. The result is the change in potential energy between two levels at a constant g = 9.81 m/s². Friction and air resistance change kinetic energy and heat, and the calculator does not subtract them. At a height of many kilometers a constant g is no longer a close approximation, but the number on the panel is still the product m·9.81·h.
Multiply mass by g = 9.81 m/s² and by height. For 8 kg at 1.8 m: 8·9.81·1.8 = 141.26 J.
141.26 J at g = 9.81 m/s². At double height 3.6 m the result is 282.53 J.
Not in this form. g is fixed at 9.81 m/s² as near Earth’s surface. A separate field for another body is not part of this page.
Not with this field layout. You enter mass and height, and the result is Ep plus weight mg. The rearranged forms h = Ep/(mg) and m = Ep/(gh) are not separate modes on this page.
mgh describes position relative to a reference level in uniform g. ½mv² describes center-of-mass motion. This calculator only finds the gravitational potential term.
The definition, the unit, the work of a lift, and standard gravity follow physics and metrology sources. This page does not invent publication identifiers.
Page updated November 3, 2026.