A method based on the diffraction theory for estimating the three-dimensional (3D) focusing performance of the compound refractive X-ray lenses is presented in this paper. As a special application, the 3D X-ray intensity distribution near the focus i