A method for computing aberrations of XUV system is proposed on the basis of aberration coefficient theory and a mert function of spectrometer is deduced. This function is the sguare sum of each aberration coefficent mulitplying by its weiqht factor in each wave length region. The effect of each element and stop position on aberration is considered. A new system is desigend and optimied.