A method of performing an eye examination test for examining eyes of a user, said method using a computing device as well as an input too, wherein said computing device comprises a screen and comprises a camera unit arranged for capturing images, said method comprising the steps of capturing, by said camera unit of said computing device, at least one image of a human face of said user facing said screen, detecting, by said computing device, in said at least one captured image, both pupils of said human face, determining, by said computing device, a distance of said user to said screen based on a predetermined distance between pupils of a user, a distance between said detected pupils in said at least one captured image, and a focal length of said camera unit corresponding to said at least one captured image, and performing, by said computing device in combination with said input too, said eye examination test using said determined distance.