Ohm's Law Calculator (V = IR)
Fill in any two of voltage (V), current (I) and resistance (R). Leave the third blank and press calculate. Power is calculated too.
Ohm's law formulas
- V = I × R (voltage = current × resistance)
- I = V ÷ R
- R = V ÷ I
- Power: P = V × I = I²R = V² ÷ R (in watts)
Worked examples
Find current: a 12 V battery across a 4 Ω resistor. I = 12 ÷ 4 = 3 A, and P = 12 × 3 = 36 W.
Find resistance: 230 V and 2 A. R = 230 ÷ 2 = 115 Ω.
Find voltage: 0.5 A through 100 Ω. V = 0.5 × 100 = 50 V.
Ohm's law holds for ohmic conductors at constant temperature. Devices like diodes and filament bulbs do not follow it. Find more electrical formulas in the Formula Library of the full Calvo calculator.
The Ohm's law triangle
Draw a triangle with V on top and I and R at the bottom. Cover the quantity you want and read what is left: cover V and you see I × R, cover I and you see V over R, cover R and you see V over I. This is a simple way to remember all three forms of V = IR in an exam.
Which formula to use for power
| You know | Power formula |
|---|---|
| Voltage and current | P = V × I |
| Current and resistance | P = I² × R |
| Voltage and resistance | P = V² ÷ R |
This calculator shows the power for you after it finds the missing value, so you can check your hand working.
Use base units
The boxes expect volts, amps and ohms. Convert prefixes first: 20 mA = 0.02 A, 4.7 kΩ = 4700 Ω, and 500 mV = 0.5 V. A very common mistake is typing milliamps into the amps box and getting an answer that is 1000 times too large.
Worked examples
Resistor for an LED. A 5 V supply, an LED that drops 2 V and a wanted current of 20 mA. The resistor must drop 5 − 2 = 3 V. R = 3 ÷ 0.02 = 150 Ω. Its power is I²R = 0.0004 × 150 = 0.06 W, so a small quarter-watt resistor is enough.
Series circuit. Resistors of 100 Ω and 200 Ω in series on 12 V. Total resistance = 300 Ω, current = 12 ÷ 300 = 0.04 A (40 mA). The voltage across the 100 Ω resistor is 4 V and across the 200 Ω resistor is 8 V, which add up to 12 V.
Parallel circuit. 6 Ω and 3 Ω in parallel on 12 V. The equivalent resistance is (6 × 3) ÷ (6 + 3) = 2 Ω. The branch currents are 12 ÷ 6 = 2 A and 12 ÷ 3 = 4 A, so the total is 6 A, which matches 12 ÷ 2.
A heater. A 2200 W heater on a 220 V supply draws I = P ÷ V = 10 A. Its resistance is R = V ÷ I = 22 Ω.
Energy, not just power
Power is how fast energy is used. Energy in kilowatt-hours is power in kilowatts multiplied by hours. A 1000 W heater running for 2 hours uses 1 kW × 2 h = 2 kWh, and that is the figure your electricity bill is based on.
When Ohm's law does not apply
A filament bulb gets hotter as current flows, and its resistance rises, so V and I are not in a straight-line relationship. Diodes, LEDs and thermistors are also non-ohmic. In AC circuits with coils and capacitors, resistance is replaced by impedance. Use Ohm's law with these only as an approximation at one operating point.
To read the value of a resistor from its colour bands, use the resistor colour code calculator.
Safety note
This page does calculations only. Real circuits have component ratings, heat and wiring limits to respect. Mains voltage can kill, so work on mains wiring should be done by a qualified person.
FAQ
What is Ohm's law?
Ohm's law states that the current through a conductor is directly proportional to the voltage across it, so V = IR.
What unit is resistance measured in?
Resistance is measured in ohms (Ω), current in amperes (A) and voltage in volts (V).
How do I calculate electrical power?
Use P = V × I, or equivalently P = I²R or P = V²/R. The result is in watts.
Does Ohm's law work for all components?
No. It applies to ohmic conductors such as metal wires and resistors at constant temperature.
Why does the calculator ask for exactly two values?
V = IR links three quantities. When you give two, the third is fixed. If you enter all three, or only one, there is nothing to solve, so it asks you to fix the entries.
What if I know the power but not the current?
Use I = P ÷ V if you know the voltage, or I = √(P ÷ R) if you know the resistance. Then enter the values in the calculator.
Why can't I find current when resistance is 0?
Dividing by zero is undefined. In real life a resistance of almost zero makes the current extremely large, which is why short circuits are dangerous.
What is the difference between watts and kilowatt-hours?
Watts measure power at an instant. Kilowatt-hours measure energy used over time, which is power in kilowatts multiplied by hours.