Free Calculators Online guide

Electronics basics: Ohm's law, resistors, dividers and LEDs

Electronics calculations begin with the circuit boundary and operating conditions. Series and parallel resistor networks, an unloaded divider and a first-order RC step have different assumptions. Identify the topology, component units and power ratings before interpreting a result.

A correct resistance or voltage calculation does not establish that the actual component can dissipate the resulting power.

Electronics basics: voltage, current and resistance

Voltage is the push, current is the flow and resistance is the opposition. Ohm's law ties them together: voltage equals current times resistance. A 100 ohm resistor with 2 amps through it drops 200 volts.

Power is voltage times current, so the same numbers dissipate 400 watts, which is why real parts have power ratings and get hot.

Reading resistor color bands

A four-band resistor carries two digits, a multiplier and a tolerance. Brown, black and red mean 1, 0 and times 100, which is 1,000 ohms, and a gold band adds a 5 percent tolerance. Start at the end opposite the tolerance band.

The real value can sit anywhere within the tolerance, so measure with a meter when precision matters.

Resistors in series

In series, current has one path and the resistances add. Two resistors of 100 and 220 ohms make 320 ohms in a chain. The voltage across the chain splits in proportion to the resistances.

Series connection is the way to build a larger value from smaller ones, and it always raises the total.

Resistors in parallel

In parallel, current has several paths and the total falls. The reciprocal of the total is the sum of the reciprocals, so 100, 220 and 330 ohms together come to about 57 ohms, less than the smallest. Adding a path can only lower the resistance.

Two equal resistors in parallel give exactly half of one.

An RC time constant describes an exponential

Assume an ideal 10 kΩ resistor and 100 µF capacitor in the stated first-order charging circuit. Their product is one second. After one time constant, the step response reaches 1 − e⁻¹ = 63.2121% of its final change.

Reaching 99% takes −ln(0.01) = 4.60517 time constants. The model does not include leakage, capacitor tolerance or a source’s current limit.

Preferred resistor values and tolerance

Resistors come in preferred values, such as the E12 series, which has twelve steps per decade: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68 and 82. A calculated value rarely matches one exactly, so choose the next value up when you are protecting a part and the nearest when precision is the goal.

RC circuits and time

A resistor and a capacitor together set how quickly a voltage changes. The time constant is resistance times capacitance: 10,000 ohms and 100 microfarads give 1 second. After one time constant a charging capacitor reaches about 63 percent of its final value, and after 4.6 constants about 99 percent.

The same product sets the cutoff frequency of a simple filter.

From watts to amps

Appliances list power in watts, and wiring is sized by current. Divide the watts by the voltage and the power factor to get amps. An assumed 1,800 watt resistive heater on 120 volts draws 15 amps.

Motors have a power factor below one, so they draw more current than their wattage suggests, and three-phase supplies share the load across lines.

Safety and limits

These formulas describe ideal parts. Real components have tolerances, temperature effects and power limits, and mains voltage is dangerous. Work on low-voltage circuits while you learn, check ratings before you build, and leave mains wiring to a qualified electrician.

A calculator confirms the arithmetic and does not replace judgment.

Assumed inputs and calculated outputs

Ohm's Law Calculator: input sensitivity

Ohm's Law Calculator: voltage (volts) and power (watts) across a range of current (amps).
Current (amps)Voltage (volts)Power (watts)
1.6160256
1.8180324
2200400
2.2220484
2.4240576

Open the Ohm's Law Calculator to use your own numbers →

What goes wrong

Electronics basics: Ohm's law, resistors, dividers and LEDs: common errors

The mistakeWhy it misleadsDo this instead
Reading the color bands from the wrong endThe tolerance band belongs on the right, and reading backward gives a different value.Put the gold or silver band on the right before you read.
Adding resistances in parallelThe parallel total is always smaller than the smallest part, and a plain sum is far too large.Use the reciprocal rule, or the parallel result in the resistor calculator.
Rounding an LED resistor downA smaller resistor passes more current than planned and shortens the LED's life.Round up to the next standard value.
Using a divider to power a loadIt wastes energy in the resistors and the output sags as the load draws current.Use a regulator for power and a divider only for signals.

Electronics basics: Ohm's law, resistors, dividers and LEDs: worked calculation

Using the Ohm's Law Calculator worked example, moving Current (amps) from 1.6 to 2.4 changes the Voltage (volts) from 160 to 240.

Worked-example inputs used for the Ohm's Law Calculator figures above.
InputValueDefinition
Current (amps)2Entered example assumption.
Resistance (ohms)100Entered example assumption.
Ohm's Law Calculator: assumed inputs and calculated results.
Voltage (volts)200
Power (watts)400
Ohm's Law Calculator: Current (amps) comparison.
Current (amps)Voltage (volts)Power (watts)
1.6160256
1.8180324
2200400
2.2220484
2.4240576
Voltage (volts) by Current (amps)Ohm's Law Calculator. Assumed Current (amps) values and their calculated Voltage (volts). Resistance (ohms): 1001.61601.818022002.22202.4240
Voltage (volts) by Resistance (ohms)Ohm's Law Calculator. Assumed Resistance (ohms) values and their calculated Voltage (volts). Current (amps): 28016090180100200110220120240
Power (watts) by Current (amps)Ohm's Law Calculator. Assumed Current (amps) values and their calculated Power (watts). Resistance (ohms): 1001.62561.832424002.24842.4576
Which input moves the voltage (volts) most in the ohm's law calculator?

Ranked by how far each moves the voltage (volts) across the range tested: current (amps) (40, 20%) and resistance (ohms) (40, 20%).

If I double current (amps) in the ohm's law calculator, does the voltage (volts) double?

Doubling it from 2 to 4 takes the voltage (volts) from 200 to 400, which is 2.00 times the worked-example figure. So the result scales almost exactly in proportion. Halving it to 1 gives 100.

Electronics basics: Ohm's law, resistors, dividers and LEDs: points to carry forward

  • For unchanged positive resistance, doubling current quadruples resistive power because P = I²R. Resistance in ohms does not establish how much heat the component can dissipate.
  • Series resistances add, and parallel resistances combine to less than the smallest.
  • A voltage divider needs a load much larger than its lower resistor.
  • An LED needs a series resistor sized from the supply, its forward voltage and the current you want.
  • The RC time constant is resistance times capacitance, and about 63 percent of the change happens in one constant.
What is Ohm's law?

Voltage equals current times resistance. It links the three quantities for a resistive part. Use consistent voltage, current and resistance units; the resistive relationship alone does not model every component or every alternating-current circuit.

How do I read a resistor's color code?

Take the first two bands as digits, the third as the multiplier and the fourth as the tolerance. The resistor color code calculator does it.

How do I calculate resistors in parallel?

Add the reciprocals of each resistance and take the reciprocal of the sum. The result is smaller than the smallest resistor.

What resistor do I need for an LED?

Subtract the LED's forward voltage from the supply voltage and divide by the current. The LED resistor calculator also gives the next standard value.

What is an RC time constant?

The product of resistance and capacitance, the time for a capacitor to charge to about 63 percent of the way.

How do I convert watts to amps?

Divide watts by volts times the power factor. For three-phase, divide by the square root of three as well.

What is a voltage divider used for?

To reduce a voltage to a fraction of the input for a signal or a sensor. It is a poor way to supply power.

Why does my LED resistor get hot?

The resistor drops the difference between the supply and the LED's forward voltage at the LED's current, and that power appears as heat. Check the power rating, which the LED resistor calculator shows.

What is the E12 series?

A set of twelve preferred resistor values per decade, from 10 to 82. Most resistors are made in these values, so a calculated value is rounded to a standard one.

Can I put resistors in series to get a value I do not have?

Yes. Series resistances add, so two resistors give a larger value. In parallel the total is lower than the smallest.

References for Electronics basics: Ohm's law, resistors, dividers and LEDs