In electronics, gain is a measure of the ability of a circuit to increase the power or amplitude of a signal from the input to the output, by adding energy to the signal converted from some power supply. It is usually defined as the mean ratio of the signal output of a system to the signal input of the same system. It may also be defined on a logarithmic scale, in terms of the decimal logarithm of the same ratio.