Carbon dioxide (CO2) concentrations play an important role in plant production, as they have a direct impact on both plant growth and yield. Therefore, the objectives of this study were to predict CO2 concentrations in the greenhouse by applying time series models using five datasets. To estimate the CO2 concentrations, this study was conducted over a four-month period from 1 December 2023 to 31 March 2024, in a strawberry-cultivating greenhouse. Fifteen sensors (MCH-383SD, Lutron, Taiwan) were installed inside the greenhouse to measure CO2 concentration at 1-min intervals. Finally, the dataset was transformed into intervals of 1, 5, 10, 30, and 60 min. The time-series data were analyzed using the autoregressive integrated moving average (ARIMA) and the Prophet Forecasting Model (PFM), with performance assessed through root mean square error (RMSE), mean absolute error (MAE), and coefficient of determination (R2). The evaluation indicated that the best model performance was achieved with data collected at 1-min intervals, while model performance declined with longer intervals, with the lowest performance observed at 60-min intervals. Specifically, the ARIMA model outperformed across all data collection intervals while comparing with the PFM. The ARIMA model, with data collected at 1-min intervals, achieved an R2 of 0.928, RMSE of 7.359, and MAE of 2.832. However, both ARIMA and PFM exhibited poorer performances as the interval of data collection increased, with the lowest performance at 60-min intervals where ARIMA had an R2 of 0.762, RMSE of 19.469, and MAE of 11.48. This research underscores the importance of frequent data collection for precise environmental control in greenhouse agriculture, emphasizing the critical role of short-interval data collection for accurate predictive modeling.