A method for grading a cataract, the method including creating a three-dimensional image of at least most of a lens of an eye having a cataract from information received from an imaging system, comparing the three-dimensional image with a first template to determine an optical density of the lens, and determining a grade for the cataract based on the comparison of the optical density of the lens and a volume of the first template. A system and computer software code for grading a cataract are also disclosed.