Ohm's law links the voltage across a resistor, the current through it and its resistance. Combined with the power equation it lets you find all four quantities from any two — the most used calculation in electronics.
How to use this calculator
- Type any two of voltage, current, resistance and power.
- Pick the unit next to each value (mA, kΩ…).
- The other two values are calculated at once. Clear a box to change which values are known.
Formula
V = I × R, P = V × I = I² × R = V² / RWorked example
A 220 Ω resistor on a 12 V supply: I = 12 / 220 = 54.5 mA and P = 12 × 0.0545 = 0.65 W — so a ¼ W resistor would overheat; use a 1 W part.
Frequently asked questions
Does Ohm's law work for LEDs and diodes?
Not directly. Diodes are non-linear, so their resistance changes with current. Use the LED resistor calculator, which subtracts the forward voltage first.
What power rating should my resistor have?
Pick a standard rating at least twice the calculated power (for example 1 W for 0.4–0.5 W) so the part runs cool and lasts.
Results are for learning and preliminary design. Check critical work against the relevant codes and a qualified engineer.