An amplifier, electronic amplifier or (informally) amp is an electronic device that can increase the magnitude of a signal (a time-varying voltage or current). It may increase the power significantly, or its main effect may be to boost the voltage or current (power, voltage or current amplifier). It is a two-port electronic circuit that uses electric power from a power supply to increase the amplitude of a signal applied to its input terminals, producing a greater amplitude signal at its output. The ratio of output to input voltage, current, or power is termed gain (voltage, current, or power gain). An amplifier, by definition has gain greater than unity (if the gain is less than unity, the device is an attenuator).