Ohm’s law is the most used tool in electronics: it tells you which resistor to use, how much current a circuit draws, or how much voltage drops across a component. Here it is explained with examples and a calculator.
In short
- V = I × R: voltage equals current times resistance.
- With two of the three values, you can always calculate the third.
- Power (P = V × I) tells you how hot a component gets.
Calculator
Enter two values and leave the one you want to calculate empty.
- Result
- —
- Power
- —
The three quantities

| Quantity | Symbol | Unit | Water analogy |
|---|---|---|---|
| Voltage | V | volt (V) | The pressure that pushes |
| Current | I | ampere (A) | The flow rate |
| Resistance | R | ohm (Ω) | The narrowing of the pipe |
More pressure means more flow; a narrower pipe means less. That is exactly what Ohm’s law says.
The formula and its three forms

V = I × R (voltage)
I = V / R (current)
R = V / I (resistance)
A handy way to remember them is the V-I-R triangle: V on top, I and R on the bottom. Cover the quantity you’re looking for and what’s left is the operation (V over I → divide; I next to R → multiply).
Watch your units
This is the number one source of mistakes. Convert everything to base units before calculating:
- 20 mA = 0.02 A
- 4.7 kΩ = 4,700 Ω
- 3.3 V stays as it is
Power: how hot it gets
Every component that carries current dissipates energy as heat:
P = V × I = I² × R = V² / R
The standard resistors in starter kits are rated at 1/4 W (0.25 W). If your calculation comes out higher, you need a 1/2 W or 1 W resistor, or it will burn out. As a rule of thumb, leave a 2x safety margin.
Practical examples
How much current flows through a 1 kΩ resistor at 5 V?
I = 5 / 1,000 = 0.005 A = 5 mA. Power: 5 × 0.005 = 25 mW, far below the 1/4 W limit.
What resistor do I need for an LED?
With a 5 V supply, a red LED of about 2 V and 20 mA: the resistor has to “absorb” 3 V, so R = 3 / 0.02 = 150 Ω. We cover it in depth in the LED resistor calculator.

How much current does an Arduino pin draw with a 220 Ω load?
I = 5 / 220 ≈ 23 mA. That’s above the 20 mA per pin recommended for the ATmega328P, so you should go up to 330 Ω or use a transistor.
How much voltage drops across a 10 Ω resistor carrying 0.5 A?
V = 0.5 × 10 = 5 V, and it dissipates 0.5 × 5 = 2.5 W: you need a 5 W power resistor.
When it doesn’t hold (so easily)
Ohm’s law describes resistors very well, but not every component behaves the same way:
- LEDs and diodes: their voltage stays almost constant (the Vf) even when the current changes. That’s why they need a series resistor.
- Incandescent bulbs: their resistance rises sharply as they heat up.
- Motors: they draw much more current when starting than when running.
In those cases you apply Ohm’s law to the resistive part of the circuit, not to the component itself.
Common mistakes
- Mixing up mA and A: 20 mA is not 20 A. A slip like that gives results a thousand times too large.
- Forgetting about power: the ohm value can be right and the resistor can still burn out.
- Measuring resistance with the circuit powered: the multimeter needs the circuit unpowered.
- Ignoring tolerance: a 100 Ω resistor at 5% can measure anywhere between 95 and 105 Ω.



