A subpackage for spectral interference correction has been set up in ICP-AES primary expert system. Some numerical recipes have been applied in this subpackage, such as curve smoothing, derivative spectrum, FFT technique, spectral resolving etc. A comprehensive method for spectral interference correction is presented. All these numeric recipes have been tested with simulated data and also utilized in several typical examples of real spectra. Results are satisfactory.