A method for calculating physiological parameters, comprising: selecting a section of time domain signal corresponding to at least one signal of red light and infrared light obtained by sampling, and performing a conversion from time domain to frequency domain to obtain a corresponding frequency domain signal; selecting all rational frequency spectrum peak information, calculating energy information of selected reasonable frequency spectrum peaks, and forming a frequency spectrum peak energy ratio sequence; constructing a stability coefficient according to the frequency spectrum peak energy ratio sequence, and if the stability coefficient is low, constructing a compensation coefficient by using the frequency spectrum peak energy ratio sequence; and compensating for at least one of the time domain signal and the frequency domain signal by using the compensation coefficient, and calculating based on at least one of the compensated time domain signal and the frequency domain signal to obtain the physiological parameters.