Potential Energy Calculator

Use the Potential Energy Calculator to compute gravitational PE = mgh or elastic PE = ½kx². Supports common units and shows the substituted formula.

836.1K usesUpdated · 2026-04-27Runs locally · zero upload

How to Use Potential Energy Calculator

The Potential Energy Calculator handles both gravitational and elastic energy in one tool. Select your calculation type and fill in the inputs.

Gravitational Potential Energy mode:

  1. Mass — Enter the object's mass (kg or g).
  2. Height — Enter the height above the reference point (m or cm).
  3. Gravitational Acceleration — Default 9.80665 m/s²; adjust for other planets.

Elastic Potential Energy mode:

  1. Spring Constant (k) — Enter the spring stiffness in N/m.
  2. Displacement (x) — Enter the compression or extension in metres.

The Potential Energy Calculator shows the result in Joules and displays the substituted formula so you can verify each step.

Formula & Theory — Potential Energy Calculator

The Potential Energy Calculator implements two fundamental energy equations from classical mechanics.

Gravitational Potential Energy

PE = m × g × h
Symbol Meaning
PE Gravitational potential energy (J)
m Mass (kg)
g Gravitational acceleration (m/s²)
h Height above reference level (m)

Gravitational PE depends linearly on both mass and height. Lifting an object twice as high doubles its stored energy. The Potential Energy Calculator lets you explore this relationship interactively.

Elastic Potential Energy

E = ½ × k × x²
Symbol Meaning
E Elastic potential energy (J)
k Spring constant / stiffness (N/m)
x Deformation — compression or extension (m)

Elastic PE follows a square law: doubling the deformation quadruples the stored energy. A stiffer spring (higher k) stores more energy for the same deformation. The Potential Energy Calculator makes this comparison effortless.

Use Cases for Potential Energy Calculator

The Potential Energy Calculator is useful in a broad range of educational and engineering scenarios:

  • Physics coursework — Solve problems on energy conservation, pendulums, and projectile launch height with the Potential Energy Calculator.
  • Mechanical engineering — Estimate the energy stored in compressed springs for mechanisms, shock absorbers, and actuators.
  • Civil & structural engineering — Calculate the gravitational potential energy of elevated water in reservoirs or materials on elevated platforms.
  • Renewable energy — Assess pumped-hydro storage capacity by computing the gravitational PE of a known water mass at a given elevation.
  • Robotics & product design — Size springs in return mechanisms and snap-fit assemblies using the elastic mode of the Potential Energy Calculator.

From classroom problems to professional estimations, the Potential Energy Calculator provides fast, formula-transparent results.

Frequently asked questions about Potential Energy Calculator

What types of potential energy does this calculator support?

The Potential Energy Calculator supports two modes: gravitational potential energy (PE = mgh) and elastic potential energy (E = ½kx²).

What is the default value for gravitational acceleration?

The Potential Energy Calculator defaults to g = 9.80665 m/s² (standard Earth gravity). You can change it for other planets or locations.

What units does the Potential Energy Calculator output?

The result is always given in Joules (J), the SI unit of energy.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.