Ohm's Law Calculator
Enter any two of voltage, current, resistance and power to get the other two, with unit prefixes, the formulas used and a series and parallel resistor panel.
Enter Any Two Values
Fill exactly two of the four boxes and leave the others empty. The other two are calculated. Values are magnitudes (DC, or AC RMS for a resistive load).
Result
Enter any two of V, I, R and P
Series & Parallel Resistors (up to 5)
Leave unused rows empty. The equivalent resistance can be copied into the R box above.
Disclaimer: This calculator is for learning and preliminary estimates only. It assumes ideal resistive behaviour. Results for real designs, mains wiring and safety-critical equipment must be checked by a qualified engineer or electrician against the governing code and component ratings.
About the Ohm’s Law Calculator
Ohm’s law links three basic electrical quantities: voltage (V, in volts), current (I, in amperes) and resistance (R, in ohms). Add electrical power (P, in watts) and you have the four values that describe most simple resistive circuits. If you know any two of them, the other two follow. This calculator does that for every pair, accepts milli, kilo and mega prefixes so you can type values the way they are printed on components, and shows which formulas it used.
A second panel works out the equivalent resistance of up to five resistors wired in series and in parallel, which is often the step before the main calculation.
The Formulas
- Ohm’s law: V = I × R, so I = V ÷ R and R = V ÷ I.
- Power: P = V × I.
- Power from current and resistance: P = I² × R.
- Power from voltage and resistance: P = V² ÷ R.
The calculator picks the right route for the pair you entered. For example, with V and P known, current is I = P ÷ V and resistance is R = V² ÷ P. With R and P known, voltage is V = √(P × R) and current is I = √(P ÷ R).
Series and parallel
- Series: Rtotal = R1 + R2 + R3 + … The same current flows through all of them.
- Parallel: 1 ÷ Rtotal = 1 ÷ R1 + 1 ÷ R2 + 1 ÷ R3 + … The same voltage appears across each, and the total is always lower than the smallest resistor.
Worked Example
A 470 Ω resistor sits across a 12 V supply.
- Current: I = 12 ÷ 470 = 0.02553 A, which is 25.53 mA.
- Power: P = V × I = 12 × 0.02553 = 0.3064 W (306.4 mW). Check: V² ÷ R = 144 ÷ 470 = 0.3064 W.
That is more than a common quarter-watt resistor is rated for, so a part with a higher rating would be needed in practice. Parts are normally chosen with a comfortable margin above the calculated power.
A second case: an LED needs 20 mA and drops about 2 V, fed from 5 V. The resistor must drop the remaining 3 V, so R = 3 ÷ 0.02 = 150 Ω and it dissipates 3 × 0.02 = 0.06 W.
Series and parallel: with 100 Ω, 220 Ω and 470 Ω resistors, the series total is 790 Ω. In parallel, 1 ÷ (1/100 + 1/220 + 1/470) = 59.98 Ω, lower than the smallest value, as expected.
Second Scenario Table
Each row starts from a different pair of known values.
| Known pair | Entered | V | I | R | P |
|---|---|---|---|---|---|
| V and I | 230 V, 10 A | 230 V | 10 A | 23 Ω | 2300 W |
| V and R | 12 V, 470 Ω | 12 V | 0.02553 A | 470 Ω | 0.3064 W |
| V and P | 5 V, 0.5 W | 5 V | 0.1 A | 50 Ω | 0.5 W |
| I and R | 2 A, 6.8 Ω | 13.6 V | 2 A | 6.8 Ω | 27.2 W |
| I and P | 20 mA, 60 mW | 3 V | 0.02 A | 150 Ω | 0.06 W |
| R and P | 100 Ω, 0.25 W | 5 V | 0.05 A | 100 Ω | 0.25 W |
Common Mistakes
- Mixing milli and mega. A lowercase m is milli (a thousandth) and an uppercase M is mega (a million). Choosing the wrong prefix on a resistor value changes the answer by a factor of a billion.
- Forgetting to convert mA to A by hand. With the prefix selector this is automatic, but if you type 25 into the amps box with the base unit selected, it means 25 A, not 25 mA.
- Applying the law to the wrong voltage. Use the voltage across that component, not the supply voltage. In the LED example the resistor sees 3 V, not 5 V.
- Ignoring power rating. A resistor that gives the correct current can still overheat if its watt rating is below V² ÷ R.
- Using it for AC reactive loads. Motors, transformers and capacitors need impedance and power factor, not resistance alone. Treat the results as valid for resistive elements only.
Where You Would Use This
- Picking a current-limiting resistor and its wattage for an LED or small sensor circuit.
- Checking that a heater element or resistive load draws the current you expect from its voltage and power rating.
- Combining stock-value resistors in series or parallel to reach a value you do not have.
- Revising electronics basics, or checking homework answers for series and parallel circuits.
This tool is for learning and low-voltage bench work. Mains wiring and installation must follow your local regulations and be carried out by a qualified person.