Any two of the four

Current in amps: 20 mA is 0.02. DC, or RMS values into a load that is only resistance, such as a heater element or a lamp filament. A motor or anything with a power factor is outside it.

Resistors in series and in parallel

The resistor for an LED

The forward voltage is on the LED’s data sheet: around 2 V for red, 3 to 3.4 V for white and blue. The page rounds up to the next preferred value (IEC 60063), which lets slightly less current through.

The working


    

How it works

OHM works out the other two of voltage, current, resistance and power from any two, showing the formula used for each. It adds resistors in series and parallel and finds an LED’s series resistor, rounded up to the next preferred value with the current and power it will give. It runs in this tab.

In more detail

OHM adds resistors in series and in parallel, and works out the series resistor for an LED, rounded up to the next preferred value with the current and power it will actually give. Everything stays in this tab.

Questions people ask about OHM

What is Ohm’s law?

Voltage equals current times resistance, V = I × R. With the power law, P = V × I, any two of the four quantities fix the other two: 12 V across 6 Ω drives 2 A, and dissipates 24 W.

How do I work out power from current and resistance?

P = I² × R. Two amps through six ohms is 4 × 6 = 24 watts. From voltage and resistance it is V² / R: 144 / 6, the same 24 W.

How do I work out resistors in parallel?

Add the reciprocals and take the reciprocal of the sum: 1 / (1/R₁ + 1/R₂ + …). 100 Ω and 220 Ω in parallel is 68.75 Ω, always less than the smaller one. In series they simply add.

What resistor do I need for an LED?

Take the LED’s forward voltage from the supply and divide by the current: (12 − 3.2) / 0.02 = 440 Ω. Resistors come in preferred values, so use the next one up, 470 Ω, which gives 18.7 mA and dissipates about 0.16 W, more than an eighth-watt part should carry.

Does it work for mains AC?

For a load that is only resistance, such as a heater or a filament lamp, using RMS voltage and current, yes. For a motor, a transformer or anything electronic, the current and the voltage are out of step and power is V × I × the power factor, which this page does not handle.

Who can see your file
WhoCan they see it?
YouYes
OBSCURA OSNo. Your file never reaches us.
Someone who breaks into our serversNo. Your file is not there.
Advertisers or partnersNo.
Anyone using your unlocked computer, or a harmful browser extensionYes. Keep your device and browser clean.

Worked example

12 volts and 2 amps; three resistors; a resistor for an LED on a 12 volt supply. Worked out when this page was built, by the same code the calculator runs in your browser:

OHM’S LAW

  known   voltage 12 V, current 2 A
  R = V / I       = 6 Ω
  P = V × I       = 24 W

  RESISTORS 100 Ω, 220 Ω, 330 Ω
    in series      650 Ω
    in parallel    56.9 Ω

  LED RESISTOR
    (12 V - 3.2 V) / 20 mA = 440 Ω, dissipating 176 mW
    next E12 value up: 470 Ω, so 18.72 mA and 164.8 mW

V = I R and P = V I. DC, or RMS values into a resistive load.

What it does not do

  • It does not work out power for motors, transformers or electronics, where the power factor matters.
  • It does not check that a part is rated for the power it will dissipate.

Load this page, turn off Wi-Fi, and run the tool. It still works.