Sub topic 4
Ohm's law: V = IR
This chapter assumes you know basic algebra, SI prefixes (milli, kilo, mega), and the idea of a circuit as a source, a load, and a closed loop. It also assumes you know that current is measured in amperes (A), voltage in volts (V), and resistance in ohms (Ω).
The relationship
Ohm's law says that for a resistor, the voltage across it is proportional to the current through it:
V = I × R
Here V is the voltage in volts, I is the current in amperes, and R is the resistance in ohms. R is the constant of proportionality. One ohm is the resistance that lets 1 A flow when 1 V is applied.
The equation can be rearranged to solve for any one quantity when you know the other two:
| Unknown | Formula | Example inputs | Result |
|---|---|---|---|
| Voltage | V = I × R | 2 mA, 4.7 kΩ | 9.4 V |
| Current | I = V / R | 12 V, 470 Ω | 25.5 mA |
| Resistance | R = V / I | 5 V, 20 mA | 250 Ω |
A common way to remember the three forms is a triangle with V on top and I and R below. Cover the quantity you want and read the rest.
Direction and sign
Current flows through a resistor from the higher-potential end to the lower-potential end. The voltage drop across the resistor is the potential at the entry end minus the potential at the exit end. If you label the current in the direction of the drop, V = IR is positive. If you label it the other way, you must write V = −IR. Choosing one convention and keeping to it avoids most sign errors in later circuit analysis.
A worked calculation
Suppose a 470 Ω resistor is connected across a 12 V source. The current is
I = V / R = 12 / 470 ≈ 0.0255 A = 25.5 mA.
The code below does the same calculation and also reports the power, which the next chapter explains.
V = 12.0 # volts
R = 470.0 # ohms
I = V / R # Ohm's law
P = V * I # power in watts
print(f"I = {I * 1000:.1f} mA, P = {P:.3f} W")It prints I = 25.5 mA, P = 0.306 W.
Reading V = IR as a graph
If you plot current on the vertical axis against voltage on the horizontal axis, a resistor that obeys Ohm's law gives a straight line through the origin. The slope is 1/R. A steeper line means a smaller resistance. This is the test for ohmic behavior, and a later chapter uses it to identify components that fail it.
Common errors
- Forgetting prefixes. Using 4.7 for a 4.7 kΩ resistor gives an answer 1000 times too large. Convert to base units (ohms, amperes, volts) before calculating.
- Mixing up which voltage to use. V must be the voltage across that resistor, not the supply voltage. In a circuit with several resistors, these differ.
- Treating R as a property of the supply. The current depends on both the source voltage and the resistance. Doubling V doubles I. Doubling R halves I.
- Applying the law to everything. V = IR describes a resistor whose R stays constant. It does not mean every component has a fixed ratio of voltage to current.
Constant R is the assumption
Strictly, the ratio V/I is defined for any component at a given operating point. Ohm's law is the statement that this ratio stays constant as V changes. Real resistors approximate this well, but heating, extreme voltages, and some materials break it. Later chapters cover temperature effects and non-ohmic parts.
Exercise
A resistor passes 15 mA when 6.0 V is applied across it. What is its resistance, and what current flows if the voltage is raised to 9.0 V (assuming it is ohmic)?
Show answer
R = V / I = 6.0 / 0.015 = 400 Ω. At 9.0 V, I = 9.0 / 400 = 0.0225 A = 22.5 mA. The current rises in proportion to the voltage (9.0/6.0 = 1.5, and 15 mA × 1.5 = 22.5 mA).
Exercise
A 2.2 kΩ resistor must carry no more than 5 mA. What is the largest voltage you may apply across it?
Show answer
V = I × R = 0.005 A × 2200 Ω = 11 V.