Volts, amps, ohms and watts from any two, by ohm's law OHM
Any two of voltage, current, resistance and power fix the other two, and the formula used for each is shown. Resistors in series and parallel, and the resistor an LED needs.
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 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.
Doing this often? OBSCURA Pro saves the result from here, along with the result of every other tool outside the Workspace, and includes the paid applications. Everything is US$5 a month or US$48 a year.