Compensation of employees (% of expense)
Real data: World Bank, World Development Indicators, indicator GC.XPN.COMP.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Compensation of employees is defined as the total remuneration, in cash or in kind, payable by an enterprise to an employee in return for work done by the latter during the accounting period. This indicator is expressed as percentage of total expenses which is any decrease in net worth resulting from a transaction.
Limits and exceptions (World Bank note)
For most countries central government finance data have been consolidated into one account, but for others only budgetary central government accounts are available. Countries reporting budgetary data are noted in the country metadata. Because budgetary accounts may not include all central government units (such as social security funds), they usually provide an incomplete picture. In federal states the central government accounts provide an incomplete view of total public finance. Data on government revenue and expense are collected by the IMF through questionnaires to member countries and by the Organisation for Economic Co-operation and Development (OECD). Despite IMF efforts to standardize data collection, statistics are often incomplete, untimely, and not comparable across countries.
The numbers in 2023
In 2023, 86 countries have a value. The highest is Botswana (53.96); the lowest is Kazakhstan (5.16). The median country value is 20.98. The World Bank's World aggregate for 2022 is 19.05.
Top 10 countries, 2023
% of expense
Highest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Botswana | 53.96 |
| 2 | Saudi Arabia | 48.55 |
| 3 | Madagascar | 47.86 |
| 4 | Samoa | 46.14 |
| 5 | Vanuatu | 46.06 |
| 6 | Jordan | 46 |
| 7 | Kyrgyz Republic | 43.6 |
| 8 | Somalia, Fed. Rep. | 42.05 |
| 9 | Paraguay | 41.51 |
| 10 | El Salvador | 40.94 |
Lowest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Kazakhstan | 5.16 |
| 2 | Spain | 5.93 |
| 3 | Brazil | 6.58 |
| 4 | Switzerland | 7.02 |
| 5 | Finland | 7.14 |
| 6 | Netherlands | 7.81 |
| 7 | United States | 8.11 |
| 8 | Korea, Rep. | 8.79 |
| 9 | Mexico | 9.2 |
| 10 | Moldova | 9.48 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 39 |
| 1980s | 44 |
| 1990s | 87 |
| 2000s | 120 |
| 2010s | 143 |
| 2020s | 134 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2022 | 19.05 |
| 2021 | 20.63 |
| 2020 | 21.88 |
| 2019 | 23.63 |
| 2018 | 23.4 |
| 2017 | 23.35 |
| 2016 | 24.06 |
| 2015 | 23.84 |
| 2014 | 22.78 |
| 2013 | 21.57 |
| 2012 | 23.45 |
| 2011 | 22.95 |
By region, 2023
| World Bank region | Value |
|---|---|
| Latin America & Caribbean | 24.5 |
| Europe & Central Asia | 15.79 |
| North America | 9.17 |
First rows
compensation-of-employees-percent-of-expense.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 36.7641537328888 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 28.2277820784536 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 18.3605751100374 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 23.4535383334864 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 23.2801147984071 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 21.9683395897047 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 28.8093672830339 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2013 | 28.8305202485778 |
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 | Compensation of employees (% of expense), 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 2023?
Botswana, with 53.96.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2023)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2023)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2023
AND value = (SELECT MAX(value) FROM wb WHERE year = 2023);pandas (df = pd.read_csv("compensation-of-employees-percent-of-expense.csv"))
y = df[df.year == 2023]
y[y.value == y.value.max()][["country", "value"]]File: compensation-of-employees-percent-of-expense.csv
How many countries report a value for 2023?
86 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2023)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2023;pandas (df = pd.read_csv("compensation-of-employees-percent-of-expense.csv"))
(df.year == 2023).sum()File: compensation-of-employees-percent-of-expense.csv
What is the median across countries in 2023?
20.98 (median of the 86 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2023))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 = 2023 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2023) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2023));pandas (df = pd.read_csv("compensation-of-employees-percent-of-expense.csv"))
df[df.year == 2023]["value"].median()File: compensation-of-employees-percent-of-expense.csv
Which country rose the most between 2013 and 2023?
Ukraine: from 11.59 to 28.63, a rise of 17.04 (out of 75 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (compensation-of-employees-percent-of-expense-wide.csv): add a column = [2023] - [2013], 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 = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("compensation-of-employees-percent-of-expense.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2023] - w[2013]).dropna().nlargest(1)File: compensation-of-employees-percent-of-expense.csv
Which year has the most countries reporting?
2017, with 143 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("compensation-of-employees-percent-of-expense.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: compensation-of-employees-percent-of-expense.csv