Physics · Classical Mechanics · Dynamics & Forces
Potential Energy Calculator
Calculates gravitational potential energy stored in an object based on its mass, gravitational acceleration, and height above a reference point.
Calculator
Formula
PE is the gravitational potential energy in joules (J). m is the mass of the object in kilograms (kg). g is the gravitational acceleration in meters per second squared (m/s²); on Earth's surface this is approximately 9.81 m/s². h is the height of the object above the chosen reference point in meters (m). The product of these three quantities gives the energy stored due to the object's position in a gravitational field.
Source: Halliday, Resnick & Krane — Physics, 5th Edition, Chapter 8: Conservation of Energy.
How it works
Gravitational potential energy is the energy an object possesses by virtue of its position within a gravitational field. When work is done against gravity to lift an object — say, raising a boulder onto a ledge or pumping water to an elevated reservoir — that work is stored as potential energy. Should the object be released, this stored energy converts into kinetic energy as the object falls, a direct expression of the conservation of mechanical energy.
The governing formula is PE = mgh, where m is mass in kilograms, g is gravitational acceleration in m/s², and h is height in meters above an arbitrarily chosen reference point. On Earth's surface, g is approximately 9.81 m/s², though it varies slightly with latitude and altitude — at the poles g ≈ 9.83 m/s², at the equator g ≈ 9.78 m/s², and on the Moon g ≈ 1.62 m/s². The reference height (h = 0) can be chosen freely; only differences in potential energy have physical significance, so the absolute value depends on where you set the baseline.
Practical applications of this formula are vast. Structural engineers assess loads on elevated platforms and bridges. Mechanical engineers size counterweights and hydraulic systems. Renewable energy designers calculate the power potential of elevated water in pumped-storage hydropower plants. In sports science, coaches use PE calculations to analyze the biomechanics of jumping athletes. Even in everyday contexts — understanding why a book knocked off a tall shelf hits the floor harder than one dropped from a low table — the PE = mgh relationship provides an immediate, quantitative answer.
Worked example
Problem: A construction worker lifts a steel beam with a mass of 250 kg to a height of 15 m above the ground using a crane. How much gravitational potential energy does the beam store at that height? Assume standard Earth gravity of 9.81 m/s².
Step 1 — Identify the variables:
m = 250 kg
g = 9.81 m/s²
h = 15 m
Step 2 — Apply the formula:
PE = mgh = 250 × 9.81 × 15
Step 3 — Calculate:
PE = 250 × 9.81 = 2,452.5 N (this intermediate result is the weight of the beam)
PE = 2,452.5 × 15 = 36,787.5 J (approximately 36.79 kJ)
Interpretation: The steel beam stores roughly 36.79 kilojoules of gravitational potential energy at 15 m. If the crane cable were to fail and the beam fell freely, all of this energy would convert to kinetic energy by the time the beam reached the ground — reinforcing why safety margins in lifting operations are so critical.
Limitations & notes
The formula PE = mgh assumes a uniform gravitational field, which is an excellent approximation near Earth's surface but breaks down at very large altitudes or for objects spanning significant fractions of a planetary radius. For orbital mechanics and satellite trajectories, the full inverse-square gravitational potential energy formula PE = −GMm/r must be used instead. Additionally, this calculator treats the object as a point mass; for extended, deformable bodies, the center of mass height must be used, and rotational potential energy components may need to be accounted for separately. The reference height h = 0 is arbitrary — only changes in PE are physically meaningful, so results should always be interpreted as energy differences relative to your chosen baseline. Finally, air resistance and other non-conservative forces are not incorporated here; in real systems these dissipate mechanical energy as heat, so the full PE does not necessarily convert entirely to kinetic energy during a fall.
Frequently asked questions
What is gravitational potential energy?
Gravitational potential energy is the energy stored in an object due to its position in a gravitational field. It represents the work done against gravity to move the object to that position, and it can be released as kinetic energy if the object is allowed to fall freely.
What units does the potential energy calculator use?
The calculator outputs energy in joules (J), the SI unit of energy. Inputs require mass in kilograms (kg), gravitational acceleration in m/s², and height in meters (m). If you work in different units, convert them first — for example, 1 pound ≈ 0.4536 kg and 1 foot ≈ 0.3048 m.
Can I use this calculator for the Moon or other planets?
Yes. Simply enter the appropriate gravitational acceleration for the body you are analyzing. For the Moon, use g ≈ 1.62 m/s²; for Mars, g ≈ 3.72 m/s²; for Jupiter's surface, g ≈ 24.79 m/s². The formula PE = mgh applies to any uniform gravitational field.
Why does the choice of reference height (h = 0) not matter?
Only differences in potential energy are physically observable. Whether you set the ground floor, the basement, or sea level as your reference, the change in PE between two heights remains the same. The reference point cancels out in any energy-conservation equation, so you are free to choose whichever level makes the problem simplest.
What is the difference between potential energy and kinetic energy?
Potential energy is stored energy associated with an object's position or configuration — gravitational PE depends on height, elastic PE on deformation, and so on. Kinetic energy (KE = ½mv²) is the energy of motion. In a closed system with no friction or air resistance, the total mechanical energy (PE + KE) is conserved: as an object falls, PE decreases while KE increases by an equal amount.
Last updated: 2025-01-15 · Formula verified against primary sources.