Electricity Calculator
Ohm’s Law Calculator
Enter any two values out of voltage, current, resistance and power, and the calculator works out the other two.
What this calculator does
Ohm’s law links voltage, current and resistance in a conductor. Combined with the power equation, knowing any two of the four quantities lets you find the rest. Fill in any two boxes and leave the others blank; the calculator shows all four values.
Formulas used
V = I × R I = V ÷ R R = V ÷ I
P = V × I P = I² × R P = V² ÷ R
If more than two values are entered, the calculator uses the first usable pair in this order: voltage and current, voltage and resistance, current and resistance, then the pairs involving power.
Worked examples
- 12 V across a component carrying 2 A: R = 12 ÷ 2 = 6 Ω, P = 12 × 2 = 24 W.
- A 1,000 W heater element on 230 V: I = 1,000 ÷ 230 ≈ 4.35 A, R = 230 ÷ 4.35 ≈ 52.9 Ω.
- An LED needs 20 mA from a 5 V supply with 2 V across the LED. The resistor drops 3 V, so R = 3 ÷ 0.02 = 150 Ω, dissipating 0.06 W.
Where Ohm’s law applies
It holds for resistive components at a steady temperature: resistors, heating elements, wires. It does not describe diodes, LEDs, transistors or motors, whose current does not rise in proportion to voltage. For AC motors and other reactive loads, use impedance and power factor instead of plain resistance.
Understanding each input
- Voltage in volts, current in amperes, resistance in ohms and power in watts.
- Convert prefixes first: 20 mA = 0.02 A, 4.7 kΩ = 4,700 Ω.
- All entered values must be positive.
Common mistakes
- Entering milliamps as amps, which makes resistance 1,000 times too small.
- Applying Ohm’s law to an LED directly instead of to its series resistor.
- Forgetting a resistor’s power rating: a 0.25 W resistor dissipating 0.5 W will overheat.
FAQs
What is Ohm’s law?
Voltage equals current multiplied by resistance (V = I × R) for a resistive conductor.
How many values do I need to enter?
Any two positive values. The calculator finds the other two.
How do I calculate an LED resistor?
Subtract the LED’s forward voltage from the supply voltage, then divide by the LED current in amps.
Does it work for AC?
For purely resistive AC loads, yes, using RMS values. For motors and other reactive loads, no.
Why is resistance shown in ohms only?
Enter all values in base units and convert prefixes such as kilo and milli yourself.
Related tools
Power Calculator (Watts from Volts and Amps) kWh Calculator Math calculators All electricity calculators