A method for performing wavefront-guided laser surgery on a cornea includes the step of calculating a corneal flap configuration based upon collected anatomical information on an eye and wavefront data on a cornea of the eye. Such data may be collected by, for example, an aberrometer, although this is not intended as a limitation. The calculated configuration is transmitted to a processor in controlling relation to a corneal flap-cutting device. The flap-cutting device is used to create a corneal flap based upon the calculated configuration. A system for performing wavefront-guided laser surgery on a cornea includes a processor for receiving the anatomical information and wavefront data. A software package is adapted to calculate the corneal flap configuration and to control a corneal flap-cutting device to cut a corneal flap commensurate with the calculated corneal flap configuration.