People with basic handwashing facilities including soap and water (% of population)
Real data: World Bank, World Development Indicators, indicator SH.STA.HYGN.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
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, 91 countries have a value. At the top, 3 countries tie at 100 (e.g. Bahrain, Qatar, Turkmenistan); the lowest is Liberia (3.49). The median country value is 70.37. The World Bank's World aggregate for 2024 is 78.01.
Top 10 countries, 2024
% of population
Highest, 2024
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | Bahrain | 100 |
| 2 | Qatar | 100 |
| 3 | Turkmenistan | 100 |
| 4 | North Macedonia | 99.67 |
| 5 | Mexico | 98.79 |
| 6 | Aruba | 98.61 |
| 7 | Saudi Arabia | 98.43 |
| 8 | Iraq | 97.4 |
| 9 | Philippines | 97.29 |
| 10 | China | 97.27 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Liberia | 3.49 |
| 2 | Ethiopia | 5.85 |
| 3 | Sudan | 10.76 |
| 4 | Benin | 12.86 |
| 5 | Gambia, The | 12.96 |
| 6 | Malawi | 15.4 |
| 7 | Mozambique | 15.81 |
| 8 | Somalia, Fed. Rep. | 16.49 |
| 9 | Tanzania | 17.46 |
| 10 | Zambia | 18.38 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2000s | 63 |
| 2010s | 113 |
| 2020s | 109 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 78.01 |
| 2023 | 77.5 |
| 2022 | 75.07 |
| 2021 | 73.92 |
| 2020 | 72.46 |
| 2019 | 71.35 |
| 2018 | 70.16 |
| 2017 | 68.83 |
By region, 2024
| World Bank region | Value |
|---|---|
| East Asia & Pacific | 93.24 |
| South Asia | 87.44 |
| Middle East, North Africa, Afghanistan & Pakistan | 84.66 |
| Sub-Saharan Africa | 25 |
First rows
people-with-basic-handwashing-facilities-including-soap-and-water-percent-of-population.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2005 | 35.3436744148922 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 35.4248722246752 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 35.5068678053901 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 35.5892588697426 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 35.6720491636369 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 36.8076556559872 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 37.9360280127143 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 39.0567050364891 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | People with basic handwashing facilities including soap and water (% of 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: 3 countries share the highest value, 100 (for example Bahrain, Qatar, 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-percent-of-population.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: people-with-basic-handwashing-facilities-including-soap-and-water-percent-of-population.csv
How many countries report a value for 2024?
91 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-percent-of-population.csv"))
(df.year == 2024).sum()File: people-with-basic-handwashing-facilities-including-soap-and-water-percent-of-population.csv
What is the median across countries in 2024?
70.37 (median of the 91 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-percent-of-population.csv"))
df[df.year == 2024]["value"].median()File: people-with-basic-handwashing-facilities-including-soap-and-water-percent-of-population.csv
Which country rose the most between 2014 and 2024?
Kenya: from 15.19 to 57.51, a rise of 42.31 (out of 74 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-percent-of-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-with-basic-handwashing-facilities-including-soap-and-water-percent-of-population.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-percent-of-population.csv
Which year has the most countries reporting?
2019, with 113 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-percent-of-population.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: people-with-basic-handwashing-facilities-including-soap-and-water-percent-of-population.csv