Decks, interior beams, edge beams and girders are the parts of a steel floor system. If the deck is optimized without considering beam optimization, finding best result is simple. However, a deck with higher cost may increase the composite action of the beams and decrease the beam cost reducing the total cost. Also different number of floor divisions can improve the total floor cost. Increasing beam capacity by using castellated beams is other efficient method to save the costs. In this study, floor optimization is performed and these three issues are discussed. Floor division number and deck sections are some of the variables. Also for each beam, profile section of the beam, beam cutting depth, cutting angle, spacing between holes and number of filled holes at the ends of castellated beams are other variables. Constraints include the application of stress, stability, deflection and vibration limitations according to the load and resistance factor (LRFD) design. Objective function is the total cost of the floor consisting of the steel profile cost, cutting and welding cost, concrete cost, steel deck cost, shear stud cost and construction costs. Optimization is performed by enhanced colliding body optimization (ECBO), Results show that using castellated beams, selecting a deck with higher price and considering different number of floor divisions can decrease the total cost of the floor.