How to use the ohms law calculator
- Enter any two known values: voltage (V), current (I), resistance (R) or power (P).
- Leave the two fields you want to calculate blank.
- The results update automatically as you type.
- Use the calculated values to size components or verify a circuit.
How the ohm law formulas work
Ohms law defines the relationship between voltage, current and resistance in an electrical circuit. The core formula is:
V = I × R
Power is derived by combining Ohms law with Joules law (P = V × I). By substituting variables, you get three equivalent power formulas:
P = V × IP = I² × RP = V² / R
For example, if a circuit has 12 volts and draws 2 amps, the resistance is R = V / I = 12 / 2 = 6 Ω. The power consumed is P = V × I = 12 × 2 = 24 W. This voltage current resistance calculator handles all six possible input pairs automatically.
Common value reference table
This table shows typical scenarios solved with the ohm law equations. Each row assumes exactly two inputs are known.
| Voltage (V) | Current (I) | Resistance (R) | Power (P) | Typical use |
|---|---|---|---|---|
| 5 V | 0.02 A | 250 Ω | 0.1 W | Standard LED |
| 12 V | 1 A | 12 Ω | 12 W | Automotive accessory |
| 120 V | 0.5 A | 240 Ω | 60 W | Incandescent bulb |
| 230 V | 8.7 A | 26.4 Ω | 2,000 W | Electric kettle |
| 9 V | 0.015 A | 600 Ω | 0.135 W | Transistor radio |
Practical uses for this power calculator watts tool
Engineers, hobbyists and electricians use these calculations daily. Here are common situations where this ohms law calculator saves time:
- Sizing resistors for LEDs: Subtract the LED forward voltage from the supply voltage, then divide by the desired current to find the required resistance.
- Checking wire gauge capacity: Calculate the current draw of a load to ensure the wire can handle it without overheating.
- Battery life estimation: Knowing the current draw lets you divide the battery capacity (in amp-hours) by the current to estimate runtime.
- Fuse selection: Determine the maximum expected current to choose a fuse that protects the circuit without nuisance blowing.
Common mistakes and edge cases
A frequent error is mixing units. Always convert milliamps to amps (divide by 1,000) and kilohms to ohms (multiply by 1,000) before entering values into the voltage current resistance calculator. Entering 20 mA as 20 instead of 0.02 will give results off by a factor of 1,000.
Another issue is providing contradictory inputs. If you enter V = 10, I = 2 and R = 3, those values violate Ohms law because 10 / 2 = 5, not 3. This tool requires exactly two known values to avoid ambiguity.
Zero resistance represents a short circuit. Mathematically, dividing voltage by zero resistance yields infinite current, which is physically impossible but indicates a fault condition. This calculator rejects zero for current and resistance when they are used as divisors.
Background on Georg Ohm
Georg Simon Ohm published his law in 1827 after experimenting with voltaic cells and wires of different lengths. He discovered that the current through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance. The unit of resistance, the ohm (Ω), was named in his honor.
Ohms law applies to ohmic materials where resistance stays constant regardless of voltage. Components like diodes, transistors and incandescent filaments are non-ohmic: their resistance changes with voltage or temperature. For those devices, the law gives an instantaneous snapshot rather than a fixed relationship.
Worked examples
Each result below was produced by the same code the tool runs, so you can check your own numbers against them.
| Example | Input | Result |
|---|---|---|
| LED resistor sizing | Voltage (V): 5; Current (I): 0.02 | Resistance (R): 250 Ω; Power (P): 0.1 W |
| Household appliance | Voltage (V): 120; Power (P): 1500 | Current (I): 12.5 A; Resistance (R): 9.6 Ω |
| Car battery load | Current (I): 10; Resistance (R): 1.2 | Voltage (V): 12 V; Power (P): 120 W |
| Known power and resistance | Resistance (R): 4; Power (P): 100 | Voltage (V): 20 V; Current (I): 5 A |
FAQ
What is Ohms law?
Ohms law states that voltage equals current multiplied by resistance (V = I x R). It is the foundational equation for analyzing DC electrical circuits.
How do I calculate watts from volts and amps?
Multiply voltage by current: P = V x I. For example, 120 volts at 2 amps produces 240 watts.
Can I use this ohms law calculator for AC circuits?
This tool works for DC circuits and purely resistive AC circuits. For AC circuits with capacitors or inductors, impedance replaces resistance and phase angles must be considered.
Why do I need to enter exactly two values?
The system has four variables linked by two independent equations. Two knowns uniquely determine the other two. One value leaves infinite solutions, while three may contradict each other.
What happens if I enter milliamps instead of amps?
Your results will be wrong by a factor of 1,000. Always convert to base units first: divide milliamps by 1,000 to get amps, and multiply kilohms by 1,000 to get ohms.
Is my circuit data sent to a server?
No. All calculations happen locally in your browser. Nothing is transmitted over the network.