The compound X-ray lens for focusing hard X-rays is a new refractive optical device composed of many elementary lenses in the form of a line of small holes, drilled in a bulk material. A theory of such a lens is presented that allows the calculation of focal position, focal spot spatial distribution, resolution, and intensity gain in the focal spot. (C) 1998 Elsevier Science B.V. All rights reserved.