The Heckscher–Ohlin model (H–O model) is a general equilibrium mathematical model of international trade, developed by Eli Heckscher and Bertil Ohlin at the . It builds on David Ricardo's theory of comparative advantage by predicting patterns of commerce and production based on the factor endowments of a trading region. The model essentially says that countries will export products that use their abundant and cheap factor(s) of production and import products that use the countries' scarce factor(s).
Relative endowments of the factors of production (land, labor, and capital) determine a country's comparative advantage. Countries have comparative advantages in those goods for which the required factors of production are relatively abundant locally. This is because the profitability of goods is determined by input costs. Goods that require inputs that are locally abundant will be cheaper to produce than those goods that require inputs that are locally scarce.
For example, a country where capital and land are abundant but labor is scarce will have comparative advantage in goods that require lots of capital and land, but little labor—grains. If capital and land are abundant, their prices will be low. As they are the main factors used in the production of grain, the price of grain will also be low—and thus attractive for both local consumption and export. Labor-intensive goods on the other hand will be very expensive to produce since labor is scarce and its price is high. Therefore, the country is better off importing those goods.
The Ricardian model of comparative advantage has trade ultimately motivated by differences in labour productivity using different "technologies". Heckscher and Ohlin did not require production technology to vary between countries, so (in the interests of simplicity) the "H–O model has identical production technology everywhere". Ricardo considered a single factor of production (labour) and would not have been able to produce comparative advantage without technological differences between countries (all nations would become autarkic at various stages of growth, with no reason to trade with each other). The H–O model removed technology variations but introduced variable capital endowments, recreating endogenously the inter-country variation of labour productivity that Ricardo had imposed exogenously. With international variations in the capital endowment like infrastructure and goods requiring different factor "proportions", Ricardo's comparative advantage emerges as a profit-maximizing solution of capitalist's choices from within the model's equations. The decision that capital owners are faced with is between investments in differing production technologies; the H–O model assumes capital is privately held.