What this calculator does
Calculate gravitational potential energy near a planet’s surface.
How it works
The calculator evaluates gravitational potential energy PE = mass m × gravity g × height h. Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
3-
?mass=Mass (kg)Number · Required · Default: 10
-
?gravity=Gravitational acceleration (m/s²)Number · Required · Default: 9.80665
-
?height=Height change (m)Number · Required · Default: 5
Outputs
2-
energyPotential energy (J)Number · Primary output
-
weightWeight force (N)Number
Inputs and results
The inputs are Mass (kg), Gravitational acceleration (m/s²), Height change (m). Results include Potential energy (J), Weight force (N).