Absolute advantage exists when a producer can produce a good using fewer factor inputs than another. A producer has a comparative advantage in the production of a good if the opportunity cost is lower than that of another producer (where the opportunity cost is defined as what must be given up to obtain more of a good, and is equal to the slope of the production possibilities frontier).