A 70 kg person on a 30 m high platform has 70 × 9.80665 × 30 ≈ 20.6 kJ.
Why your number may differ
Using 9.8 or 9.81 for g changes the last digits. This formula works near the Earth’s surface, where g is about constant. For very large heights, gravity gets weaker.
Frequently asked questions
What is the formula for potential energy?
Gravitational potential energy = mass × g × height. With mass in kilograms, g in m/s² and height in metres, the answer is in joules.
What value of g should I use?
Use 9.80665 m/s² for standard gravity, or 9.8 or 9.81 for school work. It varies slightly across the Earth.
Why does height need a reference?
Potential energy is measured from a chosen level, usually the ground. A negative height below that level gives negative energy.