The full aperture complex amplitude transmittance function of a multi-level diffraction lens with mask-alignment errors was derived based on scalar diffraction theory. The point spread function (PSF) was calculated by the Kirchhoff diffraction integr