Ohm's Law basics
Ohm's Law states that the current through a conductor between two points
is directly proportional to the voltage across those points, which gives
the familiar relationship voltage (V) equals current (I) multiplied by
resistance (R): V = I × R.1
Voltage is the electric potential difference measured in volts. Current is
the flow of charge measured in amperes. Resistance is how much a component
opposes that flow, measured in ohms.
The core equation in practice
Rearranging the same relationship into I = V/R and R = V/I lets you solve
for whichever quantity you're missing. A 10-ohm resistor connected to a 5V
supply will pass 0.5A of current. Double the resistance to 20 ohms and the
current drops to 0.25A at the same voltage. Halve it to 5 ohms and the
current rises to 1A. Because the three quantities are linked by a single
equation, knowing any two of them is always enough to pin down the third
without ambiguity. These relationships are linear, so doubling the voltage
across a fixed resistance doubles the current in lockstep.
Typing values in follows one convention: every field reads base units.
Voltage goes in as volts, current as amperes, resistance as ohms, and
power as watts, and no prefix is parsed along the way, so you convert
before typing. A 20 mA LED current is 0.02 in the Current
field, a 4.7 kΩ pull-up is 4700 in the Resistance field,
and a 250 mW budget is 0.25 in the Power field. Reading a
result back out is the same shift in reverse: a calculated
0.0152 A is 15.2 mA once the decimal moves three places.
Keeping that shift straight is the whole difference between an answer
that matches the datasheet and one that lands a factor of a thousand
away.
The VIR triangle and the formula wheel
The VIR triangle is the classic shortcut for remembering which
arrangement to use. Picture voltage at the top with current and
resistance side by side along the bottom, then cover the letter you want
with a finger. Whatever remains spells out the operation: covering
V leaves I next to R, so voltage
equals current times resistance; covering I leaves
V over R; covering R leaves
V over I. The triangle adds no new physics,
because it is the single relationship V = I × R drawn as a
picture. What it buys you is speed: the finger does the algebra that a
rearrangement would otherwise demand.
The formula wheel scales the same idea to all four quantities. Every
arrangement on it, all twelve, comes from just two laws:
V = I × R and P = V × I. Knowing any two
values pins down the other two, which makes exactly six know-any-two
pairs: V with I, V with R, V with P, I with R, I with P, and R with P.
The last pair is the only one that resolves through square roots,
because resistance and power together hide both voltage and current
behind them. This calculator runs all six pairs the same way, so picking
the formula is never your job; entering two knowns is the whole task.
Getting real values and checking your math
Where does the resistance you enter actually come from? A through-hole part states it in colored bands: the first two carry the digits, the third is the multiplier, and the fourth states the tolerance.2 That last band deserves more attention than it usually gets, because it defines a window around the printed value rather than a guarantee. A part marked 220 ohms with a ten-percent band is in spec anywhere from 198 to 242 ohms, and no calculator can know where inside that window your particular part sits. Entering the marked value is the right default; measuring the actual part is the upgrade path.
Checking the math takes three measurements, each with its own placement rule. Voltage is read with the probes across the component while the circuit runs, because a voltmeter measures in parallel.3 Current is the invasive one: the meter goes in series, so the path is broken and the flow runs through it.3 Resistance belongs to the powered-off bench, ideally with the part lifted out of the circuit, since anything in parallel with it skews the reading and even the test leads contribute a few tenths of an ohm of their own.4 With two measured values in hand, enter them and the other two fields fill themselves in.
Ohm's Law for Beginners: V, I and R Step by Step
If the equation is new to you, the walkthrough below starts from the physical meaning of each quantity before any arithmetic. It explains what voltage, current and resistance measure and which units they use, works one calculation through with a 5 V supply and a 220 Ω resistor, and shows how to read a resistor's colour bands and confirm its value with a multimeter.
Enter any two of voltage, current, and resistance into the calculator above and it solves the third instantly, using the same equation that describes every DC circuit: V = IR.1 Voltage (V) is the electrical pressure that pushes charge around a circuit, measured in volts. Current (I) is the rate of charge flow through a conductor, measured in amperes or amps. Resistance (R) is the opposition a component presents to that flow, measured in ohms. Before you trust the number the calculator returns, it helps to know what each quantity means in physical terms and how the three connect. What follows works through a calculation step by step and covers how to verify the result with a multimeter on real hardware, so the number you calculate matches what you measure on the bench.
What voltage, current, and resistance mean and their units
The water-pressure analogy makes the three quantities intuitive and gives you a mental model you can reason with before touching a calculator. Voltage is like water pressure: higher pressure pushes more water through a pipe of a given size. Current is like the flow rate: the volume of water passing a point per second, which increases with pressure and decreases with restriction. Resistance is like the pipe's narrowness: a narrower pipe restricts flow at the same pressure, just as a larger resistor restricts current at the same voltage.
Ohm's Law says that flow rate equals pressure divided by restriction, just as I = V/R says current equals voltage divided by resistance. The analogy has limits, and knowing them prevents you from applying it where it no longer applies. Water pressure operates on an incompressible fluid in gravity; electrons operate in a conductor according to quantum mechanics and drift through the lattice under an applied electric field. At high frequencies, stray capacitance and inductance become significant and the simple V = IR model breaks down because the reactive impedance of those parasitic elements dominates over the pure resistance.2 Yet for DC circuits with resistors, the analogy holds well and gives beginners a reliable mental model they can fall back on. Consequently, when learning circuit analysis, treat voltage as pressure, current as flow, and resistance as friction until the fundamentals are solid enough to work without the analogy.
Building intuition with a breadboard experiment
The fastest way to internalise Ohm's Law is to build a simple circuit on a breadboard: connect a 9 V battery to a 1 kΩ resistor and measure the current with a multimeter in series. You should read about 9 mA. Swap in a 470 Ω resistor and the current rises to about 19 mA. Swap in a 2.2 kΩ resistor and it drops to about 4.1 mA.
Each measurement confirms the linear relationship: at fixed voltage, current is inversely proportional to resistance. Once you have seen this relationship hold across three or four resistor values, the formula stops being an abstract equation and becomes a reliable prediction tool you can trust for every future circuit. Repeating the measurement at different voltages, such as 3.3 V or 12 V with appropriately chosen resistors, reinforces the pattern and makes the equation second nature.
Step-by-step calculation: a 5V supply and a 220Ω resistor
A 5 V supply connected to a 220 Ω resistor gives a simple first calculation that demonstrates all three Ohm's Law variables in one concrete example. Using I = V/R, the current is 5 / 220 = 0.0227 A, or about 22.7 mA. The resistor dissipates P = V × I, so the power is about 114 mW. A quarter-watt resistor handles that load comfortably because the calculated power stays well below 250 mW, and this comfortable margin explains why 220 Ω is such a common choice for 5 V indicator circuits where reliability matters more than exact current.
This same calculation explains why LED resistors change brightness, and understanding the relationship between resistance and current is what lets you predict the brightness of an LED before you ever apply power to the circuit. A smaller resistor allows more current and makes the LED brighter; a larger resistor reduces current and dims the LED.
Why the resistor value changes LED brightness
A too-small resistor can push current above the LED's maximum forward current rating, shortening its life or destroying it immediately. The resistor does not create light; it controls the current that lets the LED operate safely within its rated range. For a standard red LED with a 20 mA maximum rating and a 1.8 V forward voltage on a 5 V supply, the minimum safe resistor is (5.0 - 1.8) / 0.020 = 160 Ω, and anything below this value risks overcurrent that degrades the junction over time.3
At 330 Ω, the current drops to about 9.7 mA, which is safe but noticeably dimmer than at 220 Ω. This trade-off between brightness and safety is why datasheets specify a recommended operating current rather than just a maximum. Understanding this relationship lets you choose a resistor that keeps the LED bright enough for its purpose while staying well within the safe operating area for long-term reliability.
Reading resistor color codes and verifying with a multimeter
Resistors carry colored bands that encode their value and tolerance. For four-band resistors, the first two bands give the significant digits, the third is the multiplier, and the fourth is the tolerance. Brown-Black-Brown-Gold decodes as 1-0 × 10 = 100 Ω at ±5 percent.4 Red-Red-Red-Gold is 2-2 × 100 = 2.2 kΩ at ±5 percent. Five-band resistors add a third significant digit for tighter values.
Verifying a resistor with a multimeter confirms the actual value matches the color code and catches damaged or wrong-value parts before they cause a mystery failure in the finished circuit. Set the meter to the resistance (Ω) mode, disconnect at least one resistor lead from the circuit, and touch the probes to the component leads. The reading should fall within the color code value ±tolerance. For a nominally 220 Ω, 5 percent part, any reading from 209 to 231 Ω is within specification. Furthermore, measuring in-circuit gives incorrect readings because parallel paths through the surrounding components reduce the apparent resistance, and the meter reports the total resistance through every path between its probes.5
When troubleshooting a circuit that behaves unexpectedly, lift one lead of any suspect resistor before measuring its resistance. A resistor that reads correctly when isolated from the circuit but shows a different value when soldered in place is almost never a failed component and is instead being influenced by parallel conduction paths through other components connected to the same nodes.
Lifting one lead before measuring in circuit
A reading much lower than the marked value in-circuit almost always means a parallel path through another component, not a failed part. A reading of zero or near-zero with the lead lifted confirms a solder bridge or wrong-value component placed on the board. For example, a 10 kΩ pull-up resistor that reads 2 kΩ in-circuit may have a failed IC input clamping to ground through an ESD protection diode, creating a parallel path that drops the apparent resistance. Lifting one end of the resistor isolates it from the surrounding circuit and gives you the true component value, which is the only reliable way to confirm whether the part itself has failed.
Use this guide when encountering Ohm's Law for the first time in an Arduino tutorial, electronics course, or hobby project. Reference it when you need to select a resistor value, verify a component's resistance with a multimeter, or understand why changing a resistor in a circuit changes the brightness of an LED or the speed of a motor. try V, I, and R on a 5V breadboard until the three quantities feel intuitive.
Red LED brightness at different resistor values from 5V
At 220 Ω: I = (5 - 2.0) / 220 = 13.6 mA, moderate brightness. At 470 Ω: I = 3.0/470 = 6.4 mA, dimmer. At 100 Ω: I = 3.0/100 = 30 mA, bright but above the 20 mA rating for most standard LEDs. Always use at least 150 Ω for a standard red LED from a 5V supply.
9V battery with a 1kΩ and a 2.2kΩ resistor in series
R_total = 1000 + 2200 = 3200 Ω. I = 9/3200 = 2.81 mA. Voltage across 1kΩ: 2.81 mA × 1000 = 2.81 V. Voltage across 2.2kΩ: 2.81 mA × 2200 = 6.18 V. Sum: 2.81 + 6.18 = 8.99 V, confirming the calculation.
- 1.
"Ohm's law," Wikipedia, accessed June 2026. https://en.wikipedia.org/wiki/Ohm%27s_law
- 2.
"LED circuit," Wikipedia, accessed June 2026. https://en.wikipedia.org/wiki/LED_circuit
- 3.
"Review of R, X, and Z (Resistance, Reactance and Impedance)," All About Circuits, Electronics Textbook, accessed January 2021. https://www.allaboutcircuits.com/textbook/alternating-current/chpt-5/review-of-r-x-and-z
- 4.
All About Circuits, "Resistor Color Codes," allaboutcircuits.com, accessed June 2026. https://www.allaboutcircuits.com/textbook/reference/chpt-2/resistor-color-codes/
- 5.
Fluke, "How to Measure Resistance with a Digital Multimeter," fluke.com, accessed September 2026. https://www.fluke.com/en-us/learn/blog/digital-multimeters/how-to-measure-resistance
Ohm's Law says that voltage equals current times resistance: V = IR. If you know any two of the three quantities, you can calculate the third. It is the starting point for almost every circuit calculation: sizing a resistor, predicting current draw, or checking whether a component is overloaded.
Voltage is in volts (V), current is in amperes or amps (A), and resistance is in ohms (Ω). Smaller currents use milliamps (mA, 0.001 A) or microamps (µA, 0.000001 A). Larger resistances use kilohms (kΩ, 1000 Ω) or megohms (MΩ). Before calculating, convert all quantities to the base units: volts, amps, and ohms.
A larger resistor reduces the current at the same supply voltage: I = V/R. Less current through the LED produces less light. The LED's brightness is approximately proportional to the forward current over its operating range. Choosing a higher series resistor value limits the current more tightly and dims the LED; a lower value allows more current and brightens it, up to the LED's maximum rated current.
Disconnect at least one lead of the component from the circuit before measuring. Set the multimeter to the Ω or resistance mode and select a range close to the expected value if the meter does not auto-range. Touch the probes to the component terminals. The reading should match the marked value within the tolerance. Never measure resistance in a powered circuit; the result will be wrong and you may damage the meter.
Yes. CapyToolkit's Ohm's Law & Power Calculator lets you enter any two values and instantly calculates the other two. Try entering different resistor values with a fixed 5 V supply to see how current and power change. Changing the voltage while keeping resistance fixed shows the linear current relationship. The tool also calculates power dissipation, which confirms whether a component stays within its wattage rating.
Power relationships
Electrical power (P) in watts is the product of voltage and current: P = V × I. Combined with Ohm's Law, this gives two more useful forms: P = I²R
(power from current and resistance) and P = V²/R (power from voltage and
resistance).5 Choosing which form
to use depends on the two quantities you already know, letting you avoid an
extra step of rearranging the equation first.
Power forms for common cases
A 220-ohm resistor dropping 5V will dissipate about 114 milliwatts. That's fine for a quarter-watt resistor but would overheat a tenth-watt part. A 470-ohm resistor at the same 5V drops roughly 53 milliwatts. Across the standard values used for LED current limiting these losses stay well inside a quarter-watt rating, which is why a 220-ohm or 470-ohm part rarely needs anything bigger. Use this calculator to check dissipation whenever you pick resistor wattage for LED circuits, voltage dividers, or pull-up resistors.
Practical examples
The equations behind Ohm's Law are simple, but applying them well means choosing which quantities to work with and which assumptions to check. The two scenarios below are the ones you will encounter most often when you are picking a resistor for an LED or sizing a wire run in a higher-current circuit, and working through them step by step shows how the algebra turns into a design decision.
Choosing a current-limiting resistor for an LED
For a typical LED running at 20mA with a forward voltage of 2.1V on a 5V
supply: the resistor needs to drop 2.9V at 0.02A, so R = 2.9/0.02 = 145
ohms. The nearest standard value is 150 ohms, giving about 19mA, well
within the LED's rating.6
Working through the subtraction before you reach for a part keeps your
LED current inside the manufacturer's safe range. The same steps apply to
any supply voltage or LED colour.
For a 12V automotive circuit drawing 2A through a 0.5-ohm wire run: the
voltage drop across the wire is V = I×R = 1V, and the power wasted as heat
is P = I²R = 2 watts. That tells you the wire must dissipate 2 watts as
heat while carrying that load.5
Resistors in series and parallel
Ohm's Law extends naturally to networks of resistors. In a series circuit,
resistances add directly: two 100-ohm resistors in series give 200 ohms
total, and the same current flows through both. In a parallel circuit, the
combined resistance is lower than any individual resistor: two equal
resistors in parallel give half the resistance of either one. The formula
for two parallel resistors is R = (R1 × R2) / (R1 + R2). Knowing these
relationships lets you use this calculator to find the voltage drop and
current at each stage of a multi-component circuit by breaking it into
series and parallel groups, solving each group, and working outward.7
Voltage dividers, a core building block in analogue electronics, rely on
the series relationship. Two resistors R1 and R2 connected from supply to
ground produce an output voltage at the midpoint of V × R2 / (R1 + R2).
Entering the total series resistance and supply voltage into the
calculator gives the total current; multiplying that current by R2 gives
the divider's output voltage. Understanding this calculation is essential
for setting bias points in transistor circuits and scaling sensor voltages
down to ADC input ranges.7
Power dissipation and component ratings
Every resistor has a maximum power rating that determines how much heat it
can safely dissipate. Standard through-hole resistors are rated at 0.125
W, 0.25 W, 0.5 W, or 1 W.8 Surface-mount
resistors in 0402 or 0603 packages are typically rated at 0.063 W or 0.1 W.910 Use the P = I²R or P = V²/R form
of the power equation to check whether a chosen resistor stays within its rating
before committing to a design.
A resistor running near its rated power becomes hot, and excessive heat can drift the resistance value upward over time or even cause the part to fail open in extreme cases. For that reason designers typically pick a resistor rated for at least twice the expected dissipation, leaving enough margin to keep the component and surrounding board cool inside an enclosed housing. The same logic applies to pull-up resistors and voltage dividers that sit in a signal path for hours at a time, where a part that runs warm to the touch is a sign you should step up to the next higher power rating.8
When Ohm's Law has limits
Ohm's Law assumes resistance stays constant regardless of voltage or
current, and most resistors satisfy this assumption over their full
operating range even as the ambient temperature rises by several
degrees. Semiconductors do not: a diode's forward voltage drop is
roughly fixed regardless of current, so V = IR gives misleading results.
Transistors and FETs have regions of operation where current depends on
voltage in highly non-linear ways. Inductive and capacitive components
introduce frequency-dependent behaviour that a resistance-only model
cannot capture.
Because the relationship breaks down outside a purely resistive DC circuit, applying this calculator to diodes, transistors, or any AC circuit that includes capacitors or inductors gives only a rough approximation. For those components you need to work with impedance, complex numbers, or device-specific models instead. Within resistive DC circuits, however, Ohm's Law remains exact and reliable, which is why it still underpins the vast majority of hobbyist and breadboard design work.11
That exactness carries one qualifier: resistance itself moves with
temperature. The drift follows R = R₀(1 + αΔT), and the
direction depends on the material, because metal resistivity climbs as
the vibrating lattice impedes the electron flow while carbon and most
semiconductors drift the other way.12
Across the few tens of degrees a bench circuit sees, the shift stays at
percent scale. A tungsten filament shows what a large swing does: the
textbook example starts at 0.35 ohms cold and climbs past 4.8 ohms at
operating glow, a more-than-tenfold rise, which is why a lamp's
switch-on current briefly exceeds its steady
current.12
Any component that heats itself under load is quietly editing its own
resistance while you measure.
When a measurement disagrees with the calculation
Tolerance is the first reason a bench reading disagrees with the math. The calculator is exact for the numbers it is fed, but those numbers are nominal, and a real part sits somewhere inside its window rather than on the center line.2 A measurement a few percent away from the prediction is usually confirming the calculation, not contradicting it. Small series resistances come next: every socket, joint, and pair of test leads adds a fraction of an ohm, invisible next to a kilo-ohm pull-up but decisive when the resistance you are measuring is itself under an ohm.4 When the gap runs wide instead of percent-scale, suspect the entered values before you suspect the law.
The power source is the remaining reason. Inside every real battery and supply sits an internal resistance, so the terminal voltage reads below the nameplate figure and falls further as the current draw rises.13 Under a heavy load, the 12 V you typed no longer reaches the resistor intact, because the internal drop claims part of it first. The tool cannot know any of this, because it only knows the values you enter. Measure the voltage across the component while the circuit runs, then re-solve with the measured numbers, so the calculation describes the circuit on the bench rather than the one on paper.
Resistor Power Rating Reference
- Common through-hole ratings 0.125 W – 1 W
- Safety margin rule Rate for at least 2× expected dissipation
Calculate your own P = I²R or P = V²/R above and check it against these power ratings before picking a part.
- 1.
All About Circuits, "Ohm’s Law - How Voltage, Current, and Resistance Relate," allaboutcircuits.com, accessed September 2026. https://www.allaboutcircuits.com/textbook/direct-current/chpt-2/voltage-current-resistance-relate/
- 2.
"Electronic color code," Wikipedia, accessed September 2026. https://en.wikipedia.org/wiki/Electronic_color_code
- 3.
All About Circuits, "Voltmeter Impact on Measured Circuit," allaboutcircuits.com, accessed September 2026. https://www.allaboutcircuits.com/textbook/direct-current/chpt-8/voltmeter-impact-measured-circuit/
- 4.
Fluke, "How to Measure Resistance with a Digital Multimeter," fluke.com, accessed September 2026. https://www.fluke.com/en-us/learn/blog/digital-multimeters/how-to-measure-resistance
- 5.
Physics LibreTexts, "20.4: Electric Power and Energy," phys.libretexts.org, accessed September 2026. https://phys.libretexts.org/Bookshelves/College_Physics/College_Physics_1e_(OpenStax)/20%3A_Electric_Current_Resistance_and_Ohm%27s_Law/20.04%3A_20.4_Electric_Power_and_Energy
- 6.
Electronics Tutorials, "LED Resistor," electronics-tutorials.ws, accessed September 2026. https://www.electronics-tutorials.ws/resistor/led-resistor.html
- 7.
HyperPhysics, "Impedance: Series-Parallel Combination," hyperphysics.phy-astr.gsu.edu, accessed September 2026. http://hyperphysics.phy-astr.gsu.edu/hbase/electric/serpar.html
- 8.
Electronics Tutorials, "Resistor Power Rating and the Power of Resistors," electronics-tutorials.ws, accessed September 2026. https://www.electronics-tutorials.ws/resistor/res_7.html
- 9.
TE Connectivity, "CRG0402F1K0: NEOHM Surface Mount Resistors," te.com, accessed September 2026. https://www.te.com/en/product-2-1676480-2.html
- 10.
TE Connectivity, "CRG0603F330R: NEOHM Surface Mount Resistors," te.com, accessed September 2026. https://www.te.com/en/product-1622918-1.html
- 11.
Ohm’s Law, Wikipedia, accessed September 2026. https://en.wikipedia.org/wiki/Ohm%27s_law
- 12.
HyperPhysics, "Temperature Coefficient of Resistance," hyperphysics.phy-astr.gsu.edu, accessed September 2026. http://hyperphysics.phy-astr.gsu.edu/hbase/electric/restmp.html
- 13.
Physics LibreTexts, "10.2: Electromotive Force," phys.libretexts.org, accessed September 2026. https://phys.libretexts.org/Bookshelves/University_Physics/University_Physics_(OpenStax)/University_Physics_II_-_Thermodynamics_Electricity_and_Magnetism_(OpenStax)/10%3A_Direct-Current_Circuits/10.02%3A_Electromotive_Force