{"uid":"cap_1jG-_6neN3FihOLvco6u3","slug":"saylor-innovations-ohm-s-law-calculator-714954c3","name":"Saylor Innovations Ohm's Law Calculator","description":"Solve volts, amps, ohms and watts from any two known values, with milliamps, kilohms and a recommended resistor wattage rating with a 2x margin","url":"https://saylorinnovations.com/api/electronics/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":["v","r"],"properties":{"r":{"type":"string","description":"Ohms"},"v":{"type":"string","description":"Volts"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["volts","amps","watts"],"properties":{"amps":{"type":"number","description":"Current in amperes"},"note":{"type":"string","description":"Caveat or context for reading the result"},"ohms":{"type":["number","null"],"description":"Resistance in ohms"},"volts":{"type":"number","description":"Voltage in volts"},"watts":{"type":"number","description":"Power in watts"},"source":{"type":"string","description":"Data source the values come from"},"kilohms":{"type":["number","null"],"description":"Resistance in kilohms"},"milliamps":{"type":"number","description":"Current in milliamperes"},"milliwatts":{"type":["number","null"],"description":"Power in milliwatts"},"common_power_rating_to_use":{"type":"string","description":"Common power rating to use"},"minimum_resistor_wattage_rating":{"type":"number","description":"Minimum resistor wattage rating"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rCRhULs80nijnHIo6bTA0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates voltage, current, resistance, and power from any two known electrical values, returning results with milliamps, kilohms, and a recommended resistor wattage rating with 2x safety margin","exampleAgentPrompt":"I have a 12V circuit with a 470 ohm resistor — can you calculate the current, power, and tell me what wattage resistor I should use with a safety margin?","exampleUseCases":[{"title":"LED resistor wattage check","prompt":"I'm building an LED circuit running at 5 volts with a 220 ohm current-limiting resistor. What's the power dissipation and what wattage resistor should I safely use?"},{"title":"Automotive circuit current draw","prompt":"My car accessory runs on 12 volts and is connected through a 2.2 kilohm resistor. What's the current draw in milliamps and how much power is being used?"},{"title":"Bench power supply load calculation","prompt":"I'm running a 9 volt bench supply through a 1000 ohm load resistor — what are the amps, watts, and minimum resistor wattage rating I need?"}],"resultDescription":"Returns a JSON object with volts, amps, milliamps, ohms, kilohms, watts, milliwatts, a minimum resistor wattage rating (raw value), a recommended common power rating string (e.g. '0.5W') representing a 2x safety margin, and optional note and source fields for context.","failureModes":["Missing required query parameters (v for volts, r for ohms) results in an error response","Non-numeric or invalid string values for v or r may cause computation errors","Zero-valued resistance could trigger divide-by-zero handling","Payment failure (402) if x402 USDC payment is not completed before request"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable Ohm's Law computation that goes beyond a basic formula — specifically when you want milliamp and kilohm conversions alongside a practical, safety-margined resistor wattage recommendation in a single call. Ideal for electronics hobbyists, makers, or agents building circuit-assistance tools where recommending a safe component rating matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:36.195Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-ohm-s-law-calculator-714954c3"}