DataBrighten

    Inflation, consumer prices (annual %)

    9,151 × 6rows × columns: 193 countries, 1960 to 2025

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

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

    What it measures

    Inflation as measured by the consumer price index reflects the annual percentage change in the cost to the average consumer of acquiring a basket of goods and services that may be fixed or changed at specified intervals, such as yearly.

    The numbers in 2025

    In 2025, 169 countries have a value. The highest is Iran, Islamic Rep. (42.17); the lowest is Sri Lanka (-4.76). The median country value is 3.04. The World Bank's World aggregate for 2025 is 3.04.

    Top 10 countries, 2025

    annual %

    Source: World Bank, FP.CPI.TOTL.ZG, retrieved 19 November 2026. Computed from inflation-consumer-prices-annual-percent.csv.

    Highest, 2025

    #CountryValue
    1Iran, Islamic Rep.42.17
    2Turkiye34.88
    3Burundi34.13
    4Haiti28.64
    5Malawi28.37
    6Nigeria23.01
    7Angola20.16
    8Bolivia19.52
    9Lebanon14.6
    10Ghana14.2

    Lowest, 2025

    #CountryValue
    1Sri Lanka-4.76
    2Niger-4.45
    3Chad-3.91
    4Fiji-1.38
    5Burkina Faso-0.586
    6Palau-0.418
    7Djibouti-0.314
    8Brunei Darussalam-0.303
    9Panama-0.188
    10Bahrain-0.138
    How many countries report, by decade
    DecadeMost countries in one year
    1960s89
    1970s105
    1980s131
    1990s160
    2000s186
    2010s192
    2020s179

    World aggregate by year

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

    YearWorld
    20253.04
    20243.01
    20235.73
    20228
    20213.47
    20201.92
    20192.22
    20182.45
    20172.25
    20161.6
    20151.44
    20142.39

    By region, 2025

    World Bank regionValue
    Europe & Central Asia3.75
    Sub-Saharan Africa 3.4
    South Asia3.1
    Latin America & Caribbean 2.08
    Middle East, North Africa, Afghanistan & Pakistan2.04
    East Asia & Pacific2.02

    First rows

    inflation-consumer-prices-annual-percent.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200512.6862687216715
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20066.78459655001655
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20078.68057078513405
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200826.4186641547443
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2009-6.81116108898995
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20102.17853752389418
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201111.8041858089129
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20126.44121280934117

    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
    valuenumberInflation, consumer prices (annual %), 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?

    Iran, Islamic Rep., with 42.17.

    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("inflation-consumer-prices-annual-percent.csv"))

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

    File: inflation-consumer-prices-annual-percent.csv

    How many countries report a value for 2025?

    169 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("inflation-consumer-prices-annual-percent.csv"))

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

    File: inflation-consumer-prices-annual-percent.csv

    What is the median across countries in 2025?

    3.04 (median of the 169 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("inflation-consumer-prices-annual-percent.csv"))

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

    File: inflation-consumer-prices-annual-percent.csv

    Which country rose the most between 2015 and 2025?

    Iran, Islamic Rep.: from 12.48 to 42.17, a rise of 29.69 (out of 169 countries with both years).

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

    Use the wide file (inflation-consumer-prices-annual-percent-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("inflation-consumer-prices-annual-percent.csv"))

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

    File: inflation-consumer-prices-annual-percent.csv

    Which year has the most countries reporting?

    2011, with 192 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("inflation-consumer-prices-annual-percent.csv"))

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

    File: inflation-consumer-prices-annual-percent.csv