Calculators
Ohm's law calculator API
Solve Ohm's law (V = I·R, P = V·I) given any two of voltage, current, and resistance — returns all four quantities including power dissipation. Deterministic EE arithmetic LLMs get wrong. Answers 'what current flows through 4 ohms at 12V','what power does this draw','find resistance from V and I'.
Price$0.01per request
MethodPOST
Route/v1/calc/eng-ohms-law
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcengineeringelectricalohms-lawvoltagecurrentresistancepower
API URL
Integration docshttps://x402.hexl.dev/v1/calc/eng-ohms-lawExample request
{
"voltage": 12,
"resistance": 4
}Example response
{
"voltageV": 12,
"currentA": 3,
"resistanceOhm": 4,
"powerW": 36,
"formula": "V = I * R, P = V * I"
}Input schema
{
"type": "object",
"required": [],
"properties": {
"voltage": {
"type": "number",
"description": "volts (V)",
"examples": [
12
]
},
"current": {
"type": "number",
"description": "amperes (A)",
"examples": [
3
]
},
"resistance": {
"type": "number",
"description": "ohms (Ω)",
"examples": [
4
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}