Calcamaze

Ohm's Law Calculator

Calculate voltage, current or resistance from the other two, plus the power.

Solve for any value — pick what to calculate in the first field

V
Ω

Result

Current
0.5 A
Power
6 W
P = V × I

Ohm's law describes how voltage, current and resistance relate in an electrical circuit: the voltage across a resistor equals the current through it multiplied by its resistance. Enter any two to find the third, along with the power dissipated.

It is the first calculation for almost any small electronics job: choosing a resistor for an LED, checking the current a heater draws, or working out why a wire runs warm. Every result also shows the power, so you can check the component’s wattage rating.

What is Ohm’s law?

Ohm’s law says the current through a conductor is proportional to the voltage across it: V = I × R, where V is voltage in volts, I is current in amperes and R is resistance in ohms. It was published by Georg Ohm in 1827 and underpins almost all circuit calculations.

Combined with the power formula P = V × I, it also gives the power a component uses or dissipates as heat — important for choosing resistors with a high enough wattage rating and for sizing wires and fuses.

How to use the ohm's law calculator

  1. Choose what to calculate in the first field.
  2. Enter the other two values, converting milliamps to amps (20 mA is 0.02 A) and kΩ to Ω.
  3. Read the result and the power, and pick a part rated comfortably above that power.

Formula

V = I × R

Where V is the voltage (V), I is the current (A), R is the resistance (Ω).

Choose any value to calculate — the calculator rearranges the formula for you.

Worked examples

Current through a resistor

Calculate
Current
Voltage
12 V
Resistance
24 Ω
Current
0.5 A
Power
6 W

I = V ÷ R = 12 V ÷ 24 Ω = 0.5 A, and the resistor dissipates P = 12 × 0.5 = 6 W.

Choosing an LED resistor

Calculate
Resistance
Voltage
3 V
Current
0.02 A
Resistance
150 Ω
Power
0.06 W

With 5 V supply and a 2 V LED, the resistor drops 3 V at 20 mA: R = 3 ÷ 0.02 = 150 Ω.

Ohm’s law and power formulas

FindFormula
VoltageV = I × R
CurrentI = V ÷ R
ResistanceR = V ÷ I
PowerP = V × I
Power (from current)P = I² × R
Power (from voltage)P = V² ÷ R

Choosing a resistor for an LED

An LED needs a resistor to limit its current. Subtract the LED’s forward voltage from the supply and divide by the current you want. A red LED that drops about 2 V, run from 5 V at 20 mA, needs (5 − 2) ÷ 0.02 = 150 Ω, and the resistor dissipates 3 × 0.02 = 0.06 W, so a standard ¼ W part is plenty. Check the LED’s datasheet for its actual forward voltage and current.

Resistors in series and parallel

In series, resistances add: 100 Ω and 220 Ω make 320 Ω. In parallel, the reciprocals add: 1 ÷ R = 1 ÷ R₁ + 1 ÷ R₂, so two 100 Ω resistors in parallel make 50 Ω. Work out the combined resistance first, then use it in V = I × R.

Power formulas

Combining Ohm’s law with P = V × I gives two more useful forms: P = I² × R and P = V² ÷ R.

Common mistakes

  • Using milliamps as amps — 20 mA is 0.02 A.
  • Ignoring the power rating: a resistor that dissipates 0.5 W needs at least a ½ W (preferably 1 W) part.
  • Applying Ohm’s law to components such as LEDs and diodes whose resistance isn’t constant.
  • Forgetting the LED’s forward voltage. Using the full supply voltage over the resistor gives too large a value and a dim LED.

Frequently asked questions

What is Ohm's law?

V = I × R: voltage (volts) equals current (amperes) times resistance (ohms). It holds for ohmic conductors such as ordinary resistors.

How do I calculate current from voltage and resistance?

Divide the voltage by the resistance: I = V ÷ R. 9 V across 450 Ω gives 0.02 A (20 mA).

Does Ohm’s law work for a light bulb?

Only roughly. A filament’s resistance rises steeply as it heats up, so a bulb draws much more current at the moment it is switched on than once it is glowing. Ohm’s law holds at any instant, but the resistance isn’t constant.

What is the formula for power?

P = V × I. Substituting Ohm’s law gives P = I² × R and P = V² ÷ R, which are handy when you know only the current or only the voltage.

Sources

  1. University Physics Volume 2, 9.4: Ohm’s Law, OpenStax, Rice University
  2. University Physics Volume 2, 9.5: Electrical Energy and Power, OpenStax, Rice University
  3. University Physics Volume 2, 10.2: Resistors in Series and Parallel, OpenStax, Rice University

Last updated · Calculations checked by automated tests· Editorial policy