The human life span relies upon different features like the financial development of the nation, wellbeing developments of the people. In this paper, we proposed a machine learning model to predict the life expectancy of a person. We conducted our experiments on a dataset taken from Kaggle (WHO life expectancy dataset). The dataset contains 2938 rows and 22 features. We applied various regression algorithms to predict life expectancy. We also applied various classification algorithms by dividing life expectancy into five different ranges. On investigating different models, we can infer that random forest regression produces the most exact outcomes concerning life expectancy prediction. In classification models, random forest classification is given accuracy of 88%. We used Python for implementing all our experiments.