Ohm’s law calculator: voltage, current, resistance, power
Fill in only two boxes and leave the others empty: Ohm’s law gives the missing values.
Result
2 ACurrent I
- Power P
- 24 W
Inputs
- Voltage V
- 12
- Current I
- 0
- Resistance R
- 6
- Power P
- 0
How it is calculated
Ohm’s law: V = R × I.
Result
Current I
- Power P
- 24 W
How it is calculated
- Ohm’s law: V = R × I.
- Power: P = V × I = R × I² = V² ÷ R.
- With two known values, solve for the other two.
Example
12 V across 6 Ω: I = 12 ÷ 6 = 2 A and P = 12 × 2 = 24 W.
Good to know
- Valid for a simple resistor in DC or purely resistive AC.
- Leave unknown values empty (or 0); negative values are not accepted.
- Mains voltage is dangerous: do not take measurements without training.
When to use it
- Find the resistor needed to power an LED from a battery.
- Check the current drawn by a heater from its power and voltage.
- To read the value of a resistor first, use Resistor color code and series/parallel calculator.
Frequently asked questions
How do I size a resistor for an LED?
Take the supply voltage minus the LED voltage, then divide by the wanted current. For example, (5 − 2) V ÷ 0.02 A = 150 Ω.
What power rating should the resistor have?
Choose one at least twice the power it will turn into heat. A resistor at its limit gets very hot.
Can I use it for an electric motor?
Not directly. A motor is not a simple resistor: its current changes with load and is much higher at start-up.