The development of technology and the popularization of AI (artificial intelligence), face recognition has become fundamental by various applications, both in military and economic appearance because it is gradually being introduced into the lives of individuals, exemplifying, in the use of face recognition for unlocking mobile phones. Starting in the 1990s, they began to learn age identification by means of a face photo, it should be said that the recognition of the old face is quite challenging within the environment of the perspective by PC. This article is made in order to be used in marketing, as it could be given differentiated products according to the age of consumers; for this purpose we have used public databases to classify by age the images of faces of both men and women, thanks to a model of Convolutional Neural Network (CNN), with which we obtained an efficiency in the categorization of around 97.86%, we also performed prediction tests in which the silver model obtained an approximate success rate of 87.64%. Keywords— Convolutional Neural Network, age classification, mathematical model, artificial intelligence, CNN.