About the Ohm's Law Calculator
Choose voltage, current, resistance or power, enter the other two values from V, I and R, and the calculator shows all four together with power in watts. Hobbyists use it to size a resistor for an LED or check whether a resistor will overheat. It works in base units only (volts, amps, ohms), so convert mA and kΩ before you type.
How to use the Ohm's Law Calculator
- Under Solve for, click Voltage, Current, Resistance or Power. The matching input is grayed out.
- Enter the two known values in Voltage V (V), Current I (A) and Resistance R (Ω). Use 0.02 for 20 mA and 4700 for 4.7 kΩ.
- For Power, enter V and I. R is worked out from them and the resistance field is ignored.
- Read voltage, current, resistance and power in the four result tiles.
Worked example: current and power in a 470 Ω resistor on 9 V
Click Current, enter V = 9 and R = 470. The tiles show I = 0.019149 A (about 19.1 mA) and P = 0.17234 W. A standard 1/4 W (0.25 W) resistor would run at about 69% of its rating. That works, but a 1/2 W part gives more margin.
I = V / R = 9 / 470 = 0.019149 AP = V² / R = 81 / 470 = 0.17234 WSizing an LED resistor
The resistor only drops the voltage the LED does not use. With a 9 V supply, a red LED with a 2 V forward voltage and a 20 mA target current, the resistor sees 9 - 2 = 7 V. Click Resistance, enter V = 7 and I = 0.02, and you get R = 350 Ω and P = 0.14 W. The nearest standard values are 330 Ω (slightly more current) and 390 Ω (slightly less). Pick 390 Ω if you want to stay under 20 mA. You can decode the color bands on the resistor to confirm you picked the right part from the drawer.
Common mistakes
- Prefixes: 4.7k means 4700 Ω and 250 mA means 0.25 A. Typing 4.7 for a 4.7 kΩ resistor makes the current 1000 times too large.
- Whose voltage: use the voltage across the component you are analyzing, not the supply voltage, when other parts in series share it.
- Power rating: pick a resistor rated for about twice the power the calculator shows. Running a part at its full rating makes it very hot.
- Non-ohmic parts: LEDs, diodes, bulbs and motors do not have a fixed R, so V = IR applied to them gives only a rough snapshot at one operating point.
Ohm's law and the power equations
Ohm's law (V = IR) is the foundation of circuit analysis. From it, four power equations are derived: P = VI, P = I^2 R, P = V^2/R. Knowing two of V, I and R gives the third, and power follows from P = VI. This calculator solves for voltage, current, resistance or power from the matching inputs.
Practical example: a 12V battery drives current through a 100-ohm resistor. I = V/R = 12/100 = 0.12 A. P = VI = 12 times 0.12 = 1.44 W. The resistor must be rated for at least 1.44 watts to avoid overheating.
Series and parallel circuits
In series: resistances add directly (R_total = R1 + R2 + ...). Current is the same through all components; voltage divides proportionally to resistance. In parallel: reciprocals add (1/R_total = 1/R1 + 1/R2 + ...). Voltage is the same across all branches; current divides inversely with resistance.
Ohm's law applies to each component and to the circuit as a whole. For complex circuits with multiple loops, Kirchhoff's laws (sum of voltages around any loop = 0; sum of currents at any node = 0) extend Ohm's law to handle any topology.
Ohm's Law Calculator: frequently asked questions
- What is Ohm's law?
- Ohm's law states that voltage (V) equals current (I) times resistance (R): V = IR. It describes the relationship between voltage, current, and resistance in an electrical circuit at constant temperature.
- How do I calculate electrical power?
- Power (P) in watts = V times I (voltage times current). Equivalently: P = I^2 times R, or P = V^2 divided by R. All three forms are equivalent via Ohm's law.
- What are the units for voltage, current, and resistance?
- Voltage is measured in volts (V). Current is measured in amperes (A). Resistance is measured in ohms (symbol omega). Power is measured in watts (W).
- Does Ohm's law apply to all materials?
- Ohm's law applies to ohmic materials where resistance is constant regardless of voltage or current. Non-ohmic components like diodes and transistors have nonlinear V-I relationships and do not obey Ohm's law.