Providing multi-focal visual correction includes determining a plurality of visual conditions to which an eye is to be exposed, determining effects of the visual conditions on a pupil of the eye, and determining a target wavefront profile on the basis of the effects.