Skip to content
EN
  • Español
  • English
Advertisement

Ohm's law calculator: voltage, current, resistance and power

Calculate voltage, current, resistance or power from any two values, plus the energy lost as Joule heating. With the Ohm's law wheel of formulas.

Fill in 2 of the 4 fields and the rest are calculated. You can type in any of them.

Also called potential difference (V).
In AC, the impedance Z.
Only for the energy (Joule heating) and the charge.
Energy in that time (Joule heating)—
Charge that flows in that time—

Use this calculator for reference only, as we cannot guarantee that the results are free of errors.

Disclaimer

https://dyaii.es/en/ohms-law-calculator/

Advertisement

Ohm's law ties together the three basic quantities of a circuit: the voltage that pushes the current, the current that flows and the resistance that opposes it. Add the power formula and any two of these four values give you the other two. This calculator does it in any unit (mV, kV, mA, kΩ, MΩ, kW…), shows you on the Ohm's law wheel which formula it used and, if you give it a time, the energy turned into heat by Joule heating.

How to use the calculator

  1. Enter any two values among voltage (U), current (I), resistance (R) and power (P). The other two are calculated. If you type in a calculated field, it becomes an input and the oldest one is recalculated.
  2. Pick the unit you want in each drop-down: the math is the same with 5 V and 2.2 kΩ as with 0.005 kV and 2200 Ω.
  3. Change the operating time to see the energy (Joule heating) and the charge that flows in that time. It is set to 1 hour by default.
  4. In the drawing, the ammeter and voltmeter needles show the values, the electrons move faster the more current there is and the resistor glows red according to the power. Below, the wheel highlights the two formulas that were used.

Ohm's law formula

U = R · I · · · I = U / R · · · R = U / I

Where U is the voltage in volts (V), I the current in amperes (A) and R the resistance in ohms (Ω). The power the resistor draws (or dissipates) is:

P = U · I = I² · R = U² / R

With the power in watts (W). Combining the two formulas gives the twelve combinations of the Ohm's law wheel:

To calculateFrom U and IFrom U and RFrom I and RFrom P and UFrom P and IFrom P and R
Voltage U——I · R—P / I√(P · R)
Current I—U / R—P / U—√(P / R)
Resistance RU / I——U² / PP / I²—
Power PU · IU² / RI² · R———
Advertisement

Worked example

A 100 Ω resistor connected to 12 V:

I = U / R = 12 / 100 = 0.12 A = 120 mA
P = U² / R = 12² / 100 = 1.44 W

In one hour of operation it turns E = P · t = 1.44 W · 1 h = 1.44 Wh into heat, which is 1.44 · 3600 = 5184 J, and a charge of 0.12 A · 1 h = 120 mAh flows through it. Since it dissipates 1.44 W, a 1/4 W or a 1 W resistor will not do: you need at least a 2 W one, preferably 3 W or more.

Energy and Joule heating

All the power a resistor draws is turned into heat. This is Joule heating, the effect put to work in space heaters, ovens, water heaters and fuses, and the one that warms up cables. The energy over a time t is:

E = P · t = I² · R · t

With P in watts and t in seconds, E comes out in joules (J). Handy equivalences: 1 Wh = 3600 J, 1 kWh = 3.6 MJ and 1 kcal = 4184 J. Electricity bills use kWh: a 2000 W heater running for 3 hours uses 6 kWh.

In AC: impedance

In AC, inductors and capacitors also oppose the flow of current. That total opposition is the impedance Z, which is measured in ohms and combines the resistance R with the reactance X:

Z = √(R² + X²) · · · U = Z · I

Ohm's law works the same way if you type the impedance in the resistance field, with the RMS values of voltage and current (the 230 V of a wall outlet are RMS). What changes is the power: U · I is then the apparent power S, in volt-amperes (VA). The active power, the one that becomes heat or work, is P = U · I · cos φ, or P = I² · R with the resistive part. In a purely resistive load (heaters, incandescent lamps, water heaters) Z = R, cos φ = 1 and everything matches DC. For loads with a power factor, use the electrical power calculator.

Standard resistor power ratings

Resistors are made for a maximum power. Above it they overheat, drift in value and end up burning out. Always pick one with some margin; the usual choice is twice the power it dissipates:

Resistor power ratingUse it up to aboutTypical use
1/8 W (0.125 W)0.06 WSignal electronics, SMD 0805
1/4 W (0.25 W)0.12 WThe most common in through-hole builds
1/2 W (0.5 W)0.25 WLED on 230 V with a capacitor, 24 V pull-up
1 W and 2 W0.5 W and 1 WCurrent limiting, power supplies
5 W to 50 W (ceramic or aluminum-housed)halfBraking, precharge, test loads
The resistance of a cable also obeys Ohm's law: that is why a long or thin cable has voltage drop and heats up. Calculate its resistance with the conductor resistance calculator.
Advertisement

Frequently asked questions

What does Ohm's law state?

That the current through a conductor is proportional to the voltage applied and inversely proportional to its resistance: I = U / R. Double the voltage and the current doubles; double the resistance and the current is cut in half.

Which values do I have to enter?

Any two of voltage, current, resistance and power. The other two are calculated automatically with the matching formula from the wheel, which is highlighted in the drawing.

Does it work for AC?

Yes, using the impedance Z in place of the resistance: U = Z · I. But then U · I is the apparent power (VA); the active power, the one that produces heat, is P = I² · R with the resistive part of the impedance, or P = U · I · cos φ.

What is Joule heating?

The heat a conductor gives off when current flows through it. The energy is E = P · t = I² · R · t: a 100 Ω resistor on 12 V dissipates 1.44 W and in one hour turns 1.44 Wh (5184 J) into heat.

What power rating should the resistor have?

Higher than the power it dissipates, with some margin: the usual choice is twice as much. If the calculator gives 0.3 W, a 1/4 W (0.25 W) resistor would burn out; use a 1 W one, or 1/2 W at the very least.

Related calculators

Share

WhatsApp X LinkedIn Telegram Email
Advertisement

Install Diseño y automatización de instalaciones industriales on your phone

All the calculators one tap away, full screen, like an app. It takes no space and is always up to date.