Potential Energy Calculator

Calculate gravitational potential energy using PE = mgh. Enter mass, height, and gravity to get energy in joules instantly.

Examples

Book on a shelf (2 kg at 1.5 m)

PE = 2 × 9.81 × 1.5 = 29.43 J

Mass
2 kg
Height
1.5 m
Gravity
9.81 m/s²
Potential Energy
29.43 J

Embed this calculator

Copy a free iframe snippet for articles, learning pages, forums, wikis, newsletters, and internal docs.

How It Works

Formula

PE=mghPE = m \cdot g \cdot h

Variables, symbols and units

PEPE

Gravitational potential energy(J)

mm

Mass(kg)

gg

Gravitational acceleration(m/s²)

hh

Height above the reference point(m)
Calculation method explained

Enter the mass in kilograms, the height in metres, and optionally adjust the gravitational acceleration (defaults to Earth's 9.81 m/s²). The calculator computes PE = mgh and returns the result in joules.

Gravitational potential energy is the work a uniform gravitational field would do on an object as it moved from the reference height to its current position. For small heights compared to a planet's radius, the field is approximately constant, so PE = m·g·h. The calculator multiplies your three inputs and returns the energy stored relative to the reference point you choose.

References and source material

Examples

Book on a shelf (2 kg at 1.5 m)2 kg · 1.5 m29.43 J

PE = 2 × 9.81 × 1.5 = 29.43 J

Mass
2 kg
Height
1.5 m
Gravity
9.81 m/s²
Potential Energy
29.43 J
Skydiver at altitude (80 kg at 4000 m)80 kg · 4,000 m3,139,200 J

PE = 80 × 9.81 × 4000 = 3,139,200 J

Mass
80 kg
Height
4,000 m
Gravity
9.81 m/s²
Potential Energy
3,139,200 J
Ball on the Moon (1 kg at 10 m)1 kg · 10 m16.2 J

PE = 1 × 1.62 × 10 = 16.2 J (lunar gravity)

Mass
1 kg
Height
10 m
Gravity
1.62 m/s²
Potential Energy
16.2 J

Frequently Asked Questions

What is gravitational potential energy?
Gravitational potential energy is the energy an object has due to its position in a gravitational field. It equals mass times gravitational acceleration times height: PE = mgh.
What units does potential energy use?
Potential energy is measured in joules (J) when mass is in kilograms (kg), gravity in m/s², and height in metres (m).
Why does the default gravity value show 9.81?
9.81 m/s² is the standard gravitational acceleration at Earth's surface. You can change it for other celestial bodies (e.g., 1.62 m/s² for the Moon, 3.71 m/s² for Mars).
Can potential energy be negative?
Yes, if the height is negative (below the reference point). The reference level is arbitrary — what matters physically is the change in potential energy.
How are kinetic and potential energy related?
In a conservative system, the total mechanical energy (KE + PE) is conserved. As an object falls, PE converts to KE. At the highest point, PE is maximum and KE is zero.

Related Calculators

All calculators