Calculateus

Gravitational Potential Energy Calculator

Calculate the gravitational potential energy of an object based on its mass, height, and local gravity.

Result

Gravitational Potential Energy
490.5 J

About the Gravitational PE Calculator

This calculator finds the gravitational potential energy stored in an object due to its height above a reference point, using the standard mgh relationship. Because gravitational acceleration is itself an adjustable input, it also works as a quick way to compare stored energy for the same object under Earth, Moon, or Mars gravity.

How It Works

You provide the object's mass, its height above whatever point you are measuring from, and the local gravitational acceleration, pre-filled at 9.81 m/s squared for Earth. The calculator multiplies the three values together directly and reports the result in joules, with no unit conversion or rounding beyond formatting to two decimal places.

PE = m x g x h, where m is mass in kg, g is gravitational acceleration in m/s^2, and h is height in meters.

Formula & Methodology

There is no hidden step: multiply mass by gravitational acceleration by height. The only real judgment call is choosing where h equals zero, since potential energy has meaning only relative to that chosen reference height, not as an absolute quantity.

Examples

Lifting an object on Earth

A 10 kg object raised 5 m with g = 9.81 m/s squared gives PE = 10 x 9.81 x 5 = 490.50 J.

The same lift on the Moon

Raising the same 10 kg object to the same 5 m height but with g = 1.62 m/s squared gives PE = 10 x 1.62 x 5 = 81.00 J, far less energy for an identical lift.

Advantages

  • Instantly compares stored energy across different gravity environments without redoing the multiplication by hand.
  • Accepts decimal mass and height values, suited to both lab-scale problems and simple textbook round numbers.
  • Reports the result directly in joules, the SI unit expected in most physics coursework.

Common Mistakes

  • Leaving the gravity field at Earth's 9.81 default when a problem actually specifies the Moon, Mars, or another body.
  • Mixing up height measured from the ground versus height measured from a table or platform, which changes the h value used.
  • Treating the computed PE as an absolute quantity rather than a value defined only relative to the chosen reference height.

Edge Cases to Watch For

  • Negative height is not blocked, so entering it produces a negative PE value, which is mathematically valid for a point below the reference but is easy to enter unintentionally.
  • Changing which point counts as h = 0 changes the reported PE number without changing any real physics, since only differences in PE between two heights carry physical meaning.
  • Swapping the gravity value to 1.62 m/s squared for the Moon or 3.71 m/s squared for Mars recalculates PE for the same mass and height, isolating how much of the stored energy comes from the strength of local gravity.

Common Use Cases

  • Physics students checking mgh homework problems or lab report calculations.
  • Educators building examples that compare energy storage across different gravitational fields.
  • Hobbyists estimating the energy involved in a falling or dropped object, such as in a simple drop-test setup.
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

Why is potential energy measured relative to a reference height?

Gravitational potential energy (PE = mgh) is always defined relative to some chosen zero-height reference point, since only differences in height (and therefore differences in PE) have physical meaning for most problems - choosing the ground, a table surface, or any other convenient reference as "h = 0" doesn't change the physics as long as it's applied consistently.

Conclusion

The mgh relationship is one of the simplest formulas in classical mechanics, and this calculator removes the arithmetic while making it fast to see how mass, height, and gravity each shape the result. Adjusting only the gravity field turns it into a quick way to compare the same scenario across different worlds.