The determination of ophthalmic lens quality using traditional focimeters is highly subjective as it relies on the visual sharpness of a target image. The moire deflectometer displays a distribution of focal powers across the lens aperture, making possible the definition of objective quantitative criteria for lens quality. The shape of the fringe pattern is used to discriminate between inherent features such as spherical aberrations, and other defects due to design or manufacture. Interfacing the fringe image with a computer using specially designed image processing software produces a fully automatic system for the determination of lens power and quality. The new method was tested on samples of soft contact lenses measured in saline. The same principles can also be used for spectacle and other types of simple and compound lenses.