CEPII, Recherche et Expertise sur l'economie mondiale

The Gravity database gathers data required to estimate gravity equations. For any country pair existing between 1948 and 2019, we provide a large set of information, including:

- Bilateral trade flows, from three distinct sources : IMF (DOTS), the UN (Comtrade) and the BACI database from CEPII.

- Geographical distance, including distances that reflect the within-country spatial distribution of activity.

- Trade facilitation measures : GATT/WTO membership, existence of trade agreements and nature of these agreements.

- Proxies for cultural proximity : language, religion, origins of the legal system, colonial ties, etc.

- Macroeconomic indicators : GDP, population, etc.
 Methodology: a Short Description
The database is constructed by assembling data from institutional sources, from the CEPII or made available by academic researchers. The data is originally expressed in various geographical nomenclatures, that we harmonize towards a standardized nomenclature (ISO codes, alphabetic and numeric) to make it easier to use.

The data can be freely reused as long as the source is properly cited (Etalab Open License 2.0)


For more information on the sources and the construction of the variables, a detailed documentation is available here.


Reference document to mention
Head, K., Mayer, T. & Ries, J. (2010),
The erosion of colonial trade linkages after independence
Journal of International Economics, 81(1):1-14

Head, K. and T. Mayer, (2014),
"Gravity Equations: Toolkit, Cookbook, Workhorse."
Handbook of International Economics, Vol. 4,eds. Gopinath, Helpman, and Rogoff, Elsevier. 

Download Page


 Person in charge
Pierre Cotterlaz