Abstract: A contact lens manufacturing method by electronic matching the corneal shape. The corneal shape is reproduced in the back surface of a contact lens via electronic corneal topography, according to morphological conditions imposed by functional optimization of said lens and a numerical definition of a tear film layer covering the cornea surface. The invention provides electronic corneal topography and numerical optimization techniques to define the lens geometry in order to achieve a corneal fit congruent with the fitter choice. The contact lens specialist who examines the cornea may configure the numerical processing according to the kind of corneal fit he chooses, without having to define lens geometrical parameters. The method provides a numerical description of the lens geometry, that is translated into a suitable format for Computer Numerical Controlled (CNC) machining.