Ohm’s Law Calculator: Voltage, Current, Resistance, Power
Enter any two of voltage, current, resistance and power to see the other two, the formula used, the nearest E24 resistor value and the recommended resistor power rating. The last two fields you changed are treated as the known values.
- Voltage (V)
- Current (I)
- Resistance (R)
- Power (P)
- Nearest E24 resistor
- Recommended resistor power rating
How do you calculate with Ohm’s law?
According to Ohm’s law, the voltage across a resistor equals the current flowing through it multiplied by its resistance: V = I × R. From the same relationship, current is I = V / R and resistance is R = V / I. The power dissipated as heat in the resistor is calculated with P = V × I. Substituting the Ohm’s law equivalent for V or I in this formula gives P = I² × R and P = V² / R.
Example: a 470 Ω resistor is connected to a 9 V battery. The current is I = 9 / 470 = 0.0191 A, or 19.1 mA. The power is P = 9² / 470 = 0.172 W, or 172 mW. With a 2× margin, 0.344 W is needed; a 0.25 W resistor is not enough, so a 0.5 W one is chosen.
Ohm’s law and power formula table
| Unknown | Known values | Formula |
|---|---|---|
| Voltage (V) | Current and resistance | V = I × R |
| Voltage (V) | Power and current | V = P / I |
| Voltage (V) | Power and resistance | V = √(P × R) |
| Current (I) | Voltage and resistance | I = V / R |
| Current (I) | Power and voltage | I = P / V |
| Current (I) | Power and resistance | I = √(P / R) |
| Resistance (R) | Voltage and current | R = V / I |
| Resistance (R) | Voltage and power | R = V² / P |
| Resistance (R) | Power and current | R = P / I² |
| Power (P) | Voltage and current | P = V × I |
| Power (P) | Current and resistance | P = I² × R |
| Power (P) | Voltage and resistance | P = V² / R |
What to consider when choosing a resistor
- Choose a resistor power rating at least 2 times the power it will dissipate. The tool recommends this margin from standard ratings between 0.125 W and 10 W: for a resistor dissipating 0.24 W, the recommendation is 0.5 W.
- The calculated value is often not in the standard series. For 600 Ω, the nearest E24 value is 620 Ω. If the current must not exceed a limit, take the next standard value up.
- Take the tolerance into account. A 620 Ω resistor with 5% tolerance can be anywhere between 589 Ω and 651 Ω; at 12 V, the current varies between 18.4 mA and 20.4 mA.
- Check the power derating curve and the maximum working voltage in the datasheet. For a 1 MΩ, 0.25 W resistor, the power formula allows 500 V, but the part’s voltage limit is often lower than that.
- When calculating by hand, enter volts, amperes, ohms and watts into the formula: 20 mA is written as 0.02 A. If you enter 20, the voltage comes out 1000 times too large. In the tool, you select the unit next to the field.
Ohm’s law applies to elements with a fixed resistance; in an LED or diode, voltage does not rise in proportion to current. For a series resistor for an LED, use the LED resistor calculator, and to drop a voltage with two resistors, use the voltage divider calculator. You can search for resistors of the value you found on Entegreci by value and package.
Frequently asked questions
What is the Ohm’s law formula?
The Ohm’s law formula is V = I × R: voltage in volts equals current in amperes multiplied by resistance in ohms. In a 10 Ω resistor carrying 2 A, the voltage is 2 × 10 = 20 V.
What resistor value do I need for 20 mA at 12 V?
You need 600 Ω: R = V / I = 12 / 0.02 = 600 Ω. The nearest E24 value is 620 Ω. The resistor dissipates 12 × 0.02 = 0.24 W, so a 0.5 W part is chosen.
How many amperes flow through a 1 kΩ resistor at 5 V?
5 mA flows: I = V / R = 5 / 1000 = 0.005 A. The power dissipated in the resistor is 5 × 0.005 = 0.025 W, or 25 mW; a 0.125 W resistor is enough.
If 50 mA flows through a 100 Ω resistor, what wattage should the resistor be?
A 0.5 W resistor is needed. The dissipated power is P = I² × R = 0.05² × 100 = 0.25 W, and the power rating is chosen at least 2 times that.