Ohm's Law Calculator
Calculate voltage, current, resistance, or power from any two known values.
Ohm's Law Formulas
Understanding Ohm's Law
Ohm's Law is the fundamental relationship between voltage, current, and resistance in electrical circuits. It states that the current through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance.
The Basic Formula
V = I × R
Where V is voltage in volts, I is current in amperes, and R is resistance in ohms.
Power Relationship
P = V × I
Power in watts equals voltage times current. Combined with Ohm's Law, this gives us 12 useful formulas.
Practical Examples
LED Current Limiting
5V supply, LED with 2V forward voltage, need 20mA current:
R = (5V - 2V) / 0.02A = 150Ω
Battery Runtime
Device draws 200mA from 3.7V battery, what's the power consumption?
P = 3.7V × 0.2A = 0.74W
Heater Power
12V heater with 6Ω resistance, what current and power?
I = 12V / 6Ω = 2A
P = 2A × 12V = 24W
Wire Sizing
Motor draws 5A, max wire resistance to limit drop to 0.5V:
R = 0.5V / 5A = 0.1Ω max
Resistor Wattage
1kΩ resistor with 10V across it, what wattage needed?
P = 10² / 1000 = 0.1W
Use 1/4W or larger
Sensor Reading
Thermistor shows 10kΩ, powered with 3.3V, what current?
I = 3.3V / 10000Ω = 330µA
Important Considerations
Linear Devices Only
Ohm's Law applies to resistive (linear) devices. Diodes, transistors, and other non-linear components don't follow V=IR directly.
Temperature Effects
Resistance changes with temperature. Metals increase resistance when heated; semiconductors typically decrease.
AC vs DC
For AC circuits, impedance (Z) replaces resistance and includes inductive and capacitive reactance.
Power Rating
Always select components rated for at least 2× the calculated power dissipation for reliable operation.
Formula Source and Checked Examples
The calculator uses Ohm's law, V = I × R, and the DC power relation P = V × I. Combining them gives the other forms shown in the formula box (P = I² × R, P = V² / R and their rearrangements). You pick the quantity to solve for and enter two of the other three. The calculator uses the first complete pair it finds in this order: the two values directly in the basic formula, then the pairs that involve power. The fourth quantity is reported alongside the result.
These relations are exact for a resistance that stays constant, with DC or with RMS values in a purely resistive AC circuit. They do not describe diodes, LEDs, motors or other parts whose voltage is not proportional to current, and they ignore the change of resistance with temperature. Inputs must be greater than zero.
The rows below were entered in the live calculator (local production build) and checked by hand calculation. Last run: November 20, 2026.
| Mode and inputs | Result | Also shown |
|---|---|---|
| Voltage: 100 mA, 120 Ω | 12.000 V | Power 1.200 W |
| Current: 5 V, 220 Ω | 22.727 mA | Power 113.636 mW |
| Power: 12 V, 2 A | 24.000 W | Resistance 6.000 Ω |
Hand check for row 2: I = 5 / 220 = 0.022727 A = 22.727 mA; P = 5² / 220 = 0.113636 W = 113.636 mW. Found an error? Email hello@yourpcb.com.