Ohm's Law Calculator for Voltage, Current, Resistance
Calculate voltage, current, resistance, and power in electrical circuits using Ohm's Law (V = I × R) and the power formula (P = V × I).
Enter any two of the four values — voltage, current, resistance, or power — and the calculator solves for the other two instantly.
Ohm's Law Calculator for Voltage, Current, Resistance
Calculate voltage, current, resistance, and power in electrical circuits using Ohm's Law (V = I × R) and the power formula (P = V × I).
Enter exactly two values and leave the other two blank.
About the Ohm's Law calculator
Ohm's Law is the single most important relationship in electronics. Formulated by German physicist Georg Simon Ohm in 1827, it states that the current flowing through a conductor between two points is directly proportional to the voltage across them and inversely proportional to the resistance. In its familiar form, V = I × R, where V is voltage in volts, I is current in amperes, and R is resistance in ohms (Ω). This compact equation lets you find any one quantity when you know the other two, which is why it underpins virtually every circuit calculation engineers, technicians, and hobbyists perform.
The Ohm's Law calculator extends the core relationship with the electrical power formula, P = V × I, measured in watts. Combining the two relationships gives a family of equivalent expressions: P = I² × R and P = V² / R. Together, the four quantities — voltage, current, resistance, and power — form a closed system in which knowing any two lets you derive the remaining two. Enter exactly two values and the Ohm's Law calculator picks the correct formulas automatically, so you never have to remember which rearrangement to use.
The math behind each case is straightforward. If you know voltage and current, resistance is V ÷ I and power is V × I. If you know voltage and resistance, current is V ÷ R and power is V² ÷ R. If you know current and resistance, voltage is I × R and power is I² × R. When power is one of your known values, the calculator uses square roots where needed — for example, with resistance and power known, current is √(P ÷ R) and voltage is √(P × R). Every result is computed in double-precision arithmetic and rounded for readability.
Understanding what the numbers mean is as useful as computing them. Voltage is the electrical pressure pushing charge through a circuit; current is the rate of charge flow; resistance opposes that flow and converts electrical energy into heat; and power is the rate at which energy is delivered or dissipated. A resistor's power rating, an LED's series resistor, a battery's runtime, and a motor's load can all be analysed with these four quantities. Picking a resistor with a high enough wattage rating, for instance, depends directly on the P = I² × R you calculate here.
Typical uses include sizing current-limiting resistors for LEDs, checking that a resistor won't overheat, estimating how much current a load draws from a battery or power supply, designing voltage dividers, and troubleshooting circuits where a measured value doesn't match expectations. Note that Ohm's Law applies to ohmic (linear) components at constant temperature; semiconductors, lamps, and other non-linear devices only follow it approximately, so treat the results as ideal-case estimates for real components.
Ohm's Law examples
Click any example button under the calculator to load these real-world circuits.
| Known values | Calculated | Scenario |
|---|---|---|
| V = 5 V, I = 0.02 A | R = 250 Ω, P = 0.1 W | A typical LED circuit. With 5 volts and 20 mA known, the series resistance is 250 Ω and the LED dissipates 0.1 watts. |
| V = 12 V, R = 100 Ω | I = 0.12 A, P = 1.44 W | Resistor power rating. A 100 Ω resistor on 12 V draws 0.12 A and must handle 1.44 W, so choose at least a 2 W resistor. |
| V = 9 V, P = 15 W | I = 1.667 A, R = 5.4 Ω | Battery load. A 9 V source delivering 15 W supplies about 1.667 A into an effective load resistance of 5.4 Ω. |
How to use the Ohm's Law calculator
- Identify the two electrical quantities you already know from your circuit or component datasheet.
- Type those two values into their matching fields: Voltage (V), Current (I), Resistance (R), or Power (P).
- Leave the other two fields blank — the calculator needs exactly two inputs to solve the circuit.
- Click Calculate to see all four values, including the two it derived using Ohm's Law and the power formula.
- Click Reset to clear the fields, or load an example to see a worked circuit instantly.
Ohm's Law FAQ
What is Ohm's Law?
Ohm's Law states that voltage equals current times resistance: V = I × R. It describes how voltage, current, and resistance relate in an electrical circuit, and it lets you calculate any one of the three when you know the other two.
How do I calculate power from Ohm's Law?
Electrical power is P = V × I. Combined with Ohm's Law you can also write it as P = I² × R or P = V² / R, so you can compute power from any two of voltage, current, and resistance.
How many values do I need to enter?
Exactly two. With any two of voltage, current, resistance, or power, the calculator can determine the remaining two. Entering only one or all four will not produce a valid result.
What units does the Ohm's Law calculator use?
Volts (V) for voltage, amperes (A) for current, ohms (Ω) for resistance, and watts (W) for power — the standard SI units. Convert milliamps to amps (divide by 1000) and kilohms to ohms (multiply by 1000) before entering values.
Why does my real component not match the calculation?
Ohm's Law applies to ideal, ohmic components at a constant temperature. LEDs, diodes, incandescent bulbs, and other non-linear devices change resistance with voltage or heat, so real measurements can differ from the ideal values shown here.
How do I size a resistor's power rating?
Calculate the power the resistor dissipates with P = I² × R or P = V² / R, then pick a resistor rated comfortably above that — commonly at least double. For 1.44 W, a 2 W or higher resistor is a safe choice.