DataBrighten

    Changes in inventories (current US$)

    7,891 × 6rows × columns: 190 countries, 1960 to 2025

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

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

    What it measures

    Changes in inventories is the value of entries into inventories less the value of withdrawals and less the value of any recurrent losses of goods held in inventories during the accounting period.This indicator is expressed in current prices, meaning no adjustment has been made to account for price changes over time. This indicator is expressed in United States dollars.

    The numbers in 2025

    In 2025, 109 countries have a value. The highest is Germany (81.77 billion); the lowest is Malaysia (-4.12 billion). The median country value is 488.41 million.

    Top 10 countries, 2025

    current US$

    Source: World Bank, NE.GDI.STKB.CD, retrieved 19 November 2026. Computed from changes-in-inventories-current-usd.csv.

    Highest, 2025

    #CountryValue
    1Germany81.77 billion
    2Russian Federation71.77 billion
    3India47.15 billion
    4Switzerland36.43 billion
    5United Kingdom32.21 billion
    6Indonesia26.77 billion
    7Saudi Arabia19.30 billion
    8Turkiye17.18 billion
    9Spain15.28 billion
    10Korea, Rep.15.00 billion

    Lowest, 2025

    #CountryValue
    1Malaysia-4.12 billion
    2Thailand-3.42 billion
    3Philippines-2.93 billion
    4France-2.72 billion
    5Tanzania-1.39 billion
    6Kenya-1.31 billion
    7Equatorial Guinea-1.29 billion
    8Croatia-1.21 billion
    9Djibouti-1.11 billion
    10Uzbekistan-1.08 billion
    How many countries report, by decade
    DecadeMost countries in one year
    1960s53
    1970s91
    1980s113
    1990s150
    2000s172
    2010s170
    2020s157

    First rows

    changes-in-inventories-current-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20208854778.35869236
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20211896056.53065876
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20224570733.08483
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20238388443.37227019
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20249307886.72865596
    AlbaniaALBEurope & Central AsiaUpper middle income198010421052.6315789
    AlbaniaALBEurope & Central AsiaUpper middle income198176689976.6899767
    AlbaniaALBEurope & Central AsiaUpper middle income198289160839.1608392

    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
    valuenumberChanges in inventories (current US$), 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?

    Germany, with 81.77 billion.

    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("changes-in-inventories-current-usd.csv"))

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

    File: changes-in-inventories-current-usd.csv

    How many countries report a value for 2025?

    109 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("changes-in-inventories-current-usd.csv"))

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

    File: changes-in-inventories-current-usd.csv

    What is the median across countries in 2025?

    488.41 million (median of the 109 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("changes-in-inventories-current-usd.csv"))

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

    File: changes-in-inventories-current-usd.csv

    Which country rose the most between 2015 and 2025?

    Germany: from -8.56 billion to 81.77 billion, a rise of 90.33 billion (out of 109 countries with both years).

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

    Use the wide file (changes-in-inventories-current-usd-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("changes-in-inventories-current-usd.csv"))

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

    File: changes-in-inventories-current-usd.csv

    Which year has the most countries reporting?

    2009, with 172 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("changes-in-inventories-current-usd.csv"))

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

    File: changes-in-inventories-current-usd.csv