Today, clothing factories have to strictly control their costs to survive and provide the continuity of their success. Fabric cost constitutes about half of a garment cost. For this reason, it is important to calculate the fabric cost of a garment precisely. This study aims at developing the software that will calculate the fabric consumption of a garment in clothing factories. It is not possible to cross-examine the fabric consumption rapidly with regard to garment models in the existing computer-aided design systems because these programs are not flexible enough to satisfy the needs of the customers. This study has been planned to eliminate this imperfection. Denim trouser models are selected as the material, and inputs of a factory producing denim trousers are used. The software developed enables the estimation of fabric consumptions of different trouser models in a speedy way.