Primary formula
PE = m x g x h; spring PE = 1/2 x k x x^2.
Physics calculator
Calculate gravitational potential energy or ideal spring potential energy, with rearranged height mode for gravitational cases.
Physics calculator
Enter values, select units and calculate locally. Results use SI internally and show rounded display values.
Mode
Find gravitational potential energy from mass, gravity and height.
PE = m x g x h; spring PE = 1/2 x k x x^2.
Gravity is constant. Spring mode assumes Hooke's-law behavior. Mass and spring constant must be greater than zero.
Physics Phase 1 converts compatible inputs into SI units before calculating. Decimal.js is used for arithmetic where practical; trigonometric angle factors are rounded for display.
Read labelled inputs, selected units and calculation mode from the calculator card.
Convert compatible values to SI base or derived units without calling external services.
Apply the selected deterministic mechanics formula and validate against NaN, Infinity and invalid divisors.
Display the result, supporting unit rows, formula steps, warnings and dynamic visual below the input card.
Use this calculator when energy is stored by height in a gravity field or by a compressed or stretched linear spring.
The calculator is deterministic and runs from manual inputs only. It is a physics formula tool, so it should not be confused with a unit converter that only changes labels after a value is already known.
PE = m x g x h; spring PE = 1/2 x k x x^2.
The calculator converts supported units into SI base or derived units for the actual calculation, then formats the result in the selected display unit.
Use the examples below to check expected order of operations and unit handling before applying the tool to your own values.
Length, time, mass, speed, force, energy and power units reuse the central NexaCalc conversion registry. Acceleration and spring-constant units use the same SI-first convention for mechanics formulas.
The displayed conversion rows are supporting context. They do not change the physical assumptions of the selected formula.
Most errors come from mixing physical quantities that sound similar in everyday language or choosing a unit that belongs to a different dimension.
This page is intended for educational and planning calculations, not professional engineering certification.
This calculator uses idealized physics formulas and the input values you provide. Real systems may require additional effects such as friction, drag, rotation, deformation, losses or measurement uncertainty.
Potential Energy Calculator uses PE = m x g x h; spring PE = 1/2 x k x x^2. The result is calculated from the values and units entered in the form.
Potential Energy Calculator uses PE = m x g x h; spring PE = 1/2 x k x x^2. The result is calculated from the values and units entered in the form.
Use this calculator when energy is stored by height in a gravity field or by a compressed or stretched linear spring. Gravity is constant.
Potential Energy Calculator allows signed results only where the physics quantity can carry direction or reference-sign meaning. Divisors such as time, mass and gravity are validated before calculation.
Use this calculator when energy is stored by height in a gravity field or by a compressed or stretched linear spring. Gravity is constant.
Use this calculator when energy is stored by height in a gravity field or by a compressed or stretched linear spring. Gravity is constant.
Use this calculator when energy is stored by height in a gravity field or by a compressed or stretched linear spring. Gravity is constant.
Potential Energy Calculator uses PE = m x g x h; spring PE = 1/2 x k x x^2. The result is calculated from the values and units entered in the form.
Use this calculator when energy is stored by height in a gravity field or by a compressed or stretched linear spring. Gravity is constant.
Potential Energy Calculator is formula-based. Use the related calculator when the question changes physical quantity, and use Conversion tools only when the value is already known.
Physics Phase 1 references verified for SI units and mechanics formulas on July 21, 2026.
This calculator provides mathematical results from the values, conventions and methods you enter. Verify important academic, engineering or professional work independently.