Gravitational potential energy is the energy an object stores by being lifted: mass multiplied by gravity multiplied by height. A book on a high shelf has more than the same book on the floor, and the difference is exactly the work done lifting it there. The stored energy is not a substance inside the book; it belongs to the arrangement of book and Earth, and it is released the moment the book is allowed to fall, converting steadily into kinetic energy on the way down. Height is measured from whatever level you choose as zero, which unsettles beginners until they realise only changes in height ever matter. Choose the floor, the table or sea level; every calculation of change comes out the same.
Height is only one vault. A stretched spring stores elastic potential energy, half the spring constant times the square of the extension, released when the spring is let go: catapults, trampolines and clockwork all spend it. Chemical potential energy sits in the bonds of fuel and food and batteries, released by reactions rather than by falling. A roller coaster is a tour of the first two vaults: the lift hill banks gravitational energy slowly, and the ride spends it and re-banks it, hill by hill, minus a friction tax at every stage. Hydroelectric stations run the same trade at landscape scale, banking water uphill when power is cheap and letting it fall through turbines when power is dear. The potential energy calculator on this site handles the gravitational form; the spring form has its own calculator alongside.
Energy methods often solve in two lines what force methods grind through in ten. Ask how fast a pendulum bob moves at the bottom of its swing and forces demand a page of changing angles, while energy asks only how far the bob dropped: the lost potential energy is the gained kinetic energy, and the speed follows at once. The trick works whenever the path is complicated but the height change is simple, which is most of the interesting cases: slides, swings, roller coasters, water flowing downhill. Potential energy is the quantity that lets you ignore the journey and compare the endpoints. That is not a shortcut around physics; it is physics, discovered by noticing that gravity's accounts balance exactly, whatever route the falling takes.
Gravitational potential energy is stored by lifting a mass against gravity. Enter mass, gravity and height.
Open the calculator