The invention discloses a variable-gain low-noise amplifier with broadband flat gain. The amplifier comprises a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a fifth capacitor, a first inductor, a second inductor, a third inductor, a fourth inductor, a fifth inductor, a first bias resistor, a second bias resistor, a first NMOS transistor, a second NMOS transistor, a first group of switching transistors, a second group of switching transistors, n resistors, n control voltages, a DC bias and a power supply, wherein each of the first group of switching transistors and the second group of switching transistors comprises n switching transistors. According to the invention, better compromise between noise matching and broadband input matching is realized by adoptinga transformer through gate drain of the input transistor, and broadband flat gain response is realized by adopting a double-gate inductance peaking technology; and the digital switch controls the voltage flatness gain.