A limiting factor is any scarce resource that limits how much an organization can produce. To maximize profits given a limiting factor, the contribution per unit of the limiting factor should be calculated for each product and the products ranked in this order. The scarce resource is allocated to production in this ranking until it is fully utilized to determine the optimal production plan. In the example, material is the limiting factor. Calculating contribution per kg of material ranks Product 3 first, so it is produced to its maximum demand. Remaining material is allocated down the ranking until used up, maximizing contribution and profit.