Armed forces personnel (% of total labor force)
Real data: World Bank, World Development Indicators, indicator MS.MIL.TOTL.TF.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Armed forces personnel are active duty military personnel, including paramilitary forces if the training, organization, equipment, and control suggest they may be used to support or replace regular military forces. Labor force comprises all people who meet the International Labour Organization's definition of the economically active population.
Limits and exceptions (World Bank note)
Data exclude personnel not on active duty, therefore they underestimate the share of the labor force working for the defense establishment. Governments rarely report the size of their armed forces, so such data typically come from intelligence sources. Unless otherwise indicated, reserves includes all reservists committed to rejoining the armed forces in an emergency, except when national reserve service obligations following conscription last almost a lifetime.
The numbers in 2020
In 2020, 168 countries have a value. The highest is Eritrea (13.29); at the bottom, 3 countries tie at 0 (e.g. Iceland, Libya, West Bank and Gaza). The median country value is 0.825. The World Bank's World aggregate for 2020 is 0.791.
Top 10 countries, 2020
% of total labor force
Highest, 2020
| # | Country | Value |
|---|---|---|
| 1 | Eritrea | 13.29 |
| 2 | Korea, Dem. People's Rep. | 8.62 |
| 3 | Syrian Arab Republic | 5.44 |
| 4 | Djibouti | 5.4 |
| 5 | Montenegro | 4.66 |
| 6 | Iraq | 4.4 |
| 7 | Israel | 4.23 |
| 8 | Lebanon | 4.1 |
| 9 | Lao PDR | 4.08 |
| 10 | Jordan | 3.98 |
Lowest, 2020
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | West Bank and Gaza | 0 |
| 2 | Libya | 0 |
| 3 | Iceland | 0 |
| 4 | Haiti | 0.0202 |
| 5 | Mozambique | 0.0834 |
| 6 | Liberia | 0.0871 |
| 7 | Tanzania | 0.0979 |
| 8 | Niger | 0.109 |
| 9 | Kenya | 0.113 |
| 10 | Burkina Faso | 0.122 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1990s | 168 |
| 2000s | 166 |
| 2010s | 167 |
| 2020s | 168 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2020 | 0.791 |
| 2019 | 0.791 |
| 2018 | 0.799 |
| 2017 | 0.801 |
| 2016 | 0.813 |
| 2015 | 0.818 |
| 2014 | 0.823 |
| 2013 | 0.831 |
| 2012 | 0.869 |
| 2011 | 0.875 |
| 2010 | 0.889 |
| 2009 | 0.89 |
By region, 2020
| World Bank region | Value |
|---|---|
| Middle East, North Africa, Afghanistan & Pakistan | 2.07 |
| Europe & Central Asia | 1.15 |
| Latin America & Caribbean | 0.944 |
| North America | 0.784 |
| East Asia & Pacific | 0.637 |
| South Asia | 0.601 |
| Sub-Saharan Africa | 0.377 |
First rows
armed-forces-personnel-percent-of-total-labor-force.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1990 | 1.95011668758559 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1991 | 1.4953887196515 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1992 | 1.38506158753297 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1993 | 1.23741684558798 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1994 | 1.14487765201367 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1995 | 9.34047469121561 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1996 | 10.119817220532 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1997 | 9.81047937569677 |
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 | Armed forces personnel (% of total labor force), 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 2020?
Eritrea, with 13.29.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2020)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2020)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2020
AND value = (SELECT MAX(value) FROM wb WHERE year = 2020);pandas (df = pd.read_csv("armed-forces-personnel-percent-of-total-labor-force.csv"))
y = df[df.year == 2020]
y[y.value == y.value.max()][["country", "value"]]File: armed-forces-personnel-percent-of-total-labor-force.csv
How many countries report a value for 2020?
168 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2020)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2020;pandas (df = pd.read_csv("armed-forces-personnel-percent-of-total-labor-force.csv"))
(df.year == 2020).sum()File: armed-forces-personnel-percent-of-total-labor-force.csv
What is the median across countries in 2020?
0.825 (median of the 168 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2020))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 = 2020 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2020) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2020));pandas (df = pd.read_csv("armed-forces-personnel-percent-of-total-labor-force.csv"))
df[df.year == 2020]["value"].median()File: armed-forces-personnel-percent-of-total-labor-force.csv
Which country rose the most between 2010 and 2020?
Venezuela, RB: from 0.892 to 3.47, a rise of 2.58 (out of 166 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (armed-forces-personnel-percent-of-total-labor-force-wide.csv): add a column = [2020] - [2010], 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 = 2010 AND b.year = 2020 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("armed-forces-personnel-percent-of-total-labor-force.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2020] - w[2010]).dropna().nlargest(1)File: armed-forces-personnel-percent-of-total-labor-force.csv
Which year has the most countries reporting?
2020, with 168 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("armed-forces-personnel-percent-of-total-labor-force.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: armed-forces-personnel-percent-of-total-labor-force.csv