In this paper, a new method used to calculate the Zernike coefficients of wave aberration from ray aberration and from finite shearing of wavefront is proposed. The simulated results are compared with the least squares fitting method, and indicate that the Zernike coefficients of wave aberration can be calculated as accurately with the new method as with the least squares fitting method, but with less computation and operation.