Nowadays, due to the complex signal medium conversion process of semiconductor laser amplifiers, the optical fiber amplifier, which is a new type of all-optical amplifier, is increasingly used in optical fiber communication lines for signal amplification because it can directly perform all-optical amplification of signals and are especially suitable for relay amplification of long-distance optical communications. Our research project is the gain spectrum of the Thulium-doped broadband fiber amplifier. The signal wavelength range is from to . The goal is to obtain the gain spectrum with fiber length variation, doping concentration, and pump power. This paper follows a logical order that presents the introduction, the formulas used in the experiment, and the result and analysis. According to the output wavelength range, energy level structure, and electronic transition process, we designed the pump wavelength and established the rate and power propagation equations. Eventually, gain spectrum with a variation of fiber length, doping concentration, and pump power is available using MATLAB for programming and calculating. With our research achievement, a more efficient optical fiber amplifier is possible to be made in the future.