Rebar quantity estimation is pivotal for determining the cost of construction projects and essential for bidding purposes. A bar bending schedule plays a crucial role by providing rebar information and bending instructions, facilitating efficient procurement. Traditional methods of bar bending schedules, which involve manual extraction from 2D (two-dimensional) drawings, are error-prone and hinder construction productivity. This study proposes a Building Information Modeling (BIM)-based algorithm that automates the generation of a Bar Bending Schedule (BBS) directly from the 3D (three-dimensional) BIM models, ensuring accuracy and eliminating manual errors. The effectiveness of the algorithm was verified by comparing the rebar quantities generated by the model against those derived from optimization calculations. The results demonstrated a mean absolute error of 0.017 and a mean absolute percentage error of 1.13%, validating the algorithm’s precision. Additionally, it achieved a remarkable 33.33% reduction in the manpower required for preparing BBSs, highlighting its potential to revolutionize construction workflow efficiency and accuracy.