The concepts of Comparative advantage, Absolute advantage and gains from trade should be outlined before we go over an example.

Absolute advantage is the simplest concept. It is just comparing two countries to see who is more efficient (how many units they can produce within a specified time frame) at producing a good.

A country can have an absolute advantage in producing both goods.

Comparative advantage is comparing two countries to see who has the lowest opportunity cost of production. That is, who gives up the least of one good to produce the other.

A country can only have a comparative advantage in producing one good, not both goods.

Gains from trade is just the notion that both countries can be made better off if they trade with each other. We measure "better off" as having more goods overall.

England and Scotland both produce scones and sweaters. Suppose that an English worker can produce 50 scones per hour or 1 sweater per hour. Suppose that a Scottish worker can produce 40 scones per hour or 2 sweaters per hour.

Using the above example let's apply the outlined concepts for a practical example.

Because English workers can produce 50 scones per hour which is 10 more than Scottish workers who can produce 40 scones an hour, they have an absolute advantage in producing scones.

Because Scottish workers can produce 2 sweaters compared with English workers who can only produce 1, they have an absolute advantage.

Which country has a comparative advantage?

This we have to see what the opportunity cost of producing a good. The opportunity cost of an English worker producing a sweater is 50 scones. This is because if they spend an hour producing a sweater, they could have been producing 50 scones.

The opportunity cost of a Scottish worker producing a sweater is 20 scones. This is because in an hour they can produce 2 sweaters or 40 scones. Therefore, for each sweater they lose 20 scones.

This means that Scottish workers have a comparative advantage in Sweaters and English workers have a comparative advantage in Scones.