Sex ratio at birth (male births per female births)
Real data: World Bank, World Development Indicators, indicator SP.POP.BRTH.MF, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Sex ratio at birth refers to male births per female births.
The numbers in 2024
In 2024, 217 countries have a value. The highest is Liechtenstein (1.16); at the bottom, 2 countries tie at 1.01 (e.g. Namibia, Zambia). The median country value is 1.05. The World Bank's World aggregate for 2024 is 1.05.
Top 10 countries, 2024
male births per female births
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Liechtenstein | 1.16 |
| 2 | Northern Mariana Islands | 1.15 |
| 3 | Azerbaijan | 1.11 |
| 4 | Viet Nam | 1.11 |
| 5 | China | 1.1 |
| 6 | Armenia | 1.08 |
| 7 | Tonga | 1.08 |
| 8 | Macao SAR, China | 1.08 |
| 9 | Uzbekistan | 1.08 |
| 10 | Hong Kong SAR, China | 1.08 |
Lowest, 2024
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | Zambia | 1.01 |
| 2 | Namibia | 1.01 |
| 3 | Malawi | 1.01 |
| 4 | Mozambique | 1.02 |
| 5 | Kenya | 1.02 |
| 6 | Gabon | 1.02 |
| 7 | Congo, Dem. Rep. | 1.02 |
| 8 | Zimbabwe | 1.02 |
| 9 | Burundi | 1.02 |
| 10 | Rwanda | 1.03 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1960s | 217 |
| 1970s | 217 |
| 1980s | 217 |
| 1990s | 217 |
| 2000s | 217 |
| 2010s | 217 |
| 2020s | 217 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 1.05 |
| 2023 | 1.06 |
| 2022 | 1.06 |
| 2021 | 1.06 |
| 2020 | 1.06 |
| 2019 | 1.06 |
| 2018 | 1.06 |
| 2017 | 1.07 |
| 2016 | 1.07 |
| 2015 | 1.07 |
| 2014 | 1.07 |
| 2013 | 1.07 |
By region, 2024
| World Bank region | Value |
|---|---|
| East Asia & Pacific | 1.08 |
| South Asia | 1.07 |
| Europe & Central Asia | 1.06 |
| Middle East, North Africa, Afghanistan & Pakistan | 1.05 |
| North America | 1.05 |
| Latin America & Caribbean | 1.04 |
| Sub-Saharan Africa | 1.03 |
First rows
sex-ratio-at-birth-male-births-per-female-births.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1960 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1961 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1962 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1963 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1964 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1965 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1966 | 1.049 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1967 | 1.049 |
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 | Sex ratio at birth (male births per female births), 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?
Liechtenstein, with 1.16.
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("sex-ratio-at-birth-male-births-per-female-births.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: sex-ratio-at-birth-male-births-per-female-births.csv
How many countries report a value for 2024?
217 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("sex-ratio-at-birth-male-births-per-female-births.csv"))
(df.year == 2024).sum()File: sex-ratio-at-birth-male-births-per-female-births.csv
What is the median across countries in 2024?
1.05 (median of the 217 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("sex-ratio-at-birth-male-births-per-female-births.csv"))
df[df.year == 2024]["value"].median()File: sex-ratio-at-birth-male-births-per-female-births.csv
Which country rose the most between 2014 and 2024?
Iceland: from 1.05 to 1.06, a rise of 0.009 (out of 217 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (sex-ratio-at-birth-male-births-per-female-births-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("sex-ratio-at-birth-male-births-per-female-births.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2024] - w[2014]).dropna().nlargest(1)File: sex-ratio-at-birth-male-births-per-female-births.csv
Which year has the most countries reporting?
2024, with 217 countries.
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("sex-ratio-at-birth-male-births-per-female-births.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: sex-ratio-at-birth-male-births-per-female-births.csv