Potential Energy Solver – Find Mass or Height from PE = mgh

Use this free Potential Energy Solver Calculator when you know the gravitational potential energy and need the missing mass or height. Rearranging PE = mgh gives m = PE ÷ (gh) and h = PE ÷ (mg) — just pick a mode and enter the values you know.

mass height (h) ground (PE = 0)

Formula

PE = mgh   rearranged as   m = PE / (g × h)   and   h = PE / (m × g)

On Earth g = 9.81 m/s². On the Moon g is only about 1.62 m/s², so the same object stores much less potential energy at the same height — you can change g in the tool to check.

How to use

Worked example

An object stores 490.5 J of potential energy at a height of 5 m on Earth. Mass = 490.5 ÷ (9.81 × 5) = 490.5 ÷ 49.05 = 10 kg. Checking the other way: a 10 kg object with 490.5 J sits at Height = 490.5 ÷ (10 × 9.81) = 490.5 ÷ 98.1 = 5 m.

FAQ

How much potential energy would the same object have on the Moon?
Much less, because g is smaller. A 10 kg object at 5 m on the Moon (g = 1.62 m/s²) stores PE = 10 × 1.62 × 5 = 81 J, compared with 490.5 J on Earth.

From where is the height measured?
Height is measured from the level you choose as PE = 0 — usually the ground or the lowest point the object can fall to. Only the change in height matters.

Can potential energy be negative?
It can be if the object is below your chosen zero level, but for everyday problems PE is measured from the ground and is zero or positive.