Lift a book onto a shelf and you store energy in it: let it fall and that energy comes back as motion. This stored energy, which depends on position rather than speed, is called potential energy. The two kinds met most often are gravitational potential energy, held by anything raised above a reference level, and elastic potential energy, held by a stretched or compressed spring.
This potential energy calculator handles both. In gravitational mode it multiplies mass, gravitational acceleration and height (U = mgh), with presets for the Earth, the Moon and Mars or any value of g, and also tells you how fast the object would hit the ground if released, ignoring air. In spring mode it applies U = ½kx² from the spring constant and the deformation, gives the spring force from Hooke's law and, if you enter a mass, the speed at which the spring would launch it.
Every relationship can be reversed with Solve for: find the height that stores a given energy, the mass, the compression needed, or the stiffness of the spring. Results appear in joules, kilojoules, kilocalories and kilowatt-hours.
How to use this calculator
- Choose Gravitational or Spring.
- Gravitational: enter the mass, the height above your chosen zero level and the gravity (Earth, Moon, Mars or a custom g).
- Spring: enter the spring constant k in N/m and the stretch or compression x; optionally add the mass the spring pushes.
- Read the potential energy in joules and other units, the impact or launch speed and the force.
- Use Solve for to find the height, mass, compression or stiffness for a target energy in joules.
The formula
Near a planet's surface, with constant gravitational acceleration :
Only differences of potential energy matter, so is measured from any zero level you choose. Released from rest without air resistance, the object turns all of into kinetic energy, , so
which does not depend on the mass. For an ideal spring obeying Hooke's law :
Far from the surface, is no longer constant and the general expression is .
Worked example
A 2 kg ball on a 10 m balcony. = 196.133 J. Dropped, it would hit the ground at = 14 m/s. On the Moon the same ball at the same height stores only 32.4 J.
A hike. A 70 kg walker climbing 1,000 m gains 686.47 kJ of potential energy, about 164.1 kcal. The body burns several times more, since muscles are only about 20–25 % efficient.
Hydropower. One cubic metre of water (1,000 kg) falling 100 m releases 0.2724 kWh.
A spring. A spring with k = 200 N/m compressed by 10 cm stores ½ × 200 × 0.1² = 1 J; released, it launches a 50 g ball at 6.32 m/s.
Gravitational potential energy and the choice of zero
There is no absolute value of : only the change between two heights is physical. Measure from the floor and a book on a table has positive energy; measure from the ceiling and it is negative. Both give the same energy released when the book falls the same distance. This is why the calculator accepts negative heights. The formula assumes is constant, which holds to better than 1 % within about 30 km of the Earth's surface. For satellites and planets, use the general law of gravitation in the gravitational force calculator.
From potential to kinetic energy
Without friction, mechanical energy is conserved: what is lost in potential energy reappears as kinetic energy. A roller coaster at the top of its first hill, a pendulum at the end of its swing and a drawn bow are all full of potential energy that turns into speed. In practice, air drag and friction convert part of it into heat, so real impact speeds are lower than ; the free fall calculator can include air resistance.
Frequently asked questions
What is the formula for potential energy?
For gravity near a surface, U = m × g × h, with mass in kg, g in m/s² (9.81 on Earth) and height in metres, giving joules. For a spring, U = ½ × k × x², with k in N/m and x in metres.
Does potential energy depend on the path taken?
No. Gravity and ideal springs are conservative forces: the energy depends only on the start and end positions, not on whether you took the stairs or the lift.
How do I convert potential energy into speed?
If all the energy turns into motion, ½mv² = mgh, so v = √(2gh). From 10 m that is about 14 m/s whatever the mass. For a spring, v = √(2U/m).
Can potential energy be negative?
Yes, when the object is below the level chosen as zero. In the general law U = −GMm/r, gravitational potential energy is always negative, with zero set at infinite distance.
What g should I use?
The standard value 9.80665 m/s² is fine for most problems; actual gravity on Earth ranges from about 9.78 at the equator to 9.83 at the poles. The Moon is 1.62 m/s² and Mars 3.73 m/s².
Sources
- OpenStax University Physics Vol. 1 — 8.1 Potential Energy of a System
- OpenStax University Physics Vol. 1 — 8.3 Conservation of Energy
- NIST CODATA — Standard acceleration of gravity g₀ = 9.80665 m/s² (exact)
- NASA NSSDC — Moon fact sheet (surface gravity 1.62 m/s²)
- NASA NSSDC — Mars fact sheet (mean surface gravity 3.73 m/s²)
Last updated: