The whole idea in one line

V=I×R

Double the voltage and the current doubles. Double the resistance and the current halves. Every circuit you will ever design, from a blinking LED to a motor driver, leans on this one relationship.

Ohm’s law is usually the first equation anyone learns in electronics, and it’s one engineers still use dozens of times a day. This guide starts with intuition, lets you play with a live circuit, then works through the formulas, real circuits like LED resistors and voltage dividers, and the places where the law bends. Skip to whatever level suits you: the professional notes and practice problems are near the end.

What is Ohm’s law?

Ohm’s law says that the current flowing through a conductor is directly proportional to the voltage across it. The constant that links the two is the conductor’s resistance:

V=I×R Ohm’s law
QuantitySymbolUnitThink of it as
Voltage (potential difference)Vvolt (V)The electrical “push”
CurrentIampere (A)How much charge flows per second
ResistanceRohm (Ω)How hard the path resists that flow

The law is named after the German physicist Georg Simon Ohm, who published it in 1827 in Die galvanische Kette, mathematisch bearbeitet after carefully measuring current through wires of different lengths and thicknesses. The symbol I comes from the French intensité du courant, which is why current isn’t written as C.

An intuition: water in a pipe

Electricity is invisible, so a picture helps. Imagine a water tank feeding a pipe:

Water analogy: tank height is voltage, flow is current, a narrow pipe section is resistance Height (pressure) = Voltage Narrow section = Resistance Flow rate = Current
Raise the tank (more voltage) and more water flows. Narrow the pipe (more resistance) and less flows.
  • Voltage is the water pressure, set by how high the tank is.
  • Current is the flow rate: litres per second, or coulombs per second in a wire.
  • Resistance is the narrow section that limits flow.

The analogy breaks down eventually (water doesn’t need a return path, and electrons don’t pile up in a wire), but it’s good enough to build your intuition for everything on this page.

Try it: a live circuit

Move the sliders. The dots show charge moving around the loop: their speed follows the current. Watch what happens to the resistor when the power gets too high.

A battery connected in a loop to a resistor and an ammeter + A 9 V 470 Ω 19.1 mA
Current19.1 mA
Power in R172 mW

I = 9 V ÷ 470 Ω = 19.1 mA

Resistance steps through the standard E12 values (10 Ω to 10 kΩ) you’d actually buy. By default the dots show conventional current, from + to −; switch to see electrons, which move the other way.

Conventional current vs electron flow

Circuit diagrams use conventional current, flowing from + to −. Electrons, which carry the charge in a metal wire, actually drift from − to +. The convention predates the discovery of the electron, and the maths works the same either way, so engineers kept it.

The Ohm’s law triangle

A quick memory aid: put V on top and I and R side by side underneath. Cover the quantity you want, and what’s left tells you the formula. Side by side means multiply; one above the other means divide.

Ohm’s law triangle with V on top and I and R below V I R

V = I × R

Cover V: I and R sit side by side, so multiply them.

The three forms, with worked examples

Rearranging V = I × R gives the two other forms. They’re the same law, solved for a different unknown:

V=I×Rfind voltage
I=VRfind current
R=VIfind resistance

Example 1: find the current

A 9 V battery is connected across a 470 Ω resistor. How much current flows?

I = V ÷ R = 9 V ÷ 470 Ω = 0.0191 A = 19.1 mA

Example 2: find the resistance

You need about 50 mA from a 12 V supply. What resistance limits the current to that?

R = V ÷ I = 12 V ÷ 0.05 A = 240 Ω

240 Ω isn’t a standard value. The nearest E12 values are 220 Ω (54.5 mA) and 270 Ω (44.4 mA). Pick based on whether slightly more or slightly less current is safer for your load.

Example 3: find the voltage

A multimeter shows 2 mA flowing through a 4.7 kΩ resistor. What’s the voltage across it?

V = I × R = 0.002 A × 4700 Ω = 9.4 V

Shortcut engineers use every day

Work in volts, milliamps and kilohms and the prefixes cancel out: 1 V = 1 mA × 1 kΩ. So 5 V across 2 kΩ is simply 5 ÷ 2 = 2.5 mA, with no powers of ten to juggle.

Power: why resistors get hot

Whenever current flows through a resistance, electrical energy turns into heat. The rate at which that happens is power, measured in watts:

P=V×I
P=I2×R
P=V2R

The last two come from substituting Ohm’s law into P = V × I. Use whichever matches the values you already know.

Example: will this resistor survive?

You put a 100 Ω resistor across a 12 V supply. Is the common ¼ W resistor good enough?

P = V² ÷ R = 12² ÷ 100 = 144 ÷ 100 = 1.44 W

No: that’s almost six times its rating. A good rule of thumb is to choose a resistor rated for at least twice the power it will dissipate, so use a 3 W part here.

All twelve relationships between V, I, R and P, for reference:

To findUse any of
V (volts)I × RP ÷ I√(P × R)
I (amps)V ÷ RP ÷ V√(P ÷ R)
R (ohms)V ÷ IV² ÷ PP ÷ I²
P (watts)V × II² × RV² ÷ R

Reading a V–I graph

Plot current against voltage for a resistor and you get a straight line through the origin. That straight line is Ohm’s law: the slope is 1 ÷ R, so a steeper line means a smaller resistance. Components that follow this are called ohmic. Many useful parts don’t:

Current versus voltage for a resistor, a filament lamp and a diode Voltage (V) Current (mA)

At 6 V, the 220 Ω resistor passes 27.3 mA.

The lamp curve bends because its filament heats up and its resistance rises. The diode passes almost nothing until about 0.6 V, then current shoots up.

Ohm’s law in real circuits

1. Choosing an LED resistor

An LED isn’t ohmic: connected straight to a battery, it would draw as much current as the battery can supply and burn out. A series resistor sets the current. The resistor sees whatever voltage the LED doesn’t use:

5 volt supply, 220 ohm resistor and red LED in series 5 V R = 220 Ω 3.0 V across R Red LED VF ≈ 2.0 V 13.6 mA
The resistor drops the 3 V the LED doesn’t need, and that sets the current.
R=Vsupply−VFILED

R = (5 V − 2.0 V) ÷ 15 mA = 3 ÷ 0.015 = 200 Ω → nearest standard value 220 Ω

Check the real current with the value you chose: 3 V ÷ 220 Ω = 13.6 mA, comfortably bright and inside a typical 20 mA rating. The resistor dissipates 3 V × 13.6 mA ≈ 41 mW, so a ¼ W part is plenty. The forward voltage VF depends on colour: roughly 1.8–2.2 V for red, and 2.8–3.3 V for blue and white. Always check the datasheet.

2. The voltage divider

Two resistors in series split a voltage in proportion to their values. It’s Ohm’s law applied twice: the same current flows through both, so each one’s voltage is that current times its resistance.

Voltage divider: 10 kilohm over 20 kilohm from 5 volts gives 3.33 volts Vin = 5 V R1 = 10 kΩ R2 = 20 kΩ Vout = 3.33 V
Classic use: bringing a 5 V signal down to a safe level for a 3.3 V microcontroller input.
Vout=Vin×R2R1+R2

Vout = 5 × 20 kΩ ÷ (10 kΩ + 20 kΩ) = 3.33 V, with I = 5 V ÷ 30 kΩ = 0.17 mA through both

One catch: anything you connect to Vout draws current too and pulls the voltage down. Dividers are great for signals and sensing, but don’t power circuits from them.

3. Pull-up resistors

A microcontroller input needs a defined level when its button isn’t pressed, so a resistor “pulls” it up to the supply. When the button is pressed, the pin is shorted to ground, and Ohm’s law tells you what that costs:

3.3 volt pull-up resistor to a microcontroller pin with a push button to ground 3.3 V 10 kΩ GPIO pin Button
Released, the pin reads 3.3 V (high). Pressed, it reads 0 V (low) and current flows through the resistor.

I = 3.3 V ÷ 10 kΩ = 0.33 mA while the button is held

A 100 Ω pull-up would also “work”, but it would waste 33 mA every time the button is pressed, enough to drain a coin cell quickly. Values between 4.7 kΩ and 100 kΩ are typical. Lower values resist electrical noise better; higher values save power.

4. Measuring current with a shunt resistor

Turn Ohm’s law around and a resistor becomes a current sensor. Put a small, precise resistor in the current path and measure the voltage across it:

2 A through a 0.1 Ω shunt → V = 2 × 0.1 = 0.2 V to measure, and P = 2² × 0.1 = 0.4 W of heat

That’s how battery monitors, motor drivers and USB power meters measure current. Current-sense amplifiers such as the INA219 read that small voltage accurately. Note the trade-off: a bigger shunt gives a larger, easier-to-measure voltage but wastes more power.

Series and parallel resistors

When you combine resistors, Ohm’s law tells you how they behave together:

Two resistors in series on the left and two in parallel on the right R1R2 Series: R = R1 + R2 R1R2 Parallel: 1/R = 1/R1 + 1/R2
  • Series: the same current flows through each resistor, and the voltages add up. Total resistance is the sum: two 1 kΩ resistors in series make 2 kΩ.
  • Parallel: each resistor sees the same voltage, and the currents add up. Total resistance is always smaller than the smallest one. For two resistors, use “product over sum”: R = (R1 × R2) ÷ (R1 + R2). Two 1 kΩ resistors in parallel make 500 Ω.

Where Ohm’s law bends: notes for professionals

Ohm’s law is exact for an ideal resistor at constant temperature. Real designs live in the gaps:

Resistance changes with temperature

R(T)≈R0[1+α(T−T0)]

Copper’s temperature coefficient α is about 0.0039 per °C, so a copper trace that warms by 40 °C has about 16% more resistance. A tungsten lamp filament is far more extreme: cold, its resistance is roughly a tenth of its hot value, which is why bulbs draw a large inrush current at switch-on and usually fail at that moment.

Non-ohmic parts and dynamic resistance

Diodes, LEDs, transistors and thermistors don’t have a single resistance value. For small changes around an operating point, engineers use the dynamic (incremental) resistance, r = ΔV ÷ ΔI, which is the inverse slope of the V–I curve at that point. A diode’s dynamic resistance, for instance, falls as its current rises.

Wires and PCB traces are resistors too

R=ρ×LA ρ = resistivity, L = length, A = cross-section area
A PCB trace 100 millimetres long, 0.25 millimetres wide and 35 micrometres thick L = 100 mm Trace: W = 0.25 mm wide, t = 35 µm thick (1 oz copper)
A thin signal trace carrying power: a common layout mistake.

R = 1.72×10⁻⁸ Ω·m × 0.1 m ÷ (0.25×10⁻³ m × 35×10⁻⁶ m) ≈ 0.2 Ω

At 2 A that trace drops 0.4 V and turns 0.8 W into heat. On a 3.3 V rail, 0.4 V is a 12% loss: enough to brown out a microcontroller under load. A handy figure for 1 oz copper is about 0.5 mΩ per square (a length equal to the width), so this trace is 400 squares ≈ 0.2 Ω. Widen power traces, use copper pours, and keep high-current paths short. It’s one of the first things we check in a PCB design review.

AC circuits: impedance

With alternating current, capacitors and inductors resist current in a frequency-dependent way. Ohm’s law still holds, with complex impedance Z in place of R: V = I × Z. For a pure resistor, Z = R and nothing changes.

The microscopic form

Inside a material, Ohm’s law is a local relationship between current density and electric field, J = σE, where σ is the conductivity. Integrate it over a uniform wire and you get back V = I × R with R = ρL ÷ A, the formula above.

Checking it with a multimeter

  • Voltage: measure across a component (in parallel), with the circuit powered.
  • Current: break the circuit and put the meter in series, with the probe in the A or mA socket. Never put a meter in current mode across a supply: it’s a near short circuit and will blow the meter’s fuse.
  • Resistance: measure with the power off, ideally with one leg of the part lifted, because other components in the circuit form parallel paths and give you a lower reading.

Try it: measure the voltage across a resistor and the current through it, divide one by the other, and compare with the colour code. You’ve just verified Ohm’s law.

Common mistakes

  1. Mixing units. 20 mA is 0.02 A, not 20 A. Convert first, or stick to the V–mA–kΩ shortcut.
  2. Ignoring power rating. The right resistance at the wrong wattage still burns out.
  3. Treating LEDs and diodes like resistors. They need a current-limiting resistor (or a constant-current driver).
  4. Measuring resistance in a powered circuit. The reading is meaningless, and the meter can be damaged.
  5. Forgetting tolerance. A 5% resistor marked 1 kΩ can be anywhere from 950 Ω to 1050 Ω. Design for the worst case.
  6. Forgetting the wires. At high current, connectors, wires and traces have resistance that matters.

Quick reference

PrefixSymbolMultiplierExample
microµ× 0.00000150 µA = 0.00005 A
millim× 0.00120 mA = 0.02 A
kilok× 1,0004.7 kΩ = 4,700 Ω
megaM× 1,000,0001 MΩ = 1,000,000 Ω
  • V = I × R, I = V ÷ R, R = V ÷ I
  • P = V × I = I² × R = V² ÷ R
  • Series: R = R1 + R2 · Parallel: R = R1 × R2 ÷ (R1 + R2)
  • Divider: Vout = Vin × R2 ÷ (R1 + R2)
  • LED resistor: R = (Vsupply − VF) ÷ ILED
  • Choose resistor wattage ≥ 2 × the power it dissipates

Practice problems

Try each one before opening the answer.

1A 6 V supply is connected across a 1.5 kΩ resistor. What current flows?

I = 6 V ÷ 1.5 kΩ = 4 mA (using the V–mA–kΩ shortcut).

2A water heater draws 10 A from a 230 V supply. What is its resistance, and how much power does it use?

R = 230 ÷ 10 = 23 Ω. P = 230 × 10 = 2,300 W (2.3 kW).

325 mA flows through a 680 Ω resistor. What is the voltage across it?

V = 0.025 × 680 = 17 V. Its power is 17 × 0.025 = 0.425 W, so a ¼ W resistor isn’t enough: use 1 W.

4A 3.3 V microcontroller pin drives a red LED (VF ≈ 1.9 V) at about 5 mA. What resistor do you need?

R = (3.3 − 1.9) ÷ 0.005 = 280 Ω. The nearest standard values are 270 Ω (≈ 5.2 mA) or 330 Ω (≈ 4.2 mA). Both are fine.

5Two 1 kΩ resistors in parallel are connected across 5 V. What is the total current, and the current in each?

Parallel resistance = 1 × 1 ÷ (1 + 1) = 0.5 kΩ, so the total is 5 ÷ 0.5 = 10 mA, split evenly: 5 mA each.

6For professionals: a 3.3 V rail feeds a 1 A load through a trace with 0.2 Ω resistance. What voltage reaches the load, and is that acceptable?

Drop = 1 × 0.2 = 0.2 V, so the load sees 3.1 V, about 6% low. Many 3.3 V parts allow only ±5% (3.135 V minimum), so this fails. Widen the trace or move the regulator closer.

Summary

  • Ohm’s law, V = I × R, links voltage, current and resistance. Know any two and you can find the third.
  • Power, P = V × I, tells you how much heat a part must handle.
  • It’s exact for resistors, and the starting point for everything else: LEDs, dividers, sensors and PCB traces.
  • Real parts drift with temperature, tolerance and frequency, so good designs leave margin.

Next in Basic Electronics, we’ll build on this with Kirchhoff’s laws, which explain how currents and voltages share out across a whole circuit. Questions or something unclear? Ask in the comments below and we’ll answer.

Frequently asked questions

What is Ohm’s law in simple words?

The current through a conductor is proportional to the voltage across it. Push harder (more volts) and more current flows; add more resistance and less current flows. As an equation: V = I × R.

What are the three Ohm’s law formulas?

V = I × R to find voltage, I = V ÷ R to find current, and R = V ÷ I to find resistance. They are the same law rearranged.

Does Ohm’s law apply to LEDs and diodes?

Not directly. LEDs and diodes are non-ohmic: their current rises steeply once the forward voltage is reached. You still use Ohm’s law on the series resistor to set the LED current.

Does Ohm’s law work for AC circuits?

Yes, with impedance in place of resistance: V = I × Z. For a pure resistor Z = R, so the familiar form holds at every instant.

Why does my resistor get hot?

Because it turns electrical power into heat: P = I² × R. If that power exceeds the resistor’s rating (for example ¼ W), it overheats. Pick a resistor rated for at least twice the power it will dissipate.

Comments

No comments yet. Questions, corrections and your own tips are all welcome.

Leave a comment

Comments are reviewed before they appear. Your email is never shown.