# Ohm's law calculator > How much current flows, and how much power is used? Give any two of voltage, current, resistance and power to get the other two. Find voltage, current, resistance or power from any two of them with Ohm's law. Type values in mV, mA, kΩ or W and see the formulas used. - Page: https://how.box/ohms-law/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/ohms-law/?k={k}&v={v}&i={i}&r={r}&p={p}&vu={vu}&iu={iu}&ru={ru}&pu={pu} - `k` (voltage_resistance, voltage_current, current_resistance, voltage_power, current_power or resistance_power): The two known quantities (voltage_resistance, voltage_current, current_resistance, voltage_power, current_power, resistance_power). Example: `voltage_resistance`. - `v` (number 0.000001 to 1e6): Voltage in volts. Example: `12`. - `i` (number 1e-9 to 100000): Current in amperes. Example: `0.02`. - `r` (number 0.000001 to 1e12): Resistance in ohms. Example: `470`. - `p` (number 1e-9 to 1e9): Power in watts. Example: `0.25`. - `vu` (mv or v): Display unit of the voltage. Example: `v`. - `iu` (ma or a): Display unit of the current. Example: `ma`. - `ru` (milliohm, ohm, kohm or megohm): Display unit of the resistance. Example: `kohm`. - `pu` (mw, w or kw): Display unit of the power. Example: `w`. Example answer: https://how.box/ohms-law/?k=voltage_resistance&v=12&i=0.02&r=470&p=0.25&vu=v&iu=ma&ru=kohm&pu=w A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `ohms_law_calculate`: Ohm's law and power for a resistive DC load: V = I·R and P = V·I = I²·R = V²/R. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ohms_law_calculate","arguments":{"known":"voltage_resistance","voltage":12,"current":0.02,"resistance":470,"power":0.25,"voltage_unit":"v","current_unit":"ma","resistance_unit":"kohm","power_unit":"w"}}}` - GET: https://how.box/mcp/run/ohms_law_calculate?known=voltage_resistance&voltage=12¤t=0.02&resistance=470&power=0.25&voltage_unit=v¤t_unit=ma&resistance_unit=kohm&power_unit=w ## How it works Voltage pushes current through a resistance. Ohm's law says how they are tied together: double the voltage across the same resistor and twice the current flows. Power is how much energy the resistor turns into heat each second, and it grows with both voltage and current. The formulas are V = I × R and P = V × I, where V is the voltage in volts, I the current in amperes, R the resistance in ohms and P the power in watts. Together they give P = I² × R and P = V² ÷ R, so any two of the four fix the other two. For example, 12 V across a 470 Ω resistor drives I = 12 ÷ 470 = 25.5 mA and uses P = 12² ÷ 470 = 0.306 W, so a ¼ W resistor would run too hot. The units are defined in the SI Brochure of the BIPM. This holds for direct current through resistive parts. LEDs, diodes and motors do not have a fixed resistance, and alternating current through coils or capacitors needs impedance, not resistance. ## FAQ **What resistor wattage do I need?** Calculate the power and pick a resistor rated for at least twice that. A resistor using 0.31 W needs a ½ W part, not a ¼ W one. **Why does a short circuit draw so much current?** I = V ÷ R: as the resistance falls towards zero, the current rises until a fuse, the wire or the source gives up. **Can I use this for household mains?** For heaters, kettles and other resistive loads, yes: a 2 kW kettle at 230 V draws about 8.7 A. Motors and electronics draw a different current because of their power factor. **Does doubling the voltage double the power?** At a fixed resistance, power rises with the square of voltage. Doubling the voltage makes the power four times larger. **Can I enter zero resistance?** No. The calculation requires positive values. An ideal short circuit has zero resistance and no finite current at a nonzero voltage. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)