Ugenz Academy/IoT Tutorial

Ohms Law

7 min read1,304 words

Reading progress

Keep learning

Ohm's Law

6.1 Introduction

Ohm's law is one of the most important laws in electronics. It explains the relationship between voltage, current, and resistance in an electrical circuit.

When you build an LED circuit, use a resistor, measure a battery, or troubleshoot a circuit board, Ohm's law helps you calculate electrical values and understand how a circuit behaves.

Definition: Ohm's law states that the current flowing through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance, provided physical conditions such as temperature remain constant.

In simple words:

  • Increasing voltage increases current if resistance stays constant.
  • Increasing resistance decreases current if voltage stays constant.
  • Voltage equals current multiplied by resistance.

6.2 Ohm's Law Formula

The main formula is:

V=I×R\boxed{V=I\times R}

Where:

  • VV = Voltage, measured in volts (V).
  • II = Current, measured in amperes (A).
  • RR = Resistance, measured in ohms (Ω).

The same formula can be rearranged to calculate the other quantities.

To calculate current:

I=VR\boxed{I=\frac{V}{R}}

To calculate resistance:

R=VI\boxed{R=\frac{V}{I}}

Remember these three formulas because they are used throughout electronics.

6.3 Understanding Ohm's Law with a Simple Example

Suppose you connect a 12 V DC supply to a 6 Ω resistor.

Given:

  • Voltage = 12 V
  • Resistance = 6 Ω
  • Current = ?

Using the formula:

I=VRI=\frac{V}{R}

Substitute the values:

I=126I=\frac{12}{6} I=2 A\boxed{I=2\text{ A}}

The current flowing through the resistor is 2 amperes, assuming the resistor remains at 6 Ω under the operating conditions.

This example shows how voltage and resistance determine current.

6.4 Three Types of Ohm's Law Calculations

Example 1: Finding current

A 9 V battery is connected across a 3 kΩ resistor. Calculate the current.

Given:

  • V=9 VV=9\text{ V}
  • R=3000 ΩR=3000\ \Omega

Formula:

I=VRI=\frac{V}{R}

Calculation:

I=93000=0.003 AI=\frac{9}{3000}=0.003\text{ A}

Answer:

I=3 mA\boxed{I=3\text{ mA}}

We convert amperes to milliamperes by multiplying by 1,000.

Example 2: Finding voltage

A current of 0.5 A flows through a 20 Ω resistor. Calculate the voltage across it.

Given:

  • I=0.5 AI=0.5\text{ A}
  • R=20 ΩR=20\ \Omega

Formula:

V=I×RV=I\times R

Calculation:

V=0.5×20V=0.5\times20

Answer:

V=10 V\boxed{V=10\text{ V}}

The voltage across the resistor is 10 V.

Example 3: Finding resistance

A voltage of 24 V produces a current of 2 A through a component. Calculate its resistance.

Given:

  • V=24 VV=24\text{ V}
  • I=2 AI=2\text{ A}

Formula:

R=VIR=\frac{V}{I}

Calculation:

R=242R=\frac{24}{2}

Answer:

R=12 Ω\boxed{R=12\ \Omega}

The resistance is 12 ohms, assuming the component behaves ohmically under these conditions.

6.5 How Voltage Affects Current

Suppose a 100 Ω resistor is connected to different DC voltages.

VoltageResistanceCurrent
2 V100 Ω20 mA
4 V100 Ω40 mA
6 V100 Ω60 mA
8 V100 Ω80 mA
10 V100 Ω100 mA

The resistance remains constant.

As the voltage doubles from 2 V to 4 V, the current doubles from 20 mA to 40 mA.

Conclusion: For a fixed resistance, current is directly proportional to voltage.

6.6 How Resistance Affects Current

Now keep the voltage fixed at 12 V and change the resistance.

VoltageResistanceCurrent
12 V2 Ω6 A
12 V4 Ω3 A
12 V6 Ω2 A
12 V12 Ω1 A
12 V24 Ω0.5 A

As resistance increases, current decreases.

For example, doubling the resistance from 6 Ω to 12 Ω reduces the current from 2 A to 1 A.

Conclusion: For a fixed voltage, current is inversely proportional to resistance.

6.7 Ohm's Law in a Series Circuit

In a series circuit, components are connected one after another, creating a single path for current.

Consider a 12 V supply connected to two resistors:

  • R1=2 ΩR_1=2\ \Omega
  • R2=4 ΩR_2=4\ \Omega

First, calculate the total resistance:

RT=R1+R2R_T=R_1+R_2 RT=2+4=6 ΩR_T=2+4=6\ \Omega

Next, calculate the current:

I=VRTI=\frac{V}{R_T} I=126=2 AI=\frac{12}{6}=2\text{ A}

The same 2 A current flows through both resistors.

Voltage across the first resistor:

V1=IR1=2×2=4 VV_1=IR_1=2\times2=4\text{ V}

Voltage across the second resistor:

V2=IR2=2×4=8 VV_2=IR_2=2\times4=8\text{ V}

Check:

V1+V2=4+8=12 VV_1+V_2=4+8=12\text{ V}

The individual voltage drops add up to the supply voltage.

6.8 Ohm's Law in a Parallel Circuit

In a parallel circuit, components are connected across the same two nodes.

Consider a 12 V supply connected across two resistors:

  • R1=6 ΩR_1=6\ \Omega
  • R2=12 ΩR_2=12\ \Omega

Both resistors have 12 V across them.

Current through the first resistor:

I1=126=2 AI_1=\frac{12}{6}=2\text{ A}

Current through the second resistor:

I2=1212=1 AI_2=\frac{12}{12}=1\text{ A}

Total current:

IT=I1+I2I_T=I_1+I_2 IT=2+1=3 AI_T=2+1=3\text{ A}

The total current is 3 A, while each branch carries a different current.

This demonstrates that Ohm's law works alongside the rules for series and parallel circuits.

6.9 Ohm's Law and LED Circuits

Ohm's law is especially useful when selecting a resistor for an LED.

Suppose you have:

  • Supply voltage = 5 V
  • LED forward voltage = 2 V
  • Desired LED current = 10 mA

First, calculate the voltage across the resistor:

VR=5−2=3 VV_R=5-2=3\text{ V}

Convert the current into amperes:

10 mA=0.01 A10\text{ mA}=0.01\text{ A}

Calculate the resistance:

R=VRIR=\frac{V_R}{I} R=30.01=300 ΩR=\frac{3}{0.01}=300\ \Omega

The calculated resistance is 300 Ω. A standard 330 Ω resistor would provide approximately:

I=3330≈9.1 mAI=\frac{3}{330}\approx9.1\text{ mA}

A 330 Ω resistor is a reasonable choice for this example, provided the LED's specifications permit that current.

6.10 Power Calculations Using Ohm's Law

Ohm's law can also be combined with electrical power equations.

The basic power equation is:

P=VIP=VI

Since V=IRV=IR, we can derive:

P=I2R\boxed{P=I^2R}

And since I=V/RI=V/R, we can also derive:

P=V2R\boxed{P=\frac{V^2}{R}}

These equations are useful for calculating how much electrical power a resistor or other suitable component dissipates.

Example: A 10 Ω resistor has 5 V across it.

Calculate the power:

P=V2RP=\frac{V^2}{R} P=5210=2.5 WP=\frac{5^2}{10}=2.5\text{ W}

The resistor dissipates 2.5 W. In practice, you would select a resistor with a suitable power rating and thermal margin rather than using a 2.5 W-rated resistor right at its limit.

6.11 Limitations of Ohm's Law

Ohm's law is extremely useful, but it does not describe every component in every condition.

It applies directly to ohmic conductors and resistors when their resistance remains approximately constant.

Some components have nonlinear voltage-current relationships.

Examples include:

  • LEDs and ordinary diodes
  • Transistors
  • Thermistors whose resistance changes with temperature
  • Certain semiconductor devices

For an LED, for example, current does not increase linearly with voltage across the full operating range. A current-limiting resistor or a suitable current driver is normally required.

6.12 Common Mistakes

  1. Forgetting to convert kilo-ohms into ohms before calculating.
  2. Using milliamperes instead of amperes without converting units.
  3. Assuming voltage, current, and resistance are interchangeable.
  4. Applying Ohm's law as if every semiconductor had constant resistance.
  5. Ignoring resistor power ratings when designing a circuit.

Always write down the known values, choose the correct formula, convert the units, and check whether the answer makes sense.

6.13 Summary

Ohm's law describes the relationship between voltage, current, and resistance.

The three essential formulas are:

V=IR,I=VR,R=VIV=IR,\qquad I=\frac{V}{R},\qquad R=\frac{V}{I}

It helps you calculate circuit current, select resistors, understand voltage drops, and estimate power dissipation.

Understanding Ohm's law is essential before moving on to more advanced circuit analysis.

Next topic: Power and Energy.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy