DataBrighten

    Domestic general government health expenditure (% of general government expenditure)

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

    Real data: World Bank, World Development Indicators, indicator SH.XPD.GHED.GE.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 total public expenditure. It indicates the priority of the government to spend on health from own domestic public resources.

    The numbers in 2023

    In 2023, 192 countries have a value. The highest is San Marino (26.2); the lowest is Afghanistan (1.46). The median country value is 9.98.

    Top 10 countries, 2023

    % of general government expenditure

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

    Highest, 2023

    #CountryValue
    1San Marino26.2
    2Costa Rica24.91
    3Japan23.3
    4United States23.02
    5Ireland22.16
    6Paraguay21.57
    7Uruguay21.38
    8Australia21.01
    9United Kingdom20.05
    10Cuba19.98

    Lowest, 2023

    #CountryValue
    1Afghanistan1.46
    2South Sudan2.14
    3Myanmar2.34
    4Eritrea2.37
    5Bangladesh2.47
    6Benin2.55
    7Togo2.56
    8Lao PDR3.21
    9Malawi3.29
    10Micronesia, Fed. Sts.3.43
    How many countries report, by decade
    DecadeMost countries in one year
    2000s187
    2010s193
    2020s193

    By region, 2023

    World Bank regionValue
    North America22.77
    Europe & Central Asia14.51
    Latin America & Caribbean 11.84

    First rows

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

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20021.21245599
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20035.45767879
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20043.60296822
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20053.38122058
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20062.7260592
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20072.61078191
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20083.00392056
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20092.51478314

    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 general government expenditure), 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?

    San Marino, with 26.2.

    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-general-government-expenditure.csv"))

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

    File: domestic-general-government-health-expenditure-percent-of-general-government-expenditure.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-general-government-expenditure.csv"))

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

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

    What is the median across countries in 2023?

    9.98 (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-general-government-expenditure.csv"))

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

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

    Which country rose the most between 2013 and 2023?

    Cyprus: from 6.81 to 14.86, a rise of 8.05 (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-general-government-expenditure-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-general-government-expenditure.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-general-government-expenditure.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-general-government-expenditure.csv"))

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

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