Cost refers to the fees incurred in producing a product, while margin represents the profit earned after subtracting manufacturing costs. Markup is the additional amount charged above the production cost. These factors help businesses determine the appropriate pricing that covers costs and generates profit.