Who this is for: Beginners learning electronics fundamentals. You should understand basic DC voltage and the concept of electrical resistance in ohms (Ω).
What you will learn: calculate voltage, current, and resistance using the three forms of Ohm’s law, calculate electrical power dissipation in watts and milliwatts, and verify that a resistor operates safely within its physical power rating.
Checked examples: All equations and worked examples below have been verified by direct arithmetic. The safe example uses a 12 V source and 1 kΩ resistor, matching values used in our voltage-divider and Thevenin learning tracks.
The core Ohm’s law relationship
Ohm’s law describes the relationship between electromotive force (voltage $V$ in volts), electric current ($I$ in amperes), and resistance ($R$ in ohms) across a linear conductor:
Find Voltage (V)
V = I × R
When current and resistance are known.
Find Current (I)
I = V / R
When voltage and resistance are known.
Find Resistance (R)
R = V / I
When voltage and current are known.
If you increase the voltage across a resistor, the current increases proportionally. If you increase the resistance while keeping the voltage fixed, the current decreases proportionally.
Metric prefixes without calculation errors
In low-power electronics and microcontroller projects, current is rarely a full ampere, and resistors are rarely just a few ohms. Calculations frequently mix volts (V), milliamperes (mA), and kilo-ohms (kΩ). Instead of converting back and forth to base scientific notation every time, keep these paired prefix rules in mind:
- Volts / Kilo-ohms = Milliamperes:
12 V / 1 kΩ = 12 mA(because $10^0 / 10^3 = 10^{-3}$). - Milliamperes × Kilo-ohms = Volts:
12 mA × 1 kΩ = 12 V(because $10^{-3} \times 10^3 = 1$). - Volts × Milliamperes = Milliwatts:
12 V × 12 mA = 144 mW($0.144\text{ W}$).
Using matching metric pairs prevents decimal-place errors that can lead to incorrect component selection.
Resistor power dissipation: electrical energy becomes heat
As current flows through a resistor, electrical energy is converted into thermal energy (Joule heating). Electrical power $P$ is the rate at which energy is dissipated, measured in watts (W):
P = V × I
By substituting Ohm’s law ($V = I \times R$ and $I = V / R$), we get three equivalent equations for power:
Voltage and Current
P = V × I
Current and Resistance
P = I² × R
Voltage and Resistance
P = V² / R
Resistor power ratings
When you decode a resistor using our resistor color-code guide or the resistor color code calculator, the bands tell you only the nominal resistance and tolerance. Color bands do not indicate power rating.
A resistor’s power rating is determined by its physical size, construction materials, and maximum allowable operating temperature:
- 1/8 Watt (0.125 W / 125 mW): miniature through-hole or small surface-mount packages.
- 1/4 Watt (0.25 W / 250 mW): the most common standard through-hole resistor in breadboarding and hobbyist electronics.
- 1/2 Watt (0.5 W / 500 mW): larger axial body for moderate current circuits.
- 1 Watt, 2 Watts, or higher: ceramic, power metal-oxide, or wirewound packages designed for high heat dissipation.
Worked example 1: safe operation within rating
A 12 V DC source connects across a 1 kΩ (1000 Ω) through-hole resistor. First, find the current:
I = V / R
= 12 V / 1000 Ω
= 0.012 A = 12 mA
Now calculate the power dissipated as heat:
P = V × I
= 12 V × 0.012 A
= 0.144 W = 144 mW
Or directly from voltage and resistance:
P = V² / R
= 12² / 1000
= 144 / 1000
= 0.144 W = 144 mW
Safe operation: 144 mW < 250 mW
A standard 1/4 W resistor is rated for up to 250 mW. Since 144 mW is well below 250 mW, the resistor will run warm to the touch, but remains safely within its specified thermal limit.
Worked example 2: dangerous overload hazard
Now connect the same 12 V supply across a 100 Ω resistor:
I = 12 V / 100 Ω = 0.12 A = 120 mA
P = 12² / 100 = 144 / 100 = 1.44 W (1440 mW)
Overload hazard: 1.44 W >> 0.25 W (nearly 6× rating)
If you use a standard 1/4 W (0.25 W) resistor here, it will be forced to dissipate almost six times its maximum rated heat! Within seconds, the component will scorch, emit smoke, drift permanently in value, and burn open. For 1.44 W dissipation, you must specify a resistor rated for at least 2 W or 3 W.
The 50% derating engineering rule
In reliable circuit design, never run a resistor at 100% of its maximum power rating. Ambient temperature inside an enclosure, poor airflow, and proximity to other components reduce the resistor’s ability to shed heat.
Rule of thumb: Keep continuous dissipation at or below 50% of the component’s rated power. For example, in a 1/4 W (250 mW) resistor, aim to keep continuous dissipation below 125 mW. If expected power is 150 mW, select a 1/2 W resistor instead.
Try it yourself
A 5 V microcontroller output powers an LED through a current-limiting resistor. If the LED drops 2 V, the remaining 3 V appears across a 330 Ω resistor. What is the resistor current and power dissipation, and is a standard 1/4 W resistor sufficient?
Show the worked calculation
1. Calculate current: $I = V / R = 3\text{ V} / 330\ \Omega \approx 0.00909\text{ A}$, which is 9.09 mA.
2. Calculate power: $P = V \times I = 3\text{ V} \times 0.00909\text{ A} \approx 0.0273\text{ W}$, which is 27.3 mW. (Alternatively, $P = 3^2 / 330 = 9 / 330 \approx 0.0273\text{ W}$).
3. Evaluate rating: 27.3 mW is approximately 11% of a 1/4 W (250 mW) rating. The 330 Ω resistor operates in a cool, safe condition with ample thermal margin.
Real-world circuit cautions
- Ohm's law assumes linear resistance: Real resistors change resistance slightly as temperature rises (measured by the temperature coefficient in PPM/°C). Non-linear devices like diodes, transistors, and LEDs do not follow a fixed $V = I \times R$ relationship.
- Source limits: An ideal voltage source maintains its voltage regardless of current. Real batteries and power supplies have internal resistance and maximum current limits.
- Measure safely: When measuring resistance with an ohmmeter, always disconnect power from the circuit. Measuring resistance in a powered circuit can damage your multimeter and give meaningless readings.