Comparative Advantage Calculator

Compare opportunity costs for two producers and two goods to identify comparative advantage or a tie.

Result
—

How to calculate

When given potential output, divide the output of the other good by the output of the good you are evaluating. When given resource cost per unit, divide the resource costs in the reverse order.

Worked example

Use Productivity data Output possible from the same resources · Producer A, good X 10 · Producer A, good Y 20 · Producer B, good X 15 · Producer B, good Y 15. The result is Producer B has comparative advantage in good X.

Input and result notes

Enter numbers using the same units. Rounded results are marked with ≈.

OpenStax comparative advantage and opportunity cost

Related calculators