The cloth is usually one of the smallest contributors to the total price.
At least 50% goes to the retailer, around 30% to transport, 3% to advertising, 10% to the manufacturer, 3% to the designer, and the remainder on the cloth, and the wages (in Burma sweatshops) of the pattern cutter and machinist.
It costs about the same in labor to design, cut and sew shorts as it does for trousers.