DataBrighten

    People with basic handwashing facilities including soap and water, rural (% of rural population)

    1,715 × 6rows × columns: 113 countries, 2000 to 2024

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

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

    What it measures

    The percentage of people living in households that have a handwashing facility with soap and water available on the premises. Handwashing facilities may be fixed or mobile and include a sink with tap water, buckets with taps, tippy-taps, and jugs or basins designated for handwashing. Soap includes bar soap, liquid soap, powder detergent, and soapy water but does not include ash, soil, sand or other handwashing agents.

    Limits and exceptions (World Bank note)

    Generally, data on handwashing facilities are limited in high-income countries due to the infrequent collection of such information. In the early 2000s, even low- and middle-income countries often lacked this data. However, the recent standardization of hygiene-related questions in international surveys has led to an improvement in the availability of data.

    The numbers in 2024

    In 2024, 86 countries have a value. At the top, 2 countries tie at 100 (e.g. Mexico, Turkmenistan); the lowest is Liberia (0.956). The median country value is 57.59. The World Bank's World aggregate for 2024 is 71.96.

    Top 10 countries, 2024

    % of rural population

    Source: World Bank, SH.STA.HYGN.RU.ZS, retrieved 19 November 2026. Computed from people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv.

    Highest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Mexico100
    2Turkmenistan100
    3North Macedonia99.75
    4Philippines98.91
    5Kyrgyz Republic97.29
    6Iraq96.87
    7Saudi Arabia96.57
    8Tuvalu96.32
    9Bhutan95.72
    10Azerbaijan95.51

    Lowest, 2024

    #CountryValue
    1Liberia0.956
    2Ethiopia3.31
    3Zambia9.23
    4Benin9.84
    5Mozambique9.88
    6Cote d'Ivoire11.14
    7Somalia, Fed. Rep.11.14
    8Djibouti11.6
    9Gambia, The11.93
    10Central African Republic12.13
    How many countries report, by decade
    DecadeMost countries in one year
    2000s61
    2010s107
    2020s104

    World aggregate by year

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

    YearWorld
    202471.96
    202371.28
    202267.97
    202166.16
    202064.15
    201962.48
    201860.8
    201759.04

    By region, 2024

    World Bank regionValue
    East Asia & Pacific89.69
    South Asia83.6
    Middle East, North Africa, Afghanistan & Pakistan78.99
    Sub-Saharan Africa 18.06

    First rows

    people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200526.3072319509874
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200626.3072319509874
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200726.3072319509874
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200826.3072319509874
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200926.3072319509874
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201027.8115338289704
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201129.3158357069533
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201230.8201375849362

    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 with basic handwashing facilities including soap and water, 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 Mexico, Turkmenistan).

    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-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv"))

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

    File: people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv

    How many countries report a value for 2024?

    86 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-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv"))

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

    File: people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv

    What is the median across countries in 2024?

    57.59 (median of the 86 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-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv"))

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

    File: people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv

    Which country rose the most between 2014 and 2024?

    India: from 44.76 to 85.92, a rise of 41.16 (out of 71 countries with both years).

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

    Use the wide file (people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p-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-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv"))

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

    File: people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv

    Which year has the most countries reporting?

    2019, with 107 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-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv"))

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

    File: people-with-basic-handwashing-facilities-including-soap-and-water-rural-percent-of-rural-p.csv