DataBrighten

    People using safely managed drinking water services, rural (% of rural population)

    2,100 × 6rows × columns: 85 countries, 2000 to 2024

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

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

    What it measures

    The percentage of people using drinking water from an improved source that is accessible on premises, available when needed and free from fecal and priority chemical contamination. Improved water sources include piped water, boreholes or tubewells, protected dug wells, protected springs, and packaged or delivered water.

    Limits and exceptions (World Bank note)

    In order to meet the criteria for a safely managed drinking water service, an improved water source should meet three criteria: it should be accessible on the premises (accessibility), water should be available when needed (availability), and the water supplied should be free from contamination (quality). Many countries lack data on one or more elements of safely managed drinking water. The WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (JMP) provide national estimates only when data are available on drinking water quality and at least one of the other criteria (accessibility and availability). Regional and income group estimates are made when data are available for at least 30 percent of the population.

    The numbers in 2024

    In 2024, 83 countries have a value. At the top, 2 countries tie at 100 (e.g. Hungary, San Marino); the lowest is Congo, Dem. Rep. (0.513). The median country value is 44.69. The World Bank's World aggregate for 2024 is 60.4.

    Top 10 countries, 2024

    % of rural population

    Source: World Bank, SH.H2O.SMDW.RU.ZS, retrieved 19 November 2026. Computed from people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv.

    Highest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Hungary100
    2San Marino100
    3Germany99.64
    4Israel99.39
    5Spain98.6
    6Czechia98.52
    7France98.4
    8Luxembourg97.9
    9Ireland96.14
    10Turkmenistan92.35

    Lowest, 2024

    #CountryValue
    1Congo, Dem. Rep.0.513
    2Central African Republic2.24
    3Chad2.65
    4Tuvalu5.37
    5Ethiopia5.85
    6Benin6.66
    7Kiribati6.95
    8Togo8.97
    9Sierra Leone9.6
    10Uganda9.85
    How many countries report, by decade
    DecadeMost countries in one year
    2000s84
    2010s85
    2020s85

    World aggregate by year

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

    YearWorld
    202460.4
    202356.64
    202255.81
    202154.95
    202054.11
    201953.27
    201852.43
    201751.57
    201650.73
    201549.89
    201449.06
    201348.24

    By region, 2024

    World Bank regionValue
    Europe & Central Asia84.72
    South Asia74.02
    East Asia & Pacific57.66
    Middle East, North Africa, Afghanistan & Pakistan54.39
    Latin America & Caribbean 53.7
    Sub-Saharan Africa 16.73

    First rows

    people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20008.53574781306107
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20018.53574781306107
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20029.35663979413651
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200310.1775317752119
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200410.9984237562871
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200511.8193157373625
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200612.6402077184379
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200713.8412336589256

    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
    valuenumberPeople using safely managed drinking water services, rural (% of rural population), 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 2024?

    There is a tie: 2 countries share the highest value, 100 (for example Hungary, San Marino).

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv"))

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

    File: people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv

    How many countries report a value for 2024?

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

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

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv"))

    (df.year == 2024).sum()

    File: people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv

    What is the median across countries in 2024?

    44.69 (median of the 83 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv"))

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

    File: people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv

    Which country rose the most between 2014 and 2024?

    Morocco: from 30.15 to 58.45, a rise of 28.29 (out of 82 countries with both years).

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

    Use the wide file (people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv"))

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

    File: people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv

    Which year has the most countries reporting?

    2021, with 85 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("people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv"))

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

    File: people-using-safely-managed-drinking-water-services-rural-percent-of-rural-population.csv