1. Electronics Tools
  2. Ohm's Law Calculator

Ohm's Law Calculator

Type any two of voltage, current, resistance and power — watch the circuit come alive and get the other two with the working shown.

+V=I×RP = V × I
Try

Type any two values — 12, 20m, 4k7, 3V3 all work.

V
A
Ω
W

Live circuit

+−V ?R ?AI ?I

Enter two values to power the circuit.

LED resistor helper

The resistor takes whatever voltage the LED doesn't. We round up to a standard value so the LED is never overdriven.

LED color
LED current

330 Ω

Exact 300 Ω · LED gets 9.091 mA · resistor dissipates 27.27 mW

Good to know

LEDs don't follow it

Diodes, LEDs and transistors aren't linear. Subtract their drop first, then apply Ohm's law to the resistor.

Power sizes the part

The ohms pick the value; the watts pick the body. A right value in a too-small resistor still burns.

Measure the right way

An ammeter goes in series with the circuit, a voltmeter across the part. Resistance is measured with power off.

Watch the units

20 mA is 0.02 A. Mixing mA and A is the classic ×1000 mistake — type 20m and the calculator handles it.

Ohm's law basics

Ohm's law relates voltage (V), current (I), and resistance (R): V = I × R. Power (P) is the rate of energy transfer: P = V × I. Given any two quantities, the others can be derived — essential for sizing resistors, checking LED current, and debugging circuits.

Ohm's law explained

How Ohm's law works

V = I × R P = V × I = I² × R = V² / R

Ohm's law links the voltage across a resistor (V, in volts), the current through it (I, in amps) and its resistance (R, in ohms). Double the voltage across the same resistor and the current doubles too.

Power (P, in watts) is the energy the part turns into heat each second. Combining it with Ohm's law gives twelve formulas, so knowing any two of the four quantities is enough to find the other two.

Power is what decides the resistor's physical size: a common through-hole resistor is rated 0.25 W, and running it near that limit makes it hot and shortens its life.

Worked example: 470 Ω on a 12 V supply

You connect a 470 Ω resistor straight across a 12 V supply and want to know the current and whether a ¼ W part survives.

  1. Current from voltage and resistanceI = V / R = 12 / 470 = 0.0255 A = 25.5 mA
  2. Power from voltage and currentP = V × I = 12 × 0.0255 = 0.306 W
  3. Compare with the rating0.306 W > 0.25 W

A ¼ W resistor would overheat. A ½ W part works but runs warm; a 1 W part keeps under half its rating and runs cool.

Common mistakes

  • Forgetting the unit prefixes

    20 mA is 0.02 A, and 4.7 kΩ is 4 700 Ω. Mixing milliamps with ohms is the most common source of answers that are off by 1000.

  • Ignoring power

    A value can be correct and still burn the part. Always check P against the resistor's rating, with a safety margin of about two.

  • Applying it to an LED or a motor directly

    LEDs, diodes and motors are not resistors: their current does not follow V/R. For an LED, apply Ohm's law to the series resistor using the voltage left over after the LED's forward voltage.

  • Using the supply voltage instead of the voltage across the part

    In a series circuit each component sees only part of the supply. Use the voltage across the resistor you are calculating.

Ohm's law FAQ

V = I × R. Rearranged, I = V / R and R = V / I. With power: P = V × I, P = I² × R and P = V² / R.

Subtract the LED's forward voltage from the supply, then divide by the LED current. A red LED (about 2 V) at 20 mA on 5 V needs (5 − 2) / 0.02 = 150 Ω, dissipating 60 mW, so a ¼ W resistor is fine.

Calculate P and pick a rating at least twice as large. At half its rating a resistor runs warm but lasts; at full rating it gets hot enough to discolor the board.

For pure resistors, yes, using RMS voltage and current. With capacitors and inductors you need impedance instead of resistance, because current and voltage are no longer in step.

Its resistance is tiny, so V = I × R stays small. At high currents it adds up, though: 10 A through 0.05 Ω of thin wire drops 0.5 V and wastes 5 W.

Free shipping

On orders over $50

Easy returns

30-day hassle-free returns

Secure checkout

Encrypted payments

24/7 support

We're here to help

Dzduino Online Store

Eempowering engineers, students, makers, researchers, and businesses with high-quality and innovative technical solutions.

  • Sales: store@dzduino.com
  • Store: +213 550 88 88 27
  • Sales: +213 550 88 88 29
  • Support: +213 550 88 88 37
  • 043 Cite Remila (Route du Port), Tigditt - Mostaganem

Shop

  • All Categories

Support

  • Track order
  • Orders
  • Account
  • Shipping & returns
  • Shipping calculator

Company

  • About
  • Contact us
  • Site map
  • Privacy
  • Terms

Stay in the loop

New stock, maker deals, and electronics tips — straight to your inbox.

© 2026 Dzduino Electronics, All Rights Reserved

PrivacyTermsShipping & returnsShipping calculatorSite map
CIBBARIDI MobFawriPayCash
Free express shipping on orders over $50
SpecialSaleBlogPrint & CutLabContact us

Related products

Boards, modules, and kits that pair with this tool.

Arduino UNO SMD (Arduino Compatible)

Arduino UNO SMD (Arduino Compatible)

DZD 1,500.00Out of StockOut of Stock
Arduino DUE ( Compatible) EN

Arduino DUE ( Compatible) EN

DZD 6,000.00Out of StockOut of Stock
Iteaduino Tiny (Arduino Compatible)

Iteaduino Tiny (Arduino Compatible)

DZD 900.00Out of StockOut of Stock
Iteaduino Nano (Arduino Compatible)

Iteaduino Nano (Arduino Compatible)

DZD 2,500.00Out of StockOut of Stock
Iteaduino

Iteaduino

DZD 1,500.00Out of StockOut of Stock
45 IN 1 SENSOR KIT FOR ARDUINO

45 IN 1 SENSOR KIT FOR ARDUINO

DZD 6,500.00Out of StockOut of Stock
RBOARD (Relay Board)

RBOARD (Relay Board)

DZD 4,900.00In StockIn Stock
Resistor 1/4W

Resistor 1/4W

FromDZD 5.00In StockIn Stock
View all