Ohm's Law Calculator
Solve any DC circuit from just two values — or work with AC phasors, magnitude and angle included.
Calculate
Enter exactly two values and leave the rest blank. Fields accept plain numbers or formulas like 240/2.
Enter two phasors — a magnitude and a phase angle in degrees for each. Complex power and impedance alone cannot solve the circuit (the voltage angle stays free), so also enter current or voltage in that case.
| Voltage (V) | 12.0000 V |
| Current (I) | 3.0000 A |
| Resistance (R) | 4.0000 Ω |
| Power (P) | 36.0000 W |
| Impedance (Z) | — Ω ∠ —° |
| Current (I) | — A ∠ —° |
| Voltage (V) | — V ∠ —° |
| Complex power (S) | — VA ∠ —° |
| Real power (P) | — W |
| Reactive power (Q) | — VAR |
| Power factor | — |
Working
- I = V ÷ R = 12 ÷ 4 = 3 A
- P = V × I = 12 × 3 = 36 W
How to Use the Ohm’s Law Calculator
Pick DC for batteries, USB power, LED circuits and anything with a steady voltage. Pick AC phasors for mains circuits with inductors or capacitors, where voltage and current are sine waves with a phase difference. In both modes the rule is the same: enter exactly two values, leave the rest blank, and every missing value appears with its working shown. Results update live as values change, so nudging a resistor from 100 Ω to 220 Ω immediately shows the new current and power.
The DC panel takes voltage, current, resistance and power. Any pair works — voltage and current, voltage and resistance, current and power, and so on. The AC panel takes four phasors — impedance, current, voltage and complex power — each with a magnitude and a phase angle in degrees. Any two phasors solve the circuit, with one exception: complex power and impedance alone leave the voltage angle undetermined, so the calculator says so plainly instead of guessing.
Ohm’s Law Formulas Explained
Georg Ohm published the law in 1827 after measuring how current through a wire changes with the applied voltage. The result is the most-used equation in electronics: V = I × R. Voltage equals current times resistance. Rearranged, it gives current from voltage and resistance (I = V ÷ R) and resistance from voltage and current (R = V ÷ I). Power — the rate at which the resistor turns electrical energy into heat — follows from P = V × I, and combining the two equations gives two more forms: P = V² ÷ R and P = I² × R.
The triangle mnemonic helps in exams: cover the letter to find. Cover V and I × R remains; cover I and V ÷ R remains; cover R and V ÷ I remains. For power, remember that doubling the voltage quadruples the power in a fixed resistor (P = V² ÷ R) — a common source of blown components when a 12 V part meets a 24 V supply.
Worked Examples
Example 1 — Current through a resistor
A 12 V battery connects across a 4 Ω resistor. What current flows, and how much power is dissipated?
Step 1: I = V ÷ R = 12 ÷ 4 = 3 A.
Step 2: P = V × I = 12 × 3 = 36 W. The resistor turns 36 joules per second into heat — it needs a power rating comfortably above 36 W.
Example 2 — A 60 W bulb on 120 V mains
A bulb is rated 60 W at 120 V. What current does it draw, and what is the hot resistance of its filament?
Step 1: I = P ÷ V = 60 ÷ 120 = 0.5 A.
Step 2: R = V ÷ I = 120 ÷ 0.5 = 240 Ω. The same 60 W bulb rated for 230 V would have R = 230² ÷ 60 = 882 Ω — the two bulbs are not interchangeable.
Example 3 — AC phasors
A coil carries 2 A ∠ 0° through an impedance of 10 Ω ∠ 30°. Find the voltage and the complex power.
Step 1: V = I × Z: magnitudes multiply, angles add. |V| = 2 × 10 = 20 V; θV = 0° + 30° = 30°. So V = 20 V ∠ 30°.
Step 2: S = V × I*: |S| = 20 × 2 = 40 VA; θS = 30° − 0° = 30°. So S = 40 VA ∠ 30°.
Step 3: Real power P = |S| × cos θS = 40 × cos 30° = 34.64 W; reactive power Q = |S| × sin θS = 40 × 0.5 = 20 VAR; power factor = cos 30° = 0.866.
Common Circuit Values
| Circuit | Voltage | Resistance | Current | Power |
|---|---|---|---|---|
| AA battery, 10 Ω load | 1.5 V | 10 Ω | 150 mA | 0.225 W |
| 9 V battery, 100 Ω resistor | 9 V | 100 Ω | 90 mA | 0.81 W |
| Car battery, headlamp | 12 V | 2.4 Ω | 5 A | 60 W |
| USB charger, phone | 5 V | 2.5 Ω | 2 A | 10 W |
| LED with series resistor | 9 V | 350 Ω | 20 mA | 0.18 W |
| 120 V, 60 W bulb | 120 V | 240 Ω | 0.5 A | 60 W |
| 230 V, 2 kW kettle | 230 V | 26.5 Ω | 8.7 A | 2,000 W |
| 1.5 kW heater, 120 V | 120 V | 9.6 Ω | 12.5 A | 1,500 W |
Every row follows from the same two equations. The kettle row is worth checking: 230² ÷ 26.5 ≈ 2,000 W, and 2,000 ÷ 230 ≈ 8.7 A — a standard 10 A circuit has little headroom left, which is why kettles and heaters get their own circuit.
AC Ohm’s Law: Phasors in Plain Terms
In an AC circuit the voltage and current are sine waves, and in a circuit with inductance or capacitance the two waves do not peak at the same time. A phasor captures a sine wave as two numbers: its magnitude (RMS value) and its phase angle. Ohm’s law still holds, but multiplication becomes "multiply the magnitudes, add the angles" and division becomes "divide the magnitudes, subtract the angles". So V = I × Z means |V| = |I| × |Z| and θV = θI + θZ.
Complex power S = V × I* (voltage times the conjugate of current) packs three useful numbers into one: its magnitude |S| = |V| × |I| in volt-amps, its real part P = |S| × cos θS in watts — the power that does work — and its imaginary part Q = |S| × sin θS in VAR — the power that oscillates between source and load. The power factor is |cos θS|: 1 for a pure resistor, 0 for a pure inductor or capacitor. A motor with PF 0.8 draws 25% more current than its real power alone would suggest, which is why power factor matters to utilities and to cable sizing.
Common Mistakes
- Using peak voltage where RMS belongs. Mains "120 V" and "230 V" are RMS values. The peak is √2 times higher (170 V and 325 V). Power formulas use RMS; mixing peak and RMS gives answers off by a factor of two.
- Forgetting that power goes as voltage squared. Doubling the voltage across a fixed resistor quadruples the power. A 12 V bulb on 24 V does not glow twice as bright — it burns out, dissipating four times its rated power.
- Assuming resistance is constant. A filament lamp’s resistance rises sharply as it heats: the cold resistance can be a tenth of the hot value. Inrush current at switch-on is correspondingly higher.
- Treating AC current like DC current. In AC circuits, V = I × R only holds for the resistive part. With reactance present, impedance and phase angles are required — that is what the AC mode is for.
- Ignoring the power rating. A resistor that dissipates 36 W needs a rating well above 36 W (a 50 W part, with airflow). A 1/4 W resistor in the same spot overheats and fails — sometimes by catching fire.
- Entering three values that disagree. V = 12, I = 1 and R = 100 cannot all be true at once (12 ÷ 1 = 12, not 100). The calculator asks for exactly two values so contradictions cannot hide in the inputs.
One last check that catches many errors: units. Milliamps must be converted to amps (20 mA = 0.02 A) and kilohms to ohms (4.7 kΩ = 4,700 Ω) before applying the formulas. A result that is off by a factor of 1,000 almost always traces back to a missed prefix.
My saved numbers reuse them in any calculator
Save a number once — like your rent or hourly rate — then just type its name instead of the number, in any calculator here. You can also type formulas like 5000 * 1.1 right into any box.
Saved only in this browser — nothing is sent to us.
Frequently Asked Questions
What is Ohm's law?
Ohm's law states that the voltage across a resistor equals the current through it times its resistance: V = I × R. It applies to resistive DC circuits and, in phasor form, to AC circuits with impedance Z in place of R. It was published by Georg Ohm in 1827 and remains the starting point for almost all circuit analysis.
How do I calculate current from voltage and resistance?
Divide voltage by resistance: I = V ÷ R. A 12 V battery across a 4 Ω resistor gives I = 12 ÷ 4 = 3 A. This calculator also returns the power: P = V × I = 12 × 3 = 36 W.
What are the four power formulas?
Power in a resistor can be written four ways: P = V × I, P = V² ÷ R, P = I² × R, and P = V² ÷ R is the same as the second. Any two of voltage, current, resistance and power determine the other two — that is why this calculator asks for exactly two values.
Why does the calculator ask for exactly two values?
Two values are exactly enough to fix a DC circuit: one value leaves two unknowns, and three values over-determine it (and may contradict each other, for example a voltage and current that imply a negative resistance). With exactly two, every result follows from a single formula with no guesswork.
What is the AC phasor mode for?
In AC circuits, voltage and current are sine waves with a phase difference, so plain numbers are not enough. A phasor records a magnitude and a phase angle: V = I × Z multiplies magnitudes and adds angles, and complex power S = V × I* has magnitude |V| × |I| and angle θV − θI. The real part of S is the power that does work; the imaginary part is reactive power.
Why can complex power and impedance not solve the circuit alone?
S and Z together fix the magnitudes (|V| = √(|S| × |Z|)) and the power angle, but the absolute voltage angle stays free — rotating the whole circuit in phase leaves S and Z unchanged. One more phasor, current or voltage, pins the angle down.
What is the difference between resistance and impedance?
Resistance (R, in ohms) opposes current in a resistor and dissipates power as heat. Impedance (Z, in ohms) is the AC generalization: it includes resistance plus reactance from inductors and capacitors, and it carries a phase angle. A pure resistor has impedance equal to its resistance at angle 0°; a pure capacitor or inductor has impedance at −90° or +90°.
Does Ohm’s law work for all components?
No. It holds for ohmic materials — ordinary resistors, where current is proportional to voltage. It does not describe diodes, transistors, filament lamps (whose resistance rises as they heat up) or other non-linear devices. For those, the V–I curve must be measured or taken from a datasheet.