Gravitational Potential Energy Calculator
Calculate gravitational potential energy. PE = mgh
We use cookies for analytics and advertising. Learn more about our cookie policy
Last updated: 23 August 2026
Reviewed by Gavin Meiring, Lead research and primary author · Doctoral Candidate (Corporate Governance) · Research and drafting assisted by AI
Calculate gravitational potential energy. PE = mgh
The potential energy calculator computes the gravitational potential energy of an object at a height above a reference, or solves for any of mass, height, or energy given the other two. It is used by physics students learning energy conservation, by engineers sizing hydroelectric dams and pumped-storage facilities, by architects and structural engineers analysing falling hazards, by rock climbers estimating fall forces, and by anyone curious about how much energy is "stored" in an high object. Potential energy is one half of the mechanical-energy pair (the other being kinetic energy); together they account for energy stored and released during motion in a gravitational field.
The gravitational potential energy near Earth's surface is:
PE = m × g × h
Where:
Rearranged:
For a satellite or object far from Earth, the more general formula is:
PE = -G × M × m / r
where G is the gravitational constant, M is the Earth's mass, m is the satellite mass, and r is the distance from Earth's centre. The negative sign indicates PE is defined as zero at infinity and becomes increasingly negative as the object approaches Earth.
For an elastic spring, the potential energy is:
PE_spring = ½ × k × x²
where k is the spring constant (N/m) and x is the displacement from equilibrium.
Example 1, Hydroelectric dam
Water behind a 100 m dam, 1 kg:
PE = 1 × 9.81 × 100 = 981 J
A medium-sized dam holding 1 billion kg of water (≈1 million m³) stores 9.81 × 10¹¹ J = 272,500 kWh. With 90% turbine efficiency, this generates about 245,000 kWh of electricity.
Example 2, Skyscraper floor
A 0.145 kg baseball held at the top of a 200 m building:
PE = 0.145 × 9.81 × 200 = 284 J
Dropped, this converts to 284 J of kinetic energy at impact: v = √(2 × 9.81 × 200) = 62.6 m/s. Enough to be lethal.
Example 3, Rock climber fall
A 70 kg climber falls from a height of 5 m onto a ledge. PE = 70 × 9.81 × 5 = 3,433 J.
If the climber's rope stops them over 1 m, average force ≈ 3,433 J / 1 m = 3,433 N (about 350 kg-force). This is why dynamic ropes and belay devices are designed to extend the deceleration distance, even small extensions dramatically reduce peak force.
Example 4, Pumped-storage hydroelectricity
Water pumped uphill during low demand, released through turbines during peak demand. A 200 m head with 1 million m³ of water stores 1.96 × 10¹² J ≈ 545,000 kWh. This is the largest grid-scale energy storage technology available.
In a frictionless system, PE + KE is constant. So if an object falls from height h₁ to h₂:
mgh₁ + ½mv₁² = mgh₂ + ½mv₂²
This lets you compute final velocity from initial height (or vice versa):
v₂ = √(v₁² + 2g(h₁ − h₂))
For a drop from rest (v₁ = 0):
v = √(2gh)
This is the same equation that appears in the free-fall calculator, derived from energy conservation rather than kinematics.
Because only changes in PE are physically meaningful (not absolute PE), the choice of "h = 0" is arbitrary. Common conventions:
Different choices yield different absolute PE values but identical ΔPE for any process.
Using the wrong reference height. "h" must be measured from a consistent reference for any given problem. Mixing reference points within one calculation gives incorrect results.
Forgetting g depends on location. g ≈ 9.81 m/s² on Earth, 1.62 m/s² on the Moon, 3.71 m/s² on Mars. PE is location-dependent.
Confusing PE with force. PE is energy (J); force is (N). PE / distance = force, so a large PE released over a short distance produces large force.
What is potential energy? Potential energy is stored energy by virtue of position or configuration. Gravitational PE depends on height in a gravitational field; elastic PE depends on the deformation of a spring; chemical PE depends on molecular bonds; electrical PE depends on charge configuration. The term was coined by William Rankine in the 19th century.
Can potential energy be negative? Yes, depending on the choice of reference. For gravitational PE near Earth's surface (PE = mgh), the choice of "zero" is arbitrary and PE is positive above the reference. For orbital mechanics (PE = -GMm/r), zero is defined at infinity, and PE is increasingly negative as you approach a massive body. Bound orbits have negative total energy.
What is the difference between PE and force? PE is energy stored in a system (J). Force is the rate at which PE changes with position (N = J/m). The two are related by F = -dPE/dx. For gravity, F = mg (constant); for springs, F = kx.
Does PE depend on the path taken? No, PE depends only on position (for conservative forces like gravity). Moving up by 10 m vertically gives the same PE change as moving up 10 m along a winding path. This is the definition of a conservative force.
What is elastic potential energy? Energy stored in a stretched or compressed spring: PE = ½kx². The factor ½ comes from the linear increase of force with displacement (work = average force × distance). Springs, rubber bands, and archery bows all store elastic PE this way.
Why do waterfalls freeze from the bottom up? A subtle effect: water falling loses PE to KE, then to heat at impact. The heat melts surrounding ice, but most of the heat goes into the falling water itself, freezing as a spray on the way down. In cold weather this can build up an ice cone from below.
Q: can the Potential Energy Calculator be used for professional or commercial purposes? A: yes, the Potential Energy Calculator The Potential Energy Calculator provides mathematically correct results that are suitable for professional, commercial, and educational use. the Potential Energy Calculator formulas used are well-established and validated against reference standards.
Q: How often are the formulas behind the Potential Energy Calculator updated? When standards change (e.g., new physical constants, revised tax brackets, updated standards), the Potential Energy Calculator is updated to reflect the current authoritative source. Each calculator's references section, including the Potential Energy Calculator, lists the specific sources used.
Each field on the Potential Energy Calculator form plays a distinct part in the calculation.
The errors that come up most often with the Potential Energy Calculator are easy to spot once you know them:
Use the Potential Energy Calculator whenever you need a quick, reliable answer that fits the tool's scope. Common situations for the Potential Energy Calculator include homework and study, on-the-job quick checks, sanity-checking a more complex calculation, or exploring a scenario for personal interest. If the Potential Energy Calculator answer will be used for a decision that has legal, medical, or financial consequences, treat the result as a starting point and verify it with a qualified professional.
The calculation behind the Potential Energy Calculator follows the standard form for this kind of problem: The gravitational potential energy near Earth's surface is: PE = m × g × h** Where: PE** is potential energy (joules, J) m** is mass (kg) g** is gravitational acceleration (9.81 m/s² near Earth's surface) h** is height above an arbitrary re The Potential Energy Calculator applies that relationship in the order the algebra prescribes, converting inputs to consistent units first where the formula needs them.
When the Potential Energy Calculator result does not match expectation, run through the usual suspects in order:
A typical Potential Energy Calculator run takes reasonable inputs, produces a sensible answer, and returns it in a single click. Example: Example 1, Hydroelectric dam Water behind a 100 m dam, 1 kg: PE = 1 × 9.81 × 100 = 981 J A medium-sized dam holding 1 billion kg of water (≈1 million m³) stores 9.81 × 10¹¹ J = 272,500 kWh. With 90% turbine efficiency, this generates about 245,000 kWh of electricity. Example 2, Skyscraper floor A 0.145 kg baseball held at the top of a 200 m building: PE = 0.145 × 9.81 × 200 = 284 J