Ohm's Law Calculator
Enter any two values (voltage, current, resistance, or power) and get the other two instantly.
Voltage
Current
Resistance
Power
Enter any two values to solve.
Voltage
—
Current
—
Resistance
—
Power
—
How Ohm's Law works
The whole thing is one line: V = I × R. The voltage across a resistor equals the current through it times its resistance. Rearrange it for the other two: I = V / R and R = V / I. Enter any two values and the calculator solves for the rest.
Power matters as much as voltage and current. P = V × I, and since V = I × R you can also write it as I² × R or V² / R. Use whichever pair of values you already have. Every resistor turns that power into heat, so a part rated below it runs hot and eventually fails. Choose one rated for at least twice the calculated power.
This only works for plain resistors. Diodes, LEDs, and transistors don't have a fixed resistance, so V = I × R won't predict their current. It also breaks down at high frequencies, where the stray inductance and capacitance in the leads and PCB traces start to affect the current.
Practical Examples
- USB-powered current limiting: 5 V supply · 100 Ω resistor → I = 50 mA, P = 250 mW. A ½ W resistor covers the 2× derating margin.
- 12 V car accessory load: 12 V supply · 0.5 A draw → R = 24 Ω, P = 6 W. Use a 10 W or higher rated wirewound resistor.
- Pull-up resistor on a GPIO: 3.3 V logic · 10 kΩ pull-up → I = 0.33 mA, P = 1.1 mW. A ¼ W resistor has over 200× headroom.
FAQ
What is Ohm's Law?
Ohm's Law states that the voltage across a resistor is proportional to the current through it: V = I × R. Formulated by Georg Ohm in 1827, it is the foundational relationship for analysing DC resistive circuits. The same relationship gives power dissipation: P = V × I = I² × R = V² / R.
What is the difference between AC and DC resistance?
In a DC circuit, resistance (R) is the only opposition to current. In an AC circuit, inductors and capacitors also oppose current: this is called reactance (X). The combined opposition is impedance (Z), and Ohm's Law still holds in the form V = I × Z, but Z is a complex number. This calculator handles DC resistive circuits only.
Can I use this calculator for LED circuits?
Not directly. LEDs are non-linear: their effective resistance changes with current. The correct approach is to account for the LED's forward voltage drop (typically 1.8–3.5 V depending on colour) and calculate the series resistor from the remaining voltage. Use the LED Resistor Calculator for that.
What does power dissipation mean for component selection?
Every resistor converts electrical energy to heat. If the dissipated power exceeds the component's rating, it will overheat and fail. Standard through-hole resistors are rated ¼ W or ½ W. Always choose a resistor rated at least 2× the calculated power (standard derating practice) to ensure reliability and thermal safety.
Why does resistance change with temperature?
Most conductive materials have a positive temperature coefficient: resistance rises as the material heats up, because increased atomic vibration impedes electron flow. This is quantified in ppm/°C and matters in precision voltage references, oscillators, and sensor circuits. Metal-film resistors (50–100 ppm/°C) are significantly more stable than carbon-film (200–500 ppm/°C).
What is the practical limit of Ohm's Law?
Ohm's Law applies to linear, time-invariant resistive elements. It breaks down for non-linear devices (diodes, transistors, varistors), and at high frequencies where parasitic inductance and capacitance in component leads and PCB traces dominate. It also assumes steady-state conditions. During transients, capacitors and inductors draw current in ways a simple R cannot model.
Related Tools
Resistor Color Code Decoder
Decode 4-band, 5-band, and 6-band resistors. Reverse lookup: type a value, get the color bands.
↳ 4.7 kΩ · ±5% · Yellow Violet Red Gold
LED Resistor Calculator
Required resistor, nearest standard value, and power rating from supply voltage and LED specs. Color presets included.
↳ 5 V · Red LED (2 V, 20 mA) → 150 Ω, ⅛ W
Parallel & Series Resistor Calculator
Add up to 8 resistors in parallel or series. Shows equivalent resistance and nearest E24 standard value.
↳ 1 kΩ ∥ 1 kΩ ∥ 2.2 kΩ = 407 Ω → E24: 390 Ω