The gravity model of international trade in international economics, similar to other in social science, predicts bilateral trade flows based on the economic sizes (often using GDP measurements) and distance between two units. The model was first used by Jan Tinbergen in 1962. The basic model for trade between two countries (i and j) takes the form of
Where F is the trade flow, M is the economic mass of each country, D is the distance and G is a constant. The model has been used by economists to analyse the determinants of bilateral trade flows such as common borders, common languages, common legal systems, common currencies, common colonial legacies, and it has been used to test the effectiveness of trade agreements and organizations such as the North American Free Trade Agreement (NAFTA) and the World Trade Organization (WTO) (Head and Mayer 2014). The model has also been used in international relations to evaluate the impact of treaties and alliances on trade (Head and Mayer).
The model has also been applied to other bilateral flow data (also 'dyadic' data) such as migration, traffic, remittances and foreign direct investment.
The model has been an empirical success in that it accurately predicts trade flows between countries for many goods and services, but for a long time some scholars believed that there was no theoretical justification for the gravity equation. However, a gravity relationship can arise in almost any trade model that includes trade costs that increase with distance.
The gravity model estimates the pattern of international trade. While the model’s basic form consists of factors that have more to do with geography and spatiality, the gravity model has been used to test hypotheses rooted in purer economic theories of trade as well. One such theory predicts that trade will be based on relative factor abundances. One of the common relative factor abundance models is the Heckscher–Ohlin model. This theory would predict that trade patterns would be based on relative factor abundance. Those countries with a relative abundance of one factor would be expected to produce goods that require a relatively large amount of that factor in their production. While a generally accepted theory of trade, many economists in the Chicago School believed that the Heckscher–Ohlin model alone was sufficient to describe all trade, while Bertil Ohlin himself argued that in fact the world is more complicated. Investigations into real world trading patterns have produced a number of results that do not match the expectations of comparative advantage theories. Notably, a study by Wassily Leontief found that the United States, the most capital endowed country in the world, actually exports more in labor-intensive industries. Comparative advantage in factor endowments would suggest the opposite would occur. Other theories of trade and explanations for this relationship were proposed in order to explain the discrepancy between Leontief’s empirical findings and economic theory. The problem has become known as the Leontief paradox.