Ohm's Law / Resistance Calculator

Solve any leg of Ohm's law (V = IR).

Science V, I, R, P IEC 60062
Rate this calculator · 5.0 (1)

Ohm's Law V = I × R

Enter any 2 of V, I, R · shows power in 3 forms

Instructions — Ohm's Law / Resistance Calculator

1

Enter any two values

Type two of voltage (V), current (A), and resistance (Ω). The calculator solves the third using Ohm's law: V = I × R.

2

Read the power output

The result panel shows electrical power in three forms: P = VI, P = I²R, and P = V²/R. All three give the same value but use different known quantities.

3

Use the circuit presets

Quick picks load standard scenarios: a 12 V hobby circuit, a 120 V U.S. outlet, a 230 V European kettle, and an LED forward-biased at 20 mA.

Formulas

Ohm's law
$$ V = I \times R $$
Voltage equals current times resistance. The cornerstone equation for ohmic conductors.
Solve for current
$$ I = \frac{V}{R} $$
Current equals voltage divided by resistance. R must be greater than zero.
Solve for resistance
$$ R = \frac{V}{I} $$
Resistance equals voltage divided by current. I must be greater than zero.
Power forms
$$ P = VI = I^2 R = \frac{V^2}{R} $$
Three equivalent ways to compute electrical power dissipated, depending on which two quantities you know.

Reference

Common standard E24 resistor values
ResistanceColor code (4-band)Typical use
10 ΩBrown-Black-BlackLED current limit (low V)
100 ΩBrown-Black-BrownAudio damping
220 ΩRed-Red-BrownLED with 5 V supply
470 ΩYellow-Violet-BrownPull-up, pull-down
1 kΩBrown-Black-RedGeneral purpose
4.7 kΩYellow-Violet-RedI²C bus pull-up
10 kΩBrown-Black-OrangeAnalog signal conditioning
100 kΩBrown-Black-YellowHigh-impedance input
1 MΩBrown-Black-GreenVoltage dividers, op-amp input

Article — Ohm's Law / Resistance Calculator

Ohm's law and resistance calculator

Ohm's law states that voltage equals current times resistance: V = I × R. From any two of the three quantities you can solve the third, then derive electrical power through P = VI, P = I²R, or P = V²/R. The law holds for ohmic materials at constant temperature, which covers most metal resistors used in electronics.

Georg Simon Ohm published the relation in 1827 in his treatise on the galvanic circuit. The unit of resistance, the ohm (Ω), was named in his honor by the 1861 International Electrical Congress. Every working electrician, circuit designer, and physics student uses this law.

What Ohm's law says

The law links three measurable quantities. Voltage is the electrical potential difference between two points, measured in volts (V). Current is the rate of charge flow, measured in amperes (A) where 1 A = 1 coulomb per second. Resistance is the material's opposition to current flow, measured in ohms (Ω) where 1 Ω = 1 V/A.

Push more volts through a fixed resistor and current rises in direct proportion. Add resistance at the same voltage and current falls. The relationship is linear and constant for an ideal resistor at constant temperature, which is what makes it so practical for everyday circuit math.

Did you know

Ohm's work was rejected by the German academic establishment of his time. He resigned his teaching post in protest. International recognition came in the 1840s and 1850s; the British awarded him the Copley Medal in 1841, well after the original paper.

The Ohm's law formula and its rearrangements

One equation, three useful forms.

Ohm's law cheat sheet
V = I × R I = V / R
R = V / I P = V × I
P = I² × R P = V² / R

Worked examples cover the three rearrangements:

  • Find R — 12 V battery drives 0.5 A through a load. R = 12 / 0.5 = 24 Ω.
  • Find I — 5 V supply with a 220 Ω resistor. I = 5 / 220 = 22.7 mA.
  • Find V — 100 Ω resistor carrying 0.1 A. V = 100 × 0.1 = 10 V drop across the resistor.

Power and Ohm's law

Electrical power dissipated in a resistor equals voltage drop times current. From Ohm's law you can substitute to get three equivalent forms:

P = V × I when you know voltage and current directly. P = I² × R when you know current and resistance, common for series circuit analysis. P = V² / R when you know voltage and resistance, common for parallel circuit branch calculations.

A 1 kΩ resistor with 10 V across it dissipates P = V²/R = 100/1000 = 0.1 W. A 1/8 W resistor would overheat and fail; pick a 1/4 W part with at least a 2× margin. Surface-mount resistors at 0603 size are rated 0.1 W; through-hole 1/2 W axials handle 0.5 W; high-power chassis-mount resistors run 25 W and up.

Always size resistor wattage above the calculated dissipation

A resistor with a 1/4 W rating run continuously at 0.25 W will burn out within months. Aim for 2× the calculated dissipation as a working margin, more if airflow is poor or ambient temperature is high. The body of a power resistor can reach 150 to 200 C in normal use.

Resistor color codes (IEC 60062)

Standard axial resistors use colored bands per IEC 60062. The 4-band system encodes two digits, a multiplier, and a tolerance.

Brown-Black-Red-Gold
1 kΩ ±5%
1 × 0 × 100
Yellow-Violet-Orange-Brown
47 kΩ ±1%
4 × 7 × 1000

Decode left to right: first digit, second digit, multiplier (power of 10), tolerance. Black = 0, brown = 1, red = 2, orange = 3, yellow = 4, green = 5, blue = 6, violet = 7, gray = 8, white = 9. Gold multiplier = 0.1, silver = 0.01. Gold tolerance = 5%, silver = 10%.

Using Ohm's law to size an LED resistor

LEDs need current limiting because their forward voltage is nearly constant once they conduct. Without a resistor, even a small overvoltage drives unlimited current and destroys the part.

The math: subtract the LED forward voltage (Vf) from the supply, then divide by the target current. A red LED has Vf around 2.0 V and a safe current of 20 mA. On a 5 V Arduino pin: R = (5 - 2) / 0.020 = 150 Ω. Round up to the nearest E24 value (150 Ω exists) or use 180 Ω for a touch more headroom.

Tip

For a blue or white LED at Vf = 3.2 V driven from 5 V at 20 mA, R = (5 - 3.2) / 0.020 = 90 Ω. The standard value 100 Ω gives 18 mA, which is fine. Always pick the next standard value above the calculated R; lower R means more current.

Series and parallel resistance

Two resistors in series add. Two resistors in parallel combine as the product over the sum, or equivalently 1/Rtotal = 1/R1 + 1/R2.

  • Series — same current through all, voltages add. Rtotal = R1 + R2 +...
  • Parallel — same voltage across all, currents add. 1/Rtotal = sum of 1/Ri
  • Two equal resistors in parallel — half the resistance. Two 10 kΩ gives 5 kΩ.
  • Two unequal resistors in parallel — product over sum. 10 kΩ with 1 kΩ gives 909 Ω.
  • Smallest dominates parallel — parallel total is always less than the smallest member.

Common Ohm's law mistakes

The law is simple. The errors come from edge cases and bad assumptions.

  • Treating a diode like a resistor — semiconductor junctions have a curved V-I characteristic. Ohm's law gives a useful slope at a single operating point, not the full curve.
  • Forgetting wire resistance — a 30 m run of 14 AWG copper has about 0.25 Ω. At 15 A that drops 3.75 V from a 120 V circuit, a 3 percent loss to ignore at your peril.
  • Mixing milli and base units — 20 mA is 0.020 A. Plug 20 into the formula instead of 0.020 and you are off by 1,000.
  • Ignoring temperature — copper resistance rises 0.39 percent per °C. A tungsten lamp filament has roughly 10× higher resistance hot than cold.
  • Using Ohm's law with reactive AC loads — inductors and capacitors require V = IZ where Z is complex impedance. The simple form is for pure resistance only.

FAQ

Ohm's law states that voltage equals current times resistance: V = I × R. Georg Simon Ohm published the relation in 1827. It holds for materials and components called ohmic (most metal resistors); non-ohmic devices like diodes and lamp filaments do not follow a single linear V-I curve.
Rearrange to I = V / R. A 5 V supply through a 220 Ω resistor gives I = 5 / 220 = 22.7 mA. Make sure units match: volts, amperes, ohms.
R = V / I. A 12 V battery driving 0.5 A through a load implies R = 12 / 0.5 = 24 Ω. Useful for measuring unknown resistors with a multimeter.
Three equivalent forms: P = V × I, P = I² × R, P = V² / R. Use whichever pair of values you have. All return power in watts.
Subtract the LED forward voltage from the supply, then divide by the target current. A red LED (Vf = 2 V, If = 20 mA) on 5 V needs (5 - 2) / 0.020 = 150 Ω. Pick the next standard value (150 or 180 Ω).
The ohm (Ω). One ohm equals one volt per ampere. Named for Georg Ohm in 1861 by the International Electrical Congress.
For resistive AC loads yes, using RMS values. For loads with inductance or capacitance the relation becomes V = IZ, where Z is impedance (a complex quantity). Pure resistors still obey the simple form.
In active devices like tunnel diodes and certain semiconductor amplifiers, an increase in voltage produces a decrease in current over part of the operating range. The slope dV/dI is negative there, and these devices can act as oscillators. Passive resistors always have positive resistance.
It dissipates electrical energy as heat at rate P = I²R. A 1 kΩ resistor with 10 V across it dissipates 0.1 W. Pick a resistor wattage rating at least 2× the calculated dissipation, more if the resistor sits in still air.