In contrast to uncoated substrate, a nonlinear relationship of phase shift with the thicknesses of the thin film makes the calculation of wavefront aberration complicated. A program is compiled to calculate the wavefront aberration of multilayer thin film produced by thickness nonuniformity. The phy