Skip to content

Ohm's Law Calculator

Type any two of voltage, current, resistance and power. You get the other two straight away, with the formula used lit up on the Ohm's law wheel.

LED resistor, series and parallel, divider, AC power
Which two do you know?

Or just tap a worked-out (grey) box and type in it. The two boxes you typed in last are used.

ResultUpdates as you type—————Conductance (1 ÷ R)—Energy used in 1 hourI × RP ÷ I√(P×R)V ÷ RP ÷ V√(P÷R)V ÷ IV² ÷ PP ÷ I²V × II² × RV² ÷ RVIRP

Series and parallel resistors

Separate with commas: 100, 2.2k, 4k7, 1M (k = kilo, M = mega).

—Total resistance—Total current—Total power—In parallel

LED current-limiting resistor

20 mA suits most 5 mm LEDs; check the datasheet.

—Resistor to use—Exact value worked out—Real LED current with it—Heat in the resistor—Power rating (2× heat, common practice)

Voltage divider

—Vout (across R2)—Current through R1—Vout ÷ Vin

AC power with power factor

—Real power (does the work)—Apparent power—Reactive power—Phase angle

How your circuit is worked out

Two values in, two formulas from the wheel, then a check.

  1. 1

    Your two values

    V = 12 VI = 0.5 Apick 2 of 12 formulas

  2. 2

    Find the resistance

    R = V ÷ I12 ÷ 0.5= 24 Ω

  3. 3

    Find the power

    P = V × I12 × 0.5= 6 W

  4. 4

    Check it

    P = I² × R0.5² × 24= 6 W ✓

Read more: all 12 formulas, worked examples, LED resistors, dividers and AC power

Ohm's law links four things in a circuit: the voltage (V, the push, in volts), the current (I, the flow, in amps), the resistance (R, how hard the part resists the flow, in ohms) and the power (P, how fast energy is used or turned into heat, in watts). Know any two and the other two follow.

The formula

voltage = current × resistance (V = I × R)
current = voltage ÷ resistance (I = V ÷ R)
resistance = voltage ÷ current (R = V ÷ I)
power = voltage × current (P = V × I)
power = current² × resistance = voltage² ÷ resistance

All 12 formulas of the wheel

To findFormula 1Formula 2Formula 3
Voltage VI × RP ÷ I√(P × R)
Current IV ÷ RP ÷ V√(P ÷ R)
Resistance RV ÷ IV² ÷ PP ÷ I²
Power PV × II² × RV² ÷ R

Worked example

You know the voltage is 12 V and the current is 0.5 A. The resistance is R = V ÷ I = 12 ÷ 0.5 = 24 Ω. The power is P = V × I = 12 × 0.5 = 6 W. Check with a third formula: P = I² × R = 0.5 × 0.5 × 24 = 0.25 × 24 = 6 W, the same answer.

Unit prefixes

Small and large values use prefixes: m (milli) is ÷ 1,000, µ (micro) is ÷ 1,000,000, k (kilo) is × 1,000 and M (mega) is × 1,000,000. So 20 mA = 0.02 A, 4.7 kΩ = 4,700 Ω and 2.3 kW = 2,300 W. Always change to plain volts, amps, ohms and watts before you multiply or divide; this calculator does that for you, so you can mix units freely.

Series and parallel

series total = R1 + R2 + R3 + …
parallel total = 1 ÷ (1 ÷ R1 + 1 ÷ R2 + 1 ÷ R3 + …)

100 Ω, 220 Ω and 330 Ω in series make 650 Ω. On 12 V the current is 12 ÷ 650 = 18.46 mA through all three, and the voltage splits in proportion: 1.846 V across 100 Ω, 4.062 V across 220 Ω and 6.092 V across 330 Ω (together 12 V).

In parallel they make 1 ÷ (1/100 + 1/220 + 1/330) = 3,300 ÷ 58 = 56.90 Ω. Each one gets the full 12 V, so the currents are 120 mA, 54.55 mA and 36.36 mA, 210.9 mA in total.

LED resistor

resistor = (supply − number of LEDs × LED voltage) ÷ LED current
resistor heat = voltage across it × current

A red LED (about 2 V) at 20 mA on a 5 V supply: (5 − 2) ÷ 0.02 = 150 Ω, which is a standard E12 value. The resistor turns 3 × 0.02 = 0.06 W into heat. Doubling it for a safety margin, which is common practice rather than a rule, gives 0.12 W, so a 1/8 W (0.125 W) resistor is enough and a 1/4 W one runs cooler. When the exact value is not standard, the calculator picks the next standard value above it, so the LED gets slightly less current, never more.

Voltage divider

Vout = Vin × R2 ÷ (R1 + R2)
R2 for a wanted Vout = R1 × Vout ÷ (Vin − Vout)

12 V with R1 = 10 kΩ and R2 = 4.7 kΩ: 12 × 4.7 ÷ 14.7 = 3.837 V, with 12 ÷ 14,700 = 0.8163 mA flowing. Anything you connect to Vout sits in parallel with R2 and pulls the voltage down; add it as the load to see by how much.

AC power and power factor

apparent power (VA) = V × I (single phase)
apparent power (VA) = √3 × V line-to-line × I (three phase)
real power (W) = VA × power factor
reactive power (VAR) = VA × √(1 − power factor²)

230 V and 10 A at a power factor of 0.8: 230 × 10 = 2,300 VA, 2,300 × 0.8 = 1,840 W and 2,300 × √(1 − 0.64) = 2,300 × 0.6 = 1,380 VAR. A three-phase motor drawing 10 A per line on 400 V at the same power factor uses √3 × 400 × 10 = 6,928 VA, or 5,543 W.

Ohm's law holds for resistors and wires at a steady temperature. LEDs, lamps and motors are not plain resistors: a filament's resistance rises a lot as it heats up, and an LED's current changes sharply with its voltage, which is why it needs a resistor. LED forward voltages here are typical figures; use the one in your LED's datasheet. Stay safe around mains voltage.

Common questions

What is Ohm's law?

Ohm's law says the current through a resistor equals the voltage across it divided by its resistance: I = V ÷ R, which is the same as V = I × R and R = V ÷ I. 12 volts across 24 ohms pushes 12 ÷ 24 = 0.5 amps.

How do you work out power from voltage and current?

Multiply them: P = V × I. 12 volts at 0.5 amps is 6 watts. If you know the resistance instead, use P = I² × R or P = V² ÷ R, which give the same answer.

What resistor do I need for an LED?

Take the LED voltage away from the supply voltage and divide by the LED current in amps. A red LED (about 2 V) at 20 mA on 5 V needs (5 − 2) ÷ 0.02 = 150 Ω. If your answer is not a standard value, pick the next standard value above it so the current is a little lower, never higher.

What wattage should the resistor be?

Work out the power the resistor turns into heat (P = V × I across the resistor) and pick a part rated for at least twice that. Doubling is common practice, not a rule, and keeps the resistor cool. 0.06 W doubled is 0.12 W, so a 1/8 W (0.125 W) part works and 1/4 W gives more room.

How do you add resistors in series and parallel?

In series just add them: 100 + 220 + 330 = 650 Ω. In parallel add the 1 ÷ R values and turn the total back over: 1 ÷ (1/100 + 1/220 + 1/330) = 56.9 Ω. A parallel group is always less than its smallest resistor.

What is the difference between watts, VA and VAR?

On AC, volts × amps gives the apparent power in VA. Only part of it does real work, set by the power factor: watts = VA × power factor. The rest, the reactive power in VAR, flows back and forth. At 230 V, 10 A and a power factor of 0.8 that is 2,300 VA, 1,840 W and 1,380 VAR.

Related calculators

Resistor Color Code CalculatorResistor colour bands to ohms and back for 3, 4, 5 and 6 bands: tolerance range, temperature coefficient, nearest E-series value, SMD codes and series/parallel.Voltage drop calculatorVoltage drop and wire size for DC, single and three phase: volts and % lost, voltage at the load, power lost as heat, copper or aluminium in mm² or AWG, conductor temperature, power factor and the smallest size that stays under your % limit.Generator size calculatorThe generator size in kW and kVA for home or business backup: appliances with running and starting watts, the surge peak, safety margin, power factor, amps on single or three phase, fuel use, runtime on a tank and inverter battery size.Scientific notation calculatorAny number to scientific, E and engineering notation (with SI prefixes) and back, + − × ÷, powers and roots in scientific notation with steps, sig figs and exact huge or tiny numbers.

Made by Zulu Calculator, part of AlphaZulu LLC. Formulas are shown in full and rule figures are checked against official sources; see how we build calculators.

Embed this calculator on your site

Free to use on your website or blog. Paste this code where you want the calculator to appear. Please keep the credit link.

Ohm's Law Calculator by Zulu Calculator ↗