Skip to content
AESTECHNO
AESTECHNO
Contact
Resistors

Ohm's law and power: V = RI and P = VI

Ohm's law links the voltage V across a resistor to the current I through it: the ratio of the two is the resistance R. Electrical power P, the rate at which a component converts electrical energy, is the product of voltage and current.

Together they answer the two questions asked of every resistor on a board: which value gives the right current, and how much heat it has to get rid of without overheating.

The formula

V=RI,P=VI

Ohm's law for a resistor, and the power converted by any component, in direct current.

Symbol Quantity Unit
V Voltage across the component volt (V)
I Current through the component ampere (A)
R Resistance ohm (Ω)
P Power converted by the component watt (W)
The resistor sets the LED current: its voltage VR divided by R gives I, and VR times I is the heat it must dissipate.

The law and its three forms

For a resistor, the current is proportional to the applied voltage, and the constant of proportionality is the resistance. Doubling the voltage doubles the current. One volt across one ohm drives one ampere. Rearranged, the same law gives the current from the voltage, or the resistance from a voltage and a current:

I=VR,R=VI

In the circuit above, the resistor voltage VR is the supply voltage minus the LED forward voltage. Dividing it by the current wanted in the LED gives the resistor value directly. The same reasoning sizes a current-sense resistor: choose R so that the full-scale current produces a voltage the amplifier can read.

Where Ohm's law stops applying

Ohm's law is not a law of nature but an observed property of some materials. Components that follow it are called ohmic: their current-voltage graph is a straight line through the origin. A diode is the standard counterexample. In reverse it barely conducts, and in forward bias a silicon diode starts conducting only above about 0.7V, then the current rises much faster than the voltage. An LED, a transistor or a lamp filament are non-ohmic too.

Even a resistor obeys the law only at a given temperature. In metals, resistance grows roughly linearly with temperature, which is written with the temperature coefficient α of the material:

R=R0(1+αΔT)

Here R0 is the resistance at the reference temperature, usually 20 °C, and ΔT the temperature change. For copper, α is about 0.0039/°C, so a copper trace that heats up by 25 °C gains roughly 10 % in resistance. A lamp filament is the extreme case: its resistance is much higher hot than cold.

Three forms of the power formula

The power converted by any component, ohmic or not, is the voltage across it times the current through it. For a resistor only, substituting Ohm's law gives two more forms that need just one electrical quantity besides R:

P=VI=RI2=V2R

Pick the form that uses what you know or measure. For a current-sense resistor, the current is fixed by the load, so RI2 is the natural choice, and it shows that power grows with the square of the current. For a pull-up or a bleeder resistor across a known voltage, use V2R. For a non-ohmic component such as an LED or a transistor, only VI is valid, since there is no constant resistance to substitute.

The heat a current produces in a resistance is called Joule heating, and P=RI2 is Joule's law. The squares matter in practice. Doubling the current through a fixed resistor multiplies its dissipation by four, and so does doubling the voltage across it. A resistor that runs comfortably at one operating point can overheat when the current is only somewhat higher.

Power rating and derating

A resistor's power rating is the heat it can dissipate continuously without degrading, under the conditions stated by its maker. A physically larger resistor spreads the heat over more surface, so it carries a higher rating. Resistor guides advise choosing a rating at least twice the calculated dissipation.

That rating holds only up to a stated ambient temperature, often 70 °C. Above it, the allowed power typically falls in a straight line to zero at the maximum temperature given for the part. Between the two, the derated power is:

Pmax=P70×Tmax−TATmax−70°C

The rating also assumes a given mounting. The heat leaves mostly through the leads or pads into the copper of the board, so a resistor on thin traces, or next to other hot parts, runs hotter than the stated conditions.

Worked example

Sizing an LED series resistor

An LED with a forward voltage of 2 V must run at 20 mA from a 5 V supply. Find the resistor value, its dissipation and the power rating to choose, for a resistor rated at 70 °C and derated linearly to zero at 155 °C, on a board that can reach 85 °C.

  1. Voltage left for the resistor: VR=5V−2V=3V.
  2. Resistor value from Ohm's law: R=3V0.020A=150Ω.
  3. Power: P=VRI=3V×0.020A=0.06W, and the check with the other form gives the same result: RI2=150Ω×(0.020A)2=0.06W.
  4. Apply a margin of two: 2×0.06W=0.12W. Up to 70 °C ambient, a resistor rated 0.125W (1/8 W) is enough.
  5. At 85 °C, derate that rating: 0.125W×155−85155−70≈0.103W, below the target. A resistor rated 0.25W (1/4 W) still offers about 0.21W at 85 °C, which is enough.

Result: 150 Ω dissipating 0.06 W: a 1/8 W resistor up to 70 °C ambient, a 1/4 W one if the board can reach 85 °C.

Common mistakes

  • Using RI2 or V2R for an LED or a transistor. Those forms assume a constant resistance; for a non-ohmic part, use VI.
  • Dividing the supply voltage by the current to size an LED resistor. Only the voltage left after the LED forward voltage appears across R.
  • Picking the resistor rating equal to the calculated power. With no margin, the resistor runs at its limit and drifts or fails; aim for at least twice the dissipation.
  • Ignoring the ambient temperature. The rating is given up to about 70 °C, and a hot enclosure can cut the allowed power well below the nominal value.
  • Treating resistance as fixed when the temperature changes. Copper traces, filaments and sense resistors all change value as they heat up.
Calculator

Run the numbers with your own values:

A circuit to design?

Our design house in Montpellier, France designs and validates electronic boards, from schematic to production.

Our electronic design expertise

Frequently asked questions

Is Ohm's law true for every component?
No. It holds for ohmic components such as resistors and metal wires, at a given temperature. Diodes, LEDs, transistors and lamp filaments are non-ohmic: their current is not proportional to the voltage, so the ratio of voltage to current changes with the operating point and cannot be treated as a fixed resistance.
Which power formula should I use?
The one that matches what you know. Voltage times current works for any component. For a resistor, R I squared is convenient when the current is set, as in a sense resistor, and V squared over R when the voltage is set, as in a pull-up. All three give the same answer for a resistor.
Why does a resistor need a higher power rating than calculated?
Because the rating is the limit under the stated conditions, not a comfortable operating point. Tolerances, supply variations and higher ambient temperatures all push the real dissipation or the resistor temperature up. Resistor guides advise a rating at least twice the calculated power, and derating further when the ambient exceeds about 70 °C.
What does derating mean for a resistor?
It means reducing the allowed power as the ambient temperature rises. A resistor is typically rated for full power up to 70 °C; above that the permitted power falls linearly to zero at the maximum permissible temperature. The manufacturer's derating curve gives the exact values.
Why does power grow with the square of the current?
Because both the voltage and the power depend on the current. By Ohm's law the voltage across a resistor is R times I, and the power is that voltage times I again, which gives R I squared. Doubling the current therefore multiplies the heat in the resistor by four.

Sources

Formulas and values checked against these published references.