Joule's first law (also just Joule's law), also known in countries of the former USSR as the Joule–Lenz law, states that the power of heating generated by an electrical conductor equals 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.