Calculators
Gravitational potential energy API
Compute gravitational potential energy (PE = m·g·h) using standard gravity 9.80665 m/s² (overridable). Answers 'potential energy of 10kg at 5m','how much energy to lift this','PE on the Moon with custom gravity'.
Price$0.01per request
MethodPOST
Route/v1/calc/eng-potential-energy
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcengineeringphysicspotential-energygravitymechanicsjoulesheight
API URL
Integration docshttps://x402.hexl.dev/v1/calc/eng-potential-energyExample request
{
"massKg": 10,
"heightM": 5
}Example response
{
"massKg": 10,
"heightM": 5,
"gravityMs2": 9.80665,
"potentialEnergyJ": 490.3325,
"potentialEnergyKJ": 0.490333,
"formula": "PE = m * g * h"
}Input schema
{
"type": "object",
"required": [
"massKg",
"heightM"
],
"properties": {
"massKg": {
"type": "number",
"description": "kilograms",
"examples": [
10
]
},
"heightM": {
"type": "number",
"description": "metres",
"examples": [
5
]
},
"gravity": {
"type": "number",
"description": "m/s² (default 9.80665)",
"examples": [
9.80665
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}