Joule heating, also known as ohmic heating and resistive heating, is the process by which the passage of an electric current through a conductor releases heat.
Joule's first law, also known as the Joule–Lenz law, states that the power of heating generated by an electrical conductor is proportional to the product of its resistance and the square of the current:
Joule heating affects the whole electric conductor, unlike the Peltier effect which transfers heat from one electrical junction to another.
where t is time and P is the instantaneous power being converted from electrical energy to heat. Far more often, the average power is of more interest than the instantaneous power: