DataBrighten

    Age at first marriage, male

    1,848 × 6rows × columns: 210 countries, 1960 to 2019

    Real data: World Bank, Health Nutrition and Population Statistics, indicator SP.DYN.SMAM.MA, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows1,848country-year values
    Countries210with at least one value
    Years1960 – 201956 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Mean age at marriage, male shows the average length of single life expressed in years among those males who marry before age 50. It is a synthetic indicator calculated from marital status categories of men and women aged 15 to 54 at the census or survey date.

    Limits and exceptions (World Bank note)

    The estimates by age may be affected by age misreporting. Marital status may be misreported, particularly in societies where divorce or separation is not socially acceptable. The differences in marital status categories included over time and their definitions limit comparability of data across time and countries. Data derived from surveys with small samples are subject to sampling error.

    The numbers in 2016

    In 2016, 50 countries have a value. The highest is Slovenia (35.9); the lowest is Belize (22.5). The median country value is 30.5.

    Top 10 countries, 2016

    value

    Source: World Bank, SP.DYN.SMAM.MA, retrieved 19 November 2026. Computed from age-at-first-marriage-male.csv.

    Highest, 2016

    #CountryValue
    1Slovenia35.9
    2Bulgaria35.4
    3Italy35.1
    4Hungary34.9
    5Greenland34.5
    6Czechia34.4
    7Lithuania34.4
    8Namibia34.3
    9Netherlands34.3
    10Faroe Islands34

    Lowest, 2016

    #CountryValue
    1Belize22.5
    2Nepal23.6
    3Malawi23.7
    4Uganda24.3
    5Tanzania25.2
    6Myanmar25.4
    7Ethiopia25.8
    8Angola25.8
    9Mexico25.9
    10India26
    How many countries report, by decade
    DecadeMost countries in one year
    1960s5
    1970s56
    1980s50
    1990s70
    2000s81
    2010s77

    First rows

    age-at-first-marriage-male.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197326
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197925.3
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201524.7
    AlbaniaALBEurope & Central AsiaUpper middle income198927
    AlbaniaALBEurope & Central AsiaUpper middle income200028.5
    AlbaniaALBEurope & Central AsiaUpper middle income200127.3
    AlbaniaALBEurope & Central AsiaUpper middle income200226.9
    AlbaniaALBEurope & Central AsiaUpper middle income200928.8

    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
    valuenumberAge at first marriage, male, 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 2016?

    Slovenia, with 35.9.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("age-at-first-marriage-male.csv"))

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

    File: age-at-first-marriage-male.csv

    How many countries report a value for 2016?

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

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

    =COUNTIF(E2:E100000,2016)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("age-at-first-marriage-male.csv"))

    (df.year == 2016).sum()

    File: age-at-first-marriage-male.csv

    What is the median across countries in 2016?

    30.5 (median of the 50 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("age-at-first-marriage-male.csv"))

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

    File: age-at-first-marriage-male.csv

    Which country rose the most between 2006 and 2016?

    Lithuania: from 28.8 to 34.4, a rise of 5.6 (out of 31 countries with both years).

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

    Use the wide file (age-at-first-marriage-male-wide.csv): add a column = [2016] - [2006], 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 = 2006 AND b.year = 2016 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("age-at-first-marriage-male.csv"))

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

    File: age-at-first-marriage-male.csv

    Which year has the most countries reporting?

    2000, with 81 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("age-at-first-marriage-male.csv"))

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

    File: age-at-first-marriage-male.csv