People using safely managed drinking water services, urban (% of urban population)
Real data: World Bank, World Development Indicators, indicator SH.H2O.SMDW.UR.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
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, 102 countries have a value. At the top, 9 countries tie at 100 (e.g. France, Gibraltar, Hong Kong SAR, China); the lowest is Tuvalu (10.38). The median country value is 74.91. The World Bank's World aggregate for 2024 is 83.41.
Top 10 countries, 2024
% of urban population
Highest, 2024
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | France | 100 |
| 2 | Gibraltar | 100 |
| 3 | Hong Kong SAR, China | 100 |
| 4 | Hungary | 100 |
| 5 | Kuwait | 100 |
| 6 | Macao SAR, China | 100 |
| 7 | Monaco | 100 |
| 8 | San Marino | 100 |
| 9 | Singapore | 100 |
| 10 | Germany | 100 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Tuvalu | 10.38 |
| 2 | Central African Republic | 11.25 |
| 3 | Sierra Leone | 12.5 |
| 4 | Chad | 17.59 |
| 5 | Naoero | 18.66 |
| 6 | Kiribati | 20.87 |
| 7 | Nepal | 23.62 |
| 8 | Congo, Dem. Rep. | 24.15 |
| 9 | Benin | 28.44 |
| 10 | Togo | 34.61 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2000s | 104 |
| 2010s | 104 |
| 2020s | 104 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 83.41 |
| 2023 | 83.46 |
| 2022 | 83.44 |
| 2021 | 83.4 |
| 2020 | 83.36 |
| 2019 | 83.3 |
| 2018 | 83.22 |
| 2017 | 83.14 |
| 2016 | 83.05 |
| 2015 | 82.96 |
| 2014 | 82.87 |
| 2013 | 82.79 |
By region, 2024
| World Bank region | Value |
|---|---|
| North America | 97.51 |
| Europe & Central Asia | 95.27 |
| East Asia & Pacific | 85.31 |
| Latin America & Caribbean | 84.5 |
| South Asia | 83.6 |
| Middle East, North Africa, Afghanistan & Pakistan | 74.57 |
| Sub-Saharan Africa | 52.76 |
First rows
people-using-safely-managed-drinking-water-services-urban-percent-of-urban-population.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2000 | 21.8852585198528 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2001 | 21.8852585198528 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2002 | 22.5701543827451 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2003 | 23.2550502456374 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2004 | 23.9399461085298 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2005 | 24.6248419714221 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 25.3097378343145 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 25.9946336972068 |
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 using safely managed drinking water services, urban (% of urban 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: 9 countries share the highest value, 100 (for example France, Gibraltar, Hong Kong SAR, China).
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-urban-percent-of-urban-population.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: people-using-safely-managed-drinking-water-services-urban-percent-of-urban-population.csv
How many countries report a value for 2024?
102 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-urban-percent-of-urban-population.csv"))
(df.year == 2024).sum()File: people-using-safely-managed-drinking-water-services-urban-percent-of-urban-population.csv
What is the median across countries in 2024?
74.91 (median of the 102 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-urban-percent-of-urban-population.csv"))
df[df.year == 2024]["value"].median()File: people-using-safely-managed-drinking-water-services-urban-percent-of-urban-population.csv
Which country rose the most between 2014 and 2024?
Lao PDR: from 19.55 to 50.85, a rise of 31.3 (out of 102 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (people-using-safely-managed-drinking-water-services-urban-percent-of-urban-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-urban-percent-of-urban-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-urban-percent-of-urban-population.csv
Which year has the most countries reporting?
2021, with 104 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-urban-percent-of-urban-population.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: people-using-safely-managed-drinking-water-services-urban-percent-of-urban-population.csv