Potential Energy Calculator

Calculate gravitational potential energy in joules from mass, height, and gravitational acceleration.

Last updated:

Was this calculator helpful?

★ ★ ★ ★ ★
Embed this calculator

Calculation Examples

Calculation Case Result
Mass 10 kg, height 2 m on Earth PE = 196.1 J
Mass 0.5 kg, height 10 m on Earth PE = 49.0 J
Mass 100 kg, height 5 m on the Moon (g = 1.62 m/s squared) PE = 810 J
Mihail Doncenco
Mihail Doncenco Site Creator & Calculator Expert

Founder and developer of CalcMate. Builds and maintains every calculator on this site, focusing on formula accuracy and clear, practical results.

Getting Started with the Potential Energy Calculator

Enter the object's mass in kilograms and its vertical height in meters above your chosen reference point. The reference point (zero level) is your choice, but it must stay the same through the whole problem. The ground, a table surface, or the lowest point of the system are all valid.

The calculator starts with Earth's standard gravity, \(g = 9.80665\ \text{m/s}^2\), and you can change it for other bodies: the Moon (\(g \approx 1.62\ \text{m/s}^2\)), Mars (\(g \approx 3.71\ \text{m/s}^2\)), or any custom value. Click Calculate and the result appears in joules, the SI unit of energy.

Understanding the Gravitational Potential Energy Formula

Gravitational potential energy (GPE) is the energy an object has because of its position in a gravitational field. Near a planet's surface, where the field is nearly uniform, it is: \[E_p = m \cdot g \cdot h\] where \(m\) is mass in kilograms, \(g\) is gravitational acceleration in \(\text{m/s}^2\), and \(h\) is height in meters above the reference level. The result is in joules, since \(1\ \text{J} = 1\ \text{kg} \cdot \text{m}^2/\text{s}^2\).

GPE is directly proportional to each variable: doubling the mass, the height, or \(g\) doubles the stored energy. This holds while the field stays nearly uniform, which is true for heights small compared with the planet's radius. On Earth at 10 km altitude, \(g\) is about 0.3% lower than at the surface, and \(mgh\) differs from the exact change in potential energy by about 0.16%.

Far from a planet, where the field is no longer uniform, the exact formula is: \[U = -G\frac{m_1 m_2}{r}\] where \(G \approx 6.674 \times 10^{-11}\ \text{N}\cdot\text{m}^2/\text{kg}^2\) is the gravitational constant and \(r\) is the distance between the centers of the two bodies. The \(mgh\) formula is the linear approximation of this expression near a surface.

Gravitational potential energy diagram showing mass at height h above reference level with mgh formula

Useful Tips 💡

  • Define your reference level before you measure height and keep it fixed: changing it mid-calculation gives inconsistent results. Only differences in potential energy have physical meaning.
  • Potential energy is a scalar with no direction, so angle and orientation do not matter. Only the vertical height counts.

📋Steps to Calculate

  1. Enter the object mass in kilograms.

  2. Enter the vertical height in meters above your chosen reference level.

  3. Adjust gravitational acceleration if needed (default is Earth standard at 9.80665 m/s squared).

  4. Click Calculate to see the gravitational potential energy in joules.

Mistakes to Avoid ⚠️

  1. Entering weight in newtons instead of mass in kilograms: this inflates the result by a factor of about 9.8.
  2. Mixing units, for example entering height in feet with the metric value of g, which gives a result off by a factor of about 3.28.
  3. Assuming height is always measured from the ground, which causes errors in multi-step problems where the reference level shifts.
  4. Using mgh for satellite orbits or interplanetary distances, where the field is not uniform and the universal formula applies.

Practical Uses of the Potential Energy Calculator📊

  1. Estimate stored energy in a hydroelectric reservoir: 1 million cubic meters of water (about 10^9 kg) held 100 m above the turbines stores roughly 981 GJ, or about 272 MWh, before conversion losses.

  2. Follow energy conservation on a roller coaster, where potential energy at the top converts to kinetic energy lower down.

  3. Compare effort: a 70 kg person climbing 10 m (about three floors) gains roughly 6.9 kJ of potential energy, which is only about 1.6 kcal, so most food energy goes to heat, not height. Next, try the Kinetic Energy Calculator to see the energy at the bottom of a fall, the Work Calculator to link energy to work done, and the Free Fall Calculator to see how fast it falls.

Questions and Answers

Can gravitational potential energy be negative?

Yes, it is negative whenever the object sits below the reference level. If you set \(h = 0\) at a table top, an object on the floor 0.75 m below has \(h = -0.75\ \text{m}\), so its GPE is negative. This only means energy must be added to bring it back to the zero level. In the universal formula \(U = -Gm_1m_2/r\), GPE is always negative because the zero level sits at infinite separation.

How do you calculate potential energy in joules?

Multiply mass in kilograms by gravitational acceleration in \(\text{m/s}^2\) by height in meters. For a 5 kg object at 3 m on Earth, \(E_p = 5 \times 9.80665 \times 3 \approx 147.1\ \text{J}\). Using SI units throughout gives joules with no conversion factor. If your data is in other units, convert first: 500 g becomes 0.5 kg and 150 cm becomes 1.5 m.

How does mass affect stored gravitational potential energy?

GPE is directly proportional to mass: doubling the mass at the same height doubles the stored energy. A 1,000 kg car at 10 m stores ten times the GPE of a 100 kg person at the same height. This is why energy storage with water works at scale: lifting 10^9 kg of water (1 million cubic meters) through 100 m stores \(E_p = 10^9 \times 9.80665 \times 100 \approx 9.8 \times 10^{11}\ \text{J}\), about 272 MWh.

Is potential energy path-independent?

Yes, gravitational potential energy depends only on the object's current height above the reference level, not on the path it took to get there. An object carried up a winding staircase to 10 m has the same GPE as one lifted straight up 10 m, for equal mass and gravity. This path independence defines a conservative force: the work done by gravity depends only on the start and end positions.

What gravitational constant does the calculator use?

The calculator defaults to standard gravity \(g_n = 9.80665\ \text{m/s}^2\), the conventional value adopted by the CGPM in 1901 and used as the reference in SI documentation. You can switch to the Moon (\(g \approx 1.62\ \text{m/s}^2\)), Mars (\(g \approx 3.71\ \text{m/s}^2\)), Jupiter (\(g \approx 24.8\ \text{m/s}^2\)), or any custom value. Local gravity on Earth ranges from about \(9.780\ \text{m/s}^2\) at the equator to \(9.832\ \text{m/s}^2\) at the poles, because of the planet's shape and rotation.

What is the formula for gravitational potential energy?

Near a planet's surface, gravitational potential energy is \[E_p = m \cdot g \cdot h\] where \(m\) is mass in kilograms, \(g\) is gravitational acceleration in \(\text{m/s}^2\), and \(h\) is height in meters above the reference level. The result is in joules. The formula comes from the work needed to lift the object at constant speed: \(W = F \cdot d = mg \cdot h\). At 10 km above Earth, it differs from the exact change in potential energy by about 0.16%.

When should I use mgh versus the universal gravitation formula?

Use \(mgh\) when the object stays close to the planet's surface and the field is nearly constant. The relative error of \(mgh\) is about \(h/R\), where \(R\) is the planet's radius, so on Earth (\(R \approx 6371\ \text{km}\)) it stays below 1% up to about 60 km. For satellite orbits, interplanetary trajectories, or any case where distance from the planet's center changes a lot, use \(U = -Gm_1m_2/r\), because \(g\) falls with the square of distance. At a height of 400 km, the typical altitude of the International Space Station, \(g\) is already about 12% lower than at the surface, so \(mgh\) is a poor fit there.
Disclaimer: This calculator is designed to provide helpful estimates for informational purposes. While we strive for accuracy, financial (or medical) results can vary based on local laws and individual circumstances. We recommend consulting with a professional advisor for critical decisions.