Comparative advantage is the ratio of the quantity of two different raw materials available to a country. It can also be used to compare the availability of raw materials of different countries. For example, the comparative advantage of the supply of oil between the US and Canada.