DataBrighten

    International migrant stock (% of population)

    1,728 × 6rows × columns: 216 countries, 1990 to 2024

    Real data: World Bank, World Development Indicators, indicator SM.POP.TOTL.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows1,728country-year values
    Countries216with at least one value
    Years1990 – 20248 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    International migrant stock (% of population) is the proportion of people at mid-year born in a country other than that in which they live. It also includes refugees.

    Limits and exceptions (World Bank note)

    In deriving the estimates, an international migrant was equated to a person living in a country other than that in which he or she was born. That is, the number of international migrants, also called the international migrant stock, would represent the number of foreign-born persons enumerated in the countries or areas constituting the world. However, because several countries lack data on the foreign-born, data on the number of foreigners, if available, were used instead as the basis of estimation. Consequently, the overall number of migrants in world regions or at the global level do not quite represent the overall number of foreign-born persons. The disintegration and reunification of countries causes discontinuities in the change of the international migrant stock. Because an international migrant is equated with a person who was born outside the country in which he or she resides, when a country disintegrates, persons who had been internal migrants because they had moved from one part of the country to another may become, overnight, international migrants without having moved at that time. Such changes introduce artificial but unavoidable discontinuities in the trend of the i

    The numbers in 2024

    In 2024, 216 countries have a value. The highest is Qatar (76.7); at the bottom, 2 countries tie at 0 (e.g. Cuba, St. Martin (French part)). The median country value is 5.6. The World Bank's World aggregate for 2024 is 3.73.

    Top 10 countries, 2024

    % of population

    Source: World Bank, SM.POP.TOTL.ZS, retrieved 19 November 2026. Computed from international-migrant-stock-percent-of-population.csv.

    Highest, 2024

    #CountryValue
    1Qatar76.7
    2United Arab Emirates74
    3Monaco70.2
    4Sint Maarten (Dutch part)69.5
    5Liechtenstein69.4
    6Aruba68
    7Kuwait67.3
    8Virgin Islands (U.S.)66.9
    9British Virgin Islands62.1
    10Turks and Caicos Islands61.1

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1St. Martin (French part)0
    2Cuba0
    3Philippines0.1
    4Myanmar0.1
    5Madagascar0.1
    6China0.1
    7Sri Lanka0.2
    8Korea, Dem. People's Rep.0.2
    9Indonesia0.2
    10Haiti0.2
    How many countries report, by decade
    DecadeMost countries in one year
    1990s216
    2000s216
    2010s216
    2020s216

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    20243.73
    20203.49
    20153.34
    20103.15
    20052.93
    20002.83
    19952.84
    19902.88

    By region, 2024

    World Bank regionValue
    North America15.96
    Europe & Central Asia11.39
    Middle East, North Africa, Afghanistan & Pakistan6.5
    Latin America & Caribbean 2.6
    Sub-Saharan Africa 2.04
    East Asia & Pacific1.37
    South Asia0.474

    First rows

    international-migrant-stock-percent-of-population.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19900.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19950.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20000.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20050.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20100.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20151
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20200.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20240.2

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberInternational migrant stock (% of population), exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2024?

    Qatar, with 76.7.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2024
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);

    pandas (df = pd.read_csv("international-migrant-stock-percent-of-population.csv"))

    y = df[df.year == 2024]
    y[y.value == y.value.max()][["country", "value"]]

    File: international-migrant-stock-percent-of-population.csv

    How many countries report a value for 2024?

    216 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2024;

    pandas (df = pd.read_csv("international-migrant-stock-percent-of-population.csv"))

    (df.year == 2024).sum()

    File: international-migrant-stock-percent-of-population.csv

    What is the median across countries in 2024?

    5.6 (median of the 216 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2024))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2024 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));

    pandas (df = pd.read_csv("international-migrant-stock-percent-of-population.csv"))

    df[df.year == 2024]["value"].median()

    File: international-migrant-stock-percent-of-population.csv

    Which country rose the most between 2015 and 2024?

    Aruba: from 34.7 to 68, a rise of 33.3 (out of 216 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (international-migrant-stock-percent-of-population-wide.csv): add a column = [2024] - [2015], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2015 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("international-migrant-stock-percent-of-population.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2024] - w[2015]).dropna().nlargest(1)

    File: international-migrant-stock-percent-of-population.csv

    Which year has the most countries reporting?

    2024, with 216 countries.

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("international-migrant-stock-percent-of-population.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: international-migrant-stock-percent-of-population.csv