{"uid":"cap_6tHHoel9b-j8fMzy0KieT","slug":"electronics-calculators-ohm-s-law-power-9c6a586f","name":"Electronics Calculators – Ohm's Law & Power","description":"Ohm's law and power: give any two of voltage, current, resistance and power and get all four, with engineering units.","url":"https://electronics-calc.x402tookit.com/ohms-law?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"power":{"type":"number","description":"Watts"},"current":{"type":"number","description":"Amps"},"voltage":{"type":"number","description":"Volts"},"resistance":{"type":"number","description":"Ohms"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"powerW":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"currentA":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"voltageV":{"type":["null","number"]},"formatted":{"type":["null","object"],"properties":{"power":{"type":["null","string"]},"current":{"type":["null","string"]},"voltage":{"type":["null","string"]},"resistance":{"type":["null","string"]}}},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"resistanceOhm":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JVYn8FLt4WBc190p1Vu5_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given any two of voltage, current, resistance, and power, calculates all four values with engineering-unit formatting.","exampleAgentPrompt":"I have a 220-ohm resistor with 5 volts across it — can you use Ohm's law to find the current flowing through it and the power it's dissipating?","exampleUseCases":[{"title":"Power dissipation check for resistor","prompt":"I'm putting a 470-ohm resistor in a 9V circuit — how much current will flow and how many watts will it dissipate? I need to know if a quarter-watt resistor will handle it."},{"title":"Find resistance from voltage and power","prompt":"My LED driver circuit delivers 12 volts and I want it to draw exactly 0.5 watts — what resistance do I need, and what current will flow?"},{"title":"Verify current from known power and voltage","prompt":"A device is rated at 60 watts and runs on 120 volts. What current does it draw and what's its effective resistance? Give me the values in engineering units."}],"resultDescription":"Returns all four electrical quantities — voltage (V), current (A), resistance (Ω), and power (W) — computed from the two provided inputs, along with human-readable formatted strings using engineering units (e.g. '10 mA', '4.7 kΩ') and a summary string. May include a disclaimer about ideal/theoretical calculations.","failureModes":["Fewer than two query parameters provided — cannot solve the system with only one known","Conflicting or physically impossible values (e.g. negative resistance) may produce null outputs or error reasons","Zero-value inputs that cause division by zero are flagged in the reasons array","Missing required 'input' wrapper causes schema validation error"],"whenToPreferThis":"Choose this endpoint when you need to solve any Ohm's law or electrical power equation given exactly two of the four fundamental quantities (V, I, R, P). It is purpose-built for electronics calculations and returns all four values plus engineering-formatted strings in one call, making it ideal for circuit design checks, component selection, and educational explanations — without requiring a general-purpose math or code-execution engine.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T00:30:03.212Z","isFirstParty":false,"canonicalSlug":"electronics-calculators-ohm-s-law-power-9c6a586f"}