The outbreak of COVID-19 is a global problem today, and, to reduce infectious cases and increase recovered cases, it is relevant to estimate the future movement and pattern of the disease. To identify the hotspot for COVID-19 in Bangladesh, we performed a cluster analysis based on the hierarchical k-means approach. A well-known epidemiological model named “susceptible-infectious-recovered (SIR)” and an additive regression model named “Facebook PROPHET Procedure” were used to predict the future direction of COVID-19 using data from IEDCR. Here we compare the results of the optimized SIR model and a well-known machine learning algorithm (PROPHET algorithm) for the forecasting trend of the COVID-19 pandemic. The result of the cluster analysis demonstrates that Dhaka city is now a hotspot for the COVID-19 pandemic. The basic reproduction ratio value was 2.1, which indicates that the infection rate would be greater than the recovery rate. In terms of the SIR model, the result showed that the virus might be slightly under control only after August 2022. Furthermore, the PROPHET algorithm observed an altered result from SIR, implying that all confirmed, death, and recovered cases in Bangladesh are increasing on a daily basis. As a result, it appears that the PROPHET algorithm is appropriate for pandemic data with a growing trend. Based on the findings, the study recommended that the pandemic is not under control and ensured that if Bangladesh continues the current pattern of infectious rate, the spread of the pandemic in Bangladesh next year will increase.