Potential Energy Calculator

Gravitational potential energy PE = mgh (solve for energy, mass or height) and elastic spring energy PE = ½kx², in joules, kJ, calories and more.

Measured from the level where you call PE zero. Negative if below it.
m/s²
Standard gravity 9.80665 m/s² (NIST).

Results

Gravitational potential energy (PE)
490.33
Mass (m)
10
Height (h)
5

How it’s calculated

Potential energy is energy stored because of position or shape. Near Earth’s surface, an object of mass m raised a height h above a chosen reference level stores gravitational potential energy mgh. A spring stretched or compressed by x from its relaxed length stores elastic energy ½kx².

Gravitational: PE = m · g · h (g = 9.80665 m/s²) Elastic (spring): PE = ½ · k · x²

Example: a 10 kg object held 5 m above the floor has PE = 10 × 9.80665 × 5 = 490.3 J. A spring with k = 200 N/m stretched 10 cm (0.1 m) stores ½ × 200 × 0.1² = 1.0 J.

The height is only meaningful relative to a reference level you choose; only changes in PE matter physically. The formula mgh assumes g is constant, which is accurate for heights much smaller than Earth’s radius.

Frequently asked questions

What is the unit of potential energy?

The joule (J): 1 J = 1 N·m = 1 kg·m²/s². This calculator also shows kJ, calories, Wh and BTU.

Where do I measure the height from?

From any reference level you like (floor, table, sea level). The energy is relative to that level, and a position below it gives negative PE.

Why is spring energy proportional to x²?

The force kx grows as the spring is stretched, so the work done is the area under a triangle on a force-distance graph: ½ · kx · x.

How is PE related to speed when something falls?

Ignoring drag, PE lost becomes kinetic energy: mgh = ½mv², so v = √(2gh). Use the free fall or kinetic energy calculators.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator