DataBrighten

    Gross capital formation (% of GDP)

    8,670 × 6rows × columns: 187 countries, 1960 to 2025

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

    textnumberdateyes/no
    Rows8,670country-year values
    Countries187with at least one value
    Years1960 – 202566 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Gross capital formation includes acquisitions less disposals of produced assets for purposes of fixed capital formation, inventories or valuables. This indicator is expressed as a percentage of Gross Domestic Product (GDP) which is the total income earned through the production of goods and services in an economic territory during an accounting period.

    Limits and exceptions (World Bank note)

    Because policymakers have tended to focus on fostering the growth of output, and because data on production are easier to collect than data on spending, many countries generate their primary estimate of GDP using the production approach. Moreover, many countries do not estimate all the components of national expenditures but instead derive some of the main aggregates indirectly using GDP (based on the production approach) as the control total. Data on capital formation may be estimated from direct surveys of enterprises and administrative records or based on the commodity flow method using data from production, trade, and construction activities. The quality of data on government fixed capital formation depends on the quality of government accounting systems (which tend to be weak in developing countries). Measures of fixed capital formation by households and corporations - particularly capital outlays by small, unincorporated enterprises - are usually unreliable. Estimates of changes in inventories are rarely complete but usually include the most important activities or commodities. In some countries these estimates are derived as a composite residual along with

    The numbers in 2025

    In 2025, 131 countries have a value. The highest is Algeria (45.27); the lowest is Equatorial Guinea (-3.68). The median country value is 22.93. The World Bank's World aggregate for 2024 is 26.29.

    Top 10 countries, 2025

    % of GDP

    Source: World Bank, NE.GDI.TOTL.ZS, retrieved 19 November 2026. Computed from gross-capital-formation-percent-of-gdp.csv.

    Highest, 2025

    #CountryValue
    1Algeria45.27
    2Mauritania44.33
    3Iran, Islamic Rep.41.77
    4Tanzania40.68
    5Gambia, The40.39
    6Guinea37
    7Benin35.83
    8India34.6
    9Kosovo34.6
    10Rwanda34.13

    Lowest, 2025

    #CountryValue
    1Equatorial Guinea-3.68
    2Sudan0.734
    3Djibouti1.55
    4Venezuela, RB5.93
    5Sao Tome and Principe8.74
    6Central African Republic9.3
    7Comoros11.85
    8Haiti12.06
    9Macao SAR, China12.25
    10Egypt, Arab Rep.12.89
    How many countries report, by decade
    DecadeMost countries in one year
    1960s72
    1970s100
    1980s124
    1990s156
    2000s173
    2010s177
    2020s175

    World aggregate by year

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

    YearWorld
    202426.29
    202326.66
    202227.47
    202127.24
    202026.46
    201926.56
    201826.66
    201726.12
    201625.67
    201525.92
    201425.88
    201325.6

    By region, 2025

    World Bank regionValue
    South Asia33.83
    Middle East, North Africa, Afghanistan & Pakistan27.04
    Sub-Saharan Africa 23.11
    Europe & Central Asia22.93
    Latin America & Caribbean 18.95

    First rows

    gross-capital-formation-percent-of-gdp.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202011.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202113
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202216.7
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202315.2924823859473
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202417.0868898068985
    AlbaniaALBEurope & Central AsiaUpper middle income198035.805834723522
    AlbaniaALBEurope & Central AsiaUpper middle income198136.3861156517659
    AlbaniaALBEurope & Central AsiaUpper middle income198239.2829001338862

    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
    valuenumberGross capital formation (% of GDP), 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 2025?

    Algeria, with 45.27.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("gross-capital-formation-percent-of-gdp.csv"))

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

    File: gross-capital-formation-percent-of-gdp.csv

    How many countries report a value for 2025?

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

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

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("gross-capital-formation-percent-of-gdp.csv"))

    (df.year == 2025).sum()

    File: gross-capital-formation-percent-of-gdp.csv

    What is the median across countries in 2025?

    22.93 (median of the 131 country values; not a World Bank aggregate).

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

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

    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 = 2025 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));

    pandas (df = pd.read_csv("gross-capital-formation-percent-of-gdp.csv"))

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

    File: gross-capital-formation-percent-of-gdp.csv

    Which country rose the most between 2015 and 2025?

    Gambia, The: from 20.35 to 40.39, a rise of 20.04 (out of 130 countries with both years).

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

    Use the wide file (gross-capital-formation-percent-of-gdp-wide.csv): add a column = [2025] - [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 = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("gross-capital-formation-percent-of-gdp.csv"))

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

    File: gross-capital-formation-percent-of-gdp.csv

    Which year has the most countries reporting?

    2015, with 177 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("gross-capital-formation-percent-of-gdp.csv"))

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

    File: gross-capital-formation-percent-of-gdp.csv