Coronavirus disease (COVID-19), an effect of the SARS-CoV-2 virus, is an emerging infectious disease that infects humans due to interspecies transmission. Typically, Spike (S) protein plays a crucial role in entering host cells and beginning infection in contrast to the Membrane (M) and Envelope (E) proteins which are primarily involved in virus assembly. The purpose of this research is to examine the S protein sequences of the human virus to forecast SARS-CoV-2 infection potential. Using computational modeling and bioinformatics approaches, we analyzed the dataset taken from the Virus Pathogen Database except for 47 SARS2-CoV sequences from the SARS2-CoV Database containing aligned sequences of lengths 2396. This study suggests using several machine learning methods to determine infectivity based on the sequence of the coronavirus spike protein. The classical machine learning approach such asĀ k-nearest neighbors (KNNs), Gaussian Naive Bayes (GaussianNB), support vector machine (SVM), decision tree (DT) is used. Bagging Classifier, Gradient Boosting algorithm, and Random Forest are used as the ensemble machine learning algorithm. Artificial Neural Network (ANN) is also applied as a deep learning model. The Gradient Boosting algorithm demonstrates the best accuracy in determining infectivity status. According to our research, the outcome of this study has a chance to accurately forecast coronavirus infectivity from genetic information.