Science & Engineering

Potential Energy Calculator (Gravitational & Elastic)

Calculate potential energy two ways: gravitational with mgh and elastic with one-half k x-squared. It has planet presets for g and reports the answer in six energy units.

How to use
  1. Choose gravitational or elastic mode.
  2. For gravitational, enter mass, height, and pick g.
  3. For elastic, enter the spring constant and displacement.
Try
Potential energy
490.5 J

10 kg × 9.81 m/s² × 5 m

Kilojoules
Kilocalories
Foot-pounds
For study and estimation. Verify against authoritative data before relying on a result.
Was this helpful?

How it's calculated

PE = m × g × h (elastic: PE = ½ × k × x²)

m = mass (kg), g = gravity (9.81 m/s² on Earth), h = height (m); k = spring constant (N/m), x = displacement (m). Result in joules.

Common questions

What is the formula for gravitational potential energy?

It is PE equals mass times gravity times height, or mgh. On Earth, g is about 9.81 m/s squared.

How is elastic potential energy different?

Elastic potential energy stored in a spring is one-half times the spring constant times displacement squared, written as half k x-squared.