DataBrighten

    Surface area (sq. km)

    13,647 × 6rows × columns: 216 countries, 1961 to 2024

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

    textnumberdateyes/no
    Rows13,647country-year values
    Countries216with at least one value
    Years1961 – 202464 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Surface area is a country's total area, including areas under inland bodies of water and some coastal waterways.

    Limits and exceptions (World Bank note)

    The data are collected by the Food and Agriculture Organization (FAO) of the United Nations through annual questionnaires. The FAO tries to impose standard definitions and reporting methods, but complete consistency across countries and over time is not possible. The data collected from official national sources through the questionnaire are supplemented with information from official secondary data sources. The secondary sources cover official country data from websites of national ministries, national publications and related country data reported by various international organizations.

    The numbers in 2024

    In 2024, 213 countries have a value. The highest is Russian Federation (17.13 million); the lowest is Gibraltar (10). The median country value is 103,000. The World Bank's World aggregate for 2023 is 140.54 million.

    Top 10 countries, 2024

    sq. km

    Source: World Bank, AG.SRF.TOTL.K2, retrieved 19 November 2026. Computed from surface-area-sq-km.csv.

    Highest, 2024

    #CountryValue
    1Russian Federation17.13 million
    2Canada15.63 million
    3United States9.83 million
    4China9.56 million
    5Brazil8.51 million
    6Australia7.74 million
    7India3.29 million
    8Argentina2.78 million
    9Kazakhstan2.72 million
    10Algeria2.38 million

    Lowest, 2024

    #CountryValue
    1Gibraltar10
    2Naoero21
    3Tuvalu26
    4Macao SAR, China33.3
    5Sint Maarten (Dutch part)34
    6St. Martin (French part)53
    7San Marino61.2
    8Monaco74.9
    9British Virgin Islands151
    10Liechtenstein160
    How many countries report, by decade
    DecadeMost countries in one year
    1960s212
    1970s212
    1980s212
    1990s213
    2000s214
    2010s216
    2020s216

    World aggregate by year

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

    YearWorld
    2023140.54 million
    2022140.54 million
    2021140.58 million
    2020140.59 million
    2019140.49 million
    2018140.39 million
    2017140.39 million
    2016140.38 million
    2015140.38 million
    2014140.38 million
    2013140.38 million
    2012140.02 million

    First rows

    surface-area-sq-km.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1961652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1962652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1963652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1964652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1965652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1966652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1967652860
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1968652860

    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
    valuenumberSurface area (sq. km), 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?

    Russian Federation, with 17.13 million.

    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("surface-area-sq-km.csv"))

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

    File: surface-area-sq-km.csv

    How many countries report a value for 2024?

    213 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("surface-area-sq-km.csv"))

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

    File: surface-area-sq-km.csv

    What is the median across countries in 2024?

    103,000 (median of the 213 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("surface-area-sq-km.csv"))

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

    File: surface-area-sq-km.csv

    Which country rose the most between 2014 and 2024?

    Dominican Republic: from 48,670 to 146,839, a rise of 98,169 (out of 213 countries with both years).

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

    Use the wide file (surface-area-sq-km-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("surface-area-sq-km.csv"))

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

    File: surface-area-sq-km.csv

    Which year has the most countries reporting?

    2021, with 216 countries. (Later years are still filling in as countries report.)

    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("surface-area-sq-km.csv"))

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

    File: surface-area-sq-km.csv