In electronics, gain is a measure of the ability of a twoport circuit (often an amplifier) to increase the power or amplitude of a signal from the input to the output port by adding energy converted from some power supply to the signal.