Skip to content
Formulaxis

Electrical engineering

Ohm’s law: voltage, current, resistance and power

Choose U, R or I as the unknown in U=R I. Power P and energy E over the entered duration complete the result. This model uses nonnegative quantities: steady DC or purely resistive AC with RMS values and constant resistance.

Created on , Revised on v2.0

Method and validation

Resistance, power and energy

DC voltage or RMS voltage for a purely resistive load.

DC current or RMS current for a purely resistive load.

Supply duration; zero duration gives zero energy.

Initial values are examples.

Results

Resistance R
12Ω
Power P
48W
Energy E
8Wh

Resistive model: constant DC quantities, or AC RMS values for a purely resistive load.

Applied formulas

R=UI
R=(24 V)(2 A)=12 Ω
P=U×I
P=(24 V)×(2 A)=48 W
E=U×I×t
E=(24 V)×(2 A)×(600 s)=8 Wh

Values are substituted in SI units and results are shown in the selected units.

Estimated reading time : 4 min · 637 words

Calculation details

The first result is the selected unknown: U, R or I. P and E are additional results; E depends on duration, with automatic conversion to Wh.

01 · Resistance

FORMULA

R=UI

NUMERICAL SUBSTITUTION

R=(24 V)(2 A)

RESULT

R=12 Ω

02 · Power

FORMULA

P=U×I

NUMERICAL SUBSTITUTION

P=(24 V)×(2 A)

RESULT

P=48 W

03 · Energy consumed

FORMULA

E=U×I×t

NUMERICAL SUBSTITUTION

E=(24 V)×(2 A)×(10 min)

RESULT

E=8 Wh

Resistance, power and energy of a resistive load

An ohmic element has voltage proportional to current at a given temperature. Resistance measures that ratio. Power is the rate of energy transfer at an instant or during a steady operating period; energy accumulates that power over time. A power of 48 W maintained for one hour consumes 48 Wh.

Formulas and symbols

U=R I gives U=R I, I=U/R or R=U/I for the selected unknown. Power is P=U I = I²R = U2/R when the quotients are defined; energy is E=P t.

R=UI

P=U×I

E=U×I×t

  • U: voltage across the component, in V.
  • I: current, in A.
  • t: supply duration, in s after conversion.
  • R: resistance, in Ω.
  • P: electrical power, in W.
  • E: energy, in J; it may also be displayed in Wh or kWh. U and I are constant in DC, or RMS values for a purely resistive AC load.

Power and energy: units

QuantityUnitReference
VoltageVPotential difference
CurrentA1 A equals 1 000 mA
ResistanceΩVoltage-to-current ratio
PowerWEnergy per second
EnergyWh1 Wh equals 3 600 J

OpenStax — Ohm's law ; NIST — Guide to the SI, Appendix B.9.

Worked examples

Example 1: 24 V, 2 A load for 10 min

The voltage-to-current ratio gives 12 Ω. Power is 48 W. Over 600 s, energy is 28 800 J, or 8 Wh.

Example 2: 12 V, 5 A load for 30 min

Resistance is 2,4 Ω and power is 60 W. Half an hour of use consumes 30 Wh, or 108 000 J.

Example 3: Check case

U=12 V ; I=500 mA=0,5 A ; t=0 s : R=12/0,5=24 Ω ; P=12×0,5=6 W ; E=6×0=0 Wh.

Assumptions and limitations

U, I, R and duration are nonnegative; a denominator must be positive. U=0 with R > 0 gives I=0; I=0 with known R gives U=0. R=0 with known I only describes the ideal case U=P=E=0, not a real supply short circuit. Zero duration gives E=0. Resistance and physical conditions are constant. Heating, reactance and transients are not modelled, and component ratings are not selected.

Common mistakes

500 mA equals 0,5 A, not 500 A. Watts describe power; watt-hours describe energy. A diode or motor cannot be reduced to constant resistance. Heating can change actual resistance.

Frequently asked questions

How do you convert power to energy?

For constant power, multiply it by duration: W×h gives Wh and W×s gives joules. If power varies, an appropriate average power over the period is needed; the peak value alone is insufficient.

When is a zero case undetermined?

U=I=0 does not identify R. Likewise U=R=0 does not determine I. Another datum or measured point is required; the calculation does not replace this information with zero. Other zero cases compatible with U=R I are described in the limits.

Can this calculation model a motor?

Not as a complete model. Motors require electromechanical behavior, losses and appropriate AC power relations.

What does zero duration mean?

Energy is zero over the interval, while power remains defined; this does not model a switching transient.