It is undeniable that the material production stage is crucial to the whole life cycle of structures. This study proposes the window-to-envelope ratio (WER) based on standard units to determine the inherent relationship between changes in door and window areas and carbon emissions, presuming six distinct types of engineering practices for various buildings are selected. It was concluded that larger door and window areas would result in more embodied carbon emissions. Additionally, as the size of windows and doors increases, the costs and embodied carbon of prefabricated and cast-in-place construction become more comparable. According to the analysis, when the building scale is larger and the door and window opening area is also larger, prefabrication has more potential for saving carbon than cast-in-place building, but with a cost of approximately 10–20% higher. Considering the perspective of consumers, producers, and markets, this study revealed a costing assessment methodology based on standard units for prefabricated structures. In this methodology, producers choose and create various residential layouts based on the distinctive requirements of consumers, while tracking the trends in carbon emissions and production costs. This assessment method tries to create a favorable atmosphere for moral market activity and offers an acceptable solution for the trade-off between environmental and economic factors throughout the material production phase of the building.