Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Potential energy calculator

Find the gravitational potential energy of a raised object, or solve for its mass or height. Choose Earth, the Moon or another planet.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: How fast will it be going when it lands? Put the energy into the kinetic energy calculator.

What it does

Gravitational potential energy is the energy an object stores by being lifted against gravity. Lift a box onto a shelf and the work you do is stored as potential energy; let it fall and that energy turns into motion. This calculator finds PE from mass and height, or solves for either one. It uses standard Earth gravity by default, and you can switch to the Moon, another planet, or your own value of g.

How it's calculated

PE = m × g × h
m = PE ÷ (g × h)  ·  h = PE ÷ (m × g)

m is mass in kilograms, h is the height above your chosen reference level in meters, and g is the acceleration due to gravity. On Earth the calculator uses the standard value g = 9.80665 m/s2, which NIST lists as exact. Real gravity at Earth's surface varies by about half a percent from the equator to the poles. For other worlds it uses the surface gravity from the NASA Planetary Fact Sheet:

WorldSurface gravity (m/s2)Compared with Earth
Mercury3.70.38
Venus8.90.91
Earth9.8 (standard 9.80665)1
Moon1.60.16
Mars3.70.38
Jupiter23.12.36
Saturn9.00.92
Uranus8.70.89
Neptune11.01.12
Pluto0.70.07

Worked example

A 10 kg box is lifted onto a shelf 5 m up. PE = 10 × 9.80665 × 5 = 490.33 J. On the Moon the same lift stores only 10 × 1.6 × 5 = 80 J. Going the other way, 1,000 J of energy lifts that 10 kg box 1,000 ÷ (10 × 9.80665) = 10.20 m on Earth.

If the box falls from 5 m, all 490.33 J turns into kinetic energy (ignoring air resistance), so it lands at √(2 × 9.80665 × 5) = 9.90 m/s.

Getting a realistic number

  • Pick the reference level and stick with it. Only changes in PE matter. Measuring from the floor or from the table top gives different PE values but the same difference between two heights.
  • Negative heights are fine. An object below your reference level has negative potential energy.
  • mgh is for heights near the surface. For rockets and satellites, gravity weakens with distance, so use the gravity calculator and the full −GMm/r form instead.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 10 kg raised 10 m on Earth: 980.665 J ✓
  • 10 kg raised 5 m on the Moon: 80 J ✓
  • 1,000 J lifts 10 kg by 10.1972 m ✓
  • Custom g of 9.81: 2 kg at 3 m is 58.86 J ✓
  • Below the reference level (−2 m) gives negative PE ✓
  • A mass of zero is refused ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking cookies, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What is the formula for potential energy?

Gravitational potential energy near a planet's surface is PE = mgh: mass × gravity × height. With m in kg, g in m/s² and h in m, the answer is in joules.

What value of g should I use?

9.80665 m/s² is standard gravity, an exact defined value. Many textbooks round it to 9.8 or 9.81 m/s², which changes answers by under 0.1%.

Is potential energy the same as kinetic energy?

No, but they trade places. A falling object loses potential energy and gains the same amount of kinetic energy, if you ignore air resistance.

Can potential energy be negative?

Yes. If the object is below the level you chose as zero, h is negative and so is PE.

How much energy does it take to lift 1 kg by 1 meter?

9.80665 J on Earth. On the Moon it's about 1.6 J.

Related calculators