DataBrighten

    Domestic general government health expenditure (% of GDP)

    4,547 × 6rows × columns: 193 countries, 2000 to 2024

    Real data: World Bank, World Development Indicators, indicator SH.XPD.GHED.GD.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows4,547country-year values
    Countries193with at least one value
    Years2000 – 202425 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Public expenditure on health from domestic sources as a share of the economy as measured by GDP.

    The numbers in 2023

    In 2023, 192 countries have a value. The highest is Tuvalu (19.72); the lowest is Afghanistan (0.248). The median country value is 3.13. The World Bank's World aggregate for 2023 is 6.14.

    Top 10 countries, 2023

    % of GDP

    Source: World Bank, SH.XPD.GHED.GD.ZS, retrieved 19 November 2026. Computed from domestic-general-government-health-expenditure-percent-of-gdp.csv.

    Highest, 2023

    #CountryValue
    1Tuvalu19.72
    2Naoero15.23
    3Marshall Islands10.06
    4Sweden9.6
    5Germany9.29
    6Japan9.11
    7United States9.01
    8United Kingdom8.99
    9Kiribati8.59
    10Austria8.53

    Lowest, 2023

    #CountryValue
    1Afghanistan0.248
    2Haiti0.298
    3Bangladesh0.314
    4Syrian Arab Republic0.405
    5Benin0.489
    6Myanmar0.495
    7South Sudan0.501
    8Lao PDR0.528
    9Somalia, Fed. Rep.0.53
    10Sudan0.592
    How many countries report, by decade
    DecadeMost countries in one year
    2000s187
    2010s193
    2020s193

    World aggregate by year

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

    YearWorld
    20236.14
    20226.24
    20216.49
    20206.84
    20195.85
    20185.78
    20175.82
    20165.91
    20155.85
    20145.71
    20135.61
    20125.64

    By region, 2023

    World Bank regionValue
    North America8.92
    Europe & Central Asia7.03
    East Asia & Pacific4.43
    Latin America & Caribbean 4.05
    Middle East, North Africa, Afghanistan & Pakistan3.29
    Sub-Saharan Africa 1.92
    South Asia1.21

    First rows

    domestic-general-government-health-expenditure-percent-of-gdp.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20020.08418062
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20030.65096337
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20040.54292566
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20050.5291841
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20060.49784002
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20070.55994755
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20080.62779975
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20090.53190351

    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
    valuenumberDomestic general government health expenditure (% 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 2023?

    Tuvalu, with 19.72.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("domestic-general-government-health-expenditure-percent-of-gdp.csv"))

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

    File: domestic-general-government-health-expenditure-percent-of-gdp.csv

    How many countries report a value for 2023?

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

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

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("domestic-general-government-health-expenditure-percent-of-gdp.csv"))

    (df.year == 2023).sum()

    File: domestic-general-government-health-expenditure-percent-of-gdp.csv

    What is the median across countries in 2023?

    3.13 (median of the 192 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("domestic-general-government-health-expenditure-percent-of-gdp.csv"))

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

    File: domestic-general-government-health-expenditure-percent-of-gdp.csv

    Which country rose the most between 2013 and 2023?

    Naoero: from 5.35 to 15.23, a rise of 9.88 (out of 190 countries with both years).

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

    Use the wide file (domestic-general-government-health-expenditure-percent-of-gdp-wide.csv): add a column = [2023] - [2013], 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 = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("domestic-general-government-health-expenditure-percent-of-gdp.csv"))

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

    File: domestic-general-government-health-expenditure-percent-of-gdp.csv

    Which year has the most countries reporting?

    2021, with 193 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("domestic-general-government-health-expenditure-percent-of-gdp.csv"))

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

    File: domestic-general-government-health-expenditure-percent-of-gdp.csv