The present invention relates to a system and a method for determining the power of an artificial intraocular lens (IOL) in situ. The invention furthermore relates to a system and a method for predicting the optical outcome of IOL surgery. Use of the system may provide prevention, treatment, or amelioration of diseases and disorders affecting the lens of the eye and which may benefit from IOL surgery. Moreover, the invention relates to a computer-readable medium for implementing such a system on a computer.