In the field of sales forecasting, there are still various challenges in conducting comprehensive analysis and accurate predictions for bicycle sales, including the diversity of sample data, the range of research scope, and the methods employed. This study aims to fill this research gap by applying a bicycle sales dataset and two ensemble learning methods to investigate the factors influencing bicycle sales and conduct sales predictions and analysis. The research findings indicate that cost, profit, and income are the most significant factors influencing bicycle profit predictions. Compared to the Random Forest model, the Gradient Boosting model performs better in predicting bicycle profits. This paper discusses the relevance and predictive performance of the bicycle sales dataset, providing opportunities for improvement and further optimization in future research to enhance the accuracy and reliability of bicycle sales predictions and offer valuable insights for decision-making and planning. Overall, these results shed light on guiding further exploration of sales prediction.