GDP per capita (current US$)

Source: worldbank.org, 01.09.2025

Year: 2024

Flag Country Value Value change, % Rank
Angola Angola 2,122 -8.12% 149
Albania Albania 10,012 +16.8% 82
Andorra Andorra 49,304 +5.32% 24
United Arab Emirates United Arab Emirates 49,378 +0.687% 23
Argentina Argentina 13,858 -2.32% 69
Armenia Armenia 8,501 +4.62% 87
Antigua & Barbuda Antigua & Barbuda 23,726 +10.4% 52
Australia Australia 64,407 -0.661% 13
Austria Austria 56,833 +1.43% 15
Azerbaijan Azerbaijan 7,284 +2.11% 99
Burundi Burundi 154 -19.9% 184
Belgium Belgium 55,955 +2.31% 16
Benin Benin 1,485 +6.54% 155
Burkina Faso Burkina Faso 987 +11.9% 169
Bangladesh Bangladesh 2,593 +1.66% 139
Bulgaria Bulgaria 17,412 +9.62% 62
Bahrain Bahrain 30,048 +2.59% 42
Bahamas Bahamas 39,455 +3.2% 30
Bosnia & Herzegovina Bosnia & Herzegovina 8,957 +3.4% 85
Belarus Belarus 8,317 +5.32% 90
Belize Belize 8,430 +13% 89
Bermuda Bermuda 138,935 +4.77% 1
Bolivia Bolivia 4,001 +8.54% 123
Brazil Brazil 10,280 -0.937% 81
Barbados Barbados 25,366 +6.56% 47
Brunei Brunei 33,418 +1.6% 37
Botswana Botswana 7,695 -1.68% 93
Central African Republic Central African Republic 516 +4.07% 181
Canada Canada 54,283 +0.115% 18
Switzerland Switzerland 103,670 +3.02% 4
Chile Chile 16,710 -2.09% 63
China China 13,303 +2.72% 72
Côte d’Ivoire Côte d’Ivoire 2,710 +6.08% 135
Cameroon Cameroon 1,762 +1.47% 152
Congo - Kinshasa Congo - Kinshasa 647 +2.22% 177
Congo - Brazzaville Congo - Brazzaville 2,482 +0.172% 141
Colombia Colombia 7,914 +13% 92
Comoros Comoros 1,784 +6.06% 151
Cape Verde Cape Verde 5,273 +8.47% 113
Costa Rica Costa Rica 18,587 +9.71% 60
Cyprus Cyprus 38,654 +5.75% 32
Czechia Czechia 31,707 +0.366% 40
Germany Germany 55,800 +3.45% 17
Djibouti Djibouti 3,496 +2.91% 128
Dominica Dominica 10,405 +4.97% 80
Denmark Denmark 71,852 +4.96% 11
Dominican Republic Dominican Republic 10,876 +2.31% 79
Algeria Algeria 5,631 +4.98% 110
Ecuador Ecuador 6,875 +2.03% 101
Egypt Egypt 3,338 -3.42% 130
Spain Spain 35,297 +5.34% 34
Estonia Estonia 31,170 +3.44% 41
Finland Finland 53,189 +0.695% 21
Fiji Fiji 6,288 +6.79% 106
France France 46,150 +3.27% 26
Micronesia (Federated States of) Micronesia (Federated States of) 4,166 +5.7% 122
Gabon Gabon 8,219 +1.83% 91
United Kingdom United Kingdom 52,637 +6.98% 22
Georgia Georgia 9,194 +11% 84
Ghana Ghana 2,406 +0.918% 143
Guinea Guinea 1,717 +10.4% 154
Gambia Gambia 909 +2.29% 172
Guinea-Bissau Guinea-Bissau 963 -0.201% 171
Equatorial Guinea Equatorial Guinea 6,745 +1.01% 102
Greece Greece 24,752 +5.77% 49
Grenada Grenada 11,872 +4.98% 76
Guatemala Guatemala 6,150 +6.8% 108
Guyana Guyana 29,884 +46% 43
Hong Kong SAR China Hong Kong SAR China 54,107 +7% 20
Honduras Honduras 3,426 +6.17% 129
Croatia Croatia 23,931 +9.45% 50
Haiti Haiti 2,143 +25.6% 147
Hungary Hungary 23,311 +4.48% 54
Indonesia Indonesia 4,925 +1.01% 114
India India 2,697 +6.58% 136
Ireland Ireland 107,316 +3.3% 3
Iran Iran 4,771 +6.85% 116
Iraq Iraq 6,074 +1.82% 109
Iceland Iceland 82,704 +3.43% 8
Israel Israel 54,177 +4.18% 19
Italy Italy 40,226 +2.97% 28
Jamaica Jamaica 7,020 +2.63% 100
Jordan Jordan 4,618 +3.4% 118
Japan Japan 32,476 -4.02% 38
Kazakhstan Kazakhstan 14,005 +8.74% 68
Kenya Kenya 2,206 +13% 145
Kyrgyzstan Kyrgyzstan 2,419 +13.1% 142
Cambodia Cambodia 2,628 +8.15% 138
Kiribati Kiribati 2,289 +5.09% 144
St. Kitts & Nevis St. Kitts & Nevis 22,771 +0.756% 55
Kuwait Kuwait 32,214 -5.46% 39
Laos Laos 2,124 +2.76% 148
Liberia Liberia 846 +5.89% 174
Libya Libya 6,318 +2.36% 105
St. Lucia St. Lucia 14,182 +4.62% 66
Sri Lanka Sri Lanka 4,516 +18.9% 119
Lesotho Lesotho 972 +6.06% 170
Lithuania Lithuania 29,386 +5.76% 44
Luxembourg Luxembourg 137,517 +4.65% 2
Latvia Latvia 23,368 +3.05% 53
Macao SAR China Macao SAR China 73,047 +8.26% 10
Morocco Morocco 3,993 +5.88% 124
Moldova Moldova 7,618 +12% 94
Madagascar Madagascar 545 +7.13% 180
Maldives Maldives 13,216 +5.47% 73
Mexico Mexico 14,158 +2.4% 67
Marshall Islands Marshall Islands 7,467 +11.8% 95
North Macedonia North Macedonia 9,310 +7.95% 83
Mali Mali 1,086 +4.86% 163
Malta Malta 42,347 +5.39% 27
Myanmar (Burma) Myanmar (Burma) 1,359 +10.2% 158
Montenegro Montenegro 12,935 +7.1% 74
Mongolia Mongolia 6,691 +14.6% 103
Mozambique Mozambique 647 +3.9% 178
Mauritania Mauritania 2,083 -1.79% 150
Mauritius Mauritius 11,872 +6.17% 75
Malawi Malawi 508 -15.6% 182
Malaysia Malaysia 11,867 +4.29% 77
Namibia Namibia 4,413 +5.39% 120
Niger Niger 723 +13.2% 176
Nigeria Nigeria 807 -49.5% 175
Nicaragua Nicaragua 2,848 +9.12% 134
Netherlands Netherlands 68,219 +5.65% 12
Norway Norway 86,810 -0.786% 6
Nepal Nepal 1,447 +4.7% 157
Nauru Nauru 13,422 +5.23% 71
New Zealand New Zealand 48,747 +0.189% 25
Oman Oman 20,248 -3.45% 56
Pakistan Pakistan 1,485 +8.76% 156
Panama Panama 19,103 +2.23% 59
Peru Peru 8,452 +7.16% 88
Philippines Philippines 3,985 +4.75% 125
Papua New Guinea Papua New Guinea 3,076 +3.72% 133
Poland Poland 25,023 +13% 48
Puerto Rico Puerto Rico 39,285 +6.32% 31
Portugal Portugal 28,844 +5.32% 45
Paraguay Paraguay 6,416 +1.84% 104
Palestinian Territories Palestinian Territories 2,592 -25% 140
Qatar Qatar 76,276 -4.89% 9
Romania Romania 20,072 +9.06% 57
Russia Russia 14,889 +5.15% 65
Rwanda Rwanda 1,000 -2.67% 167
Saudi Arabia Saudi Arabia 35,057 -3.04% 35
Sudan Sudan 989 +24.1% 168
Senegal Senegal 1,744 +2.71% 153
Singapore Singapore 90,674 +6.16% 5
Solomon Islands Solomon Islands 2,149 +3.53% 146
Sierra Leone Sierra Leone 873 +15.2% 173
El Salvador El Salvador 5,580 +3.99% 111
Somalia Somalia 637 +6.62% 179
Serbia Serbia 13,524 +10.1% 70
São Tomé & Príncipe São Tomé & Príncipe 3,245 +10.3% 131
Suriname Suriname 7,431 +35.2% 96
Slovakia Slovakia 26,148 +5.98% 46
Slovenia Slovenia 34,089 +4.54% 36
Sweden Sweden 57,723 +3.88% 14
Eswatini Eswatini 3,936 +5.2% 126
Sint Maarten Sint Maarten 40,028 +5.12% 29
Seychelles Seychelles 17,859 -2.21% 61
Turks & Caicos Islands Turks & Caicos Islands 37,507 +5.74% 33
Chad Chad 1,016 +2.73% 166
Togo Togo 1,043 +5.83% 165
Thailand Thailand 7,345 +2.09% 97
Tajikistan Tajikistan 1,341 +13.8% 160
Turkmenistan Turkmenistan 8,572 +4.12% 86
Timor-Leste Timor-Leste 1,343 -10.6% 159
Trinidad & Tobago Trinidad & Tobago 19,315 +3.62% 58
Tunisia Tunisia 4,350 +10.1% 121
Turkey Turkey 15,473 +18.1% 64
Tanzania Tanzania 1,186 -3.16% 162
Uganda Uganda 1,073 +7.02% 164
Ukraine Ukraine 5,389 +4.86% 112
Uruguay Uruguay 23,907 +3.85% 51
United States United States 85,810 +4.26% 7
Uzbekistan Uzbekistan 3,162 +9.82% 132
St. Vincent & Grenadines St. Vincent & Grenadines 11,501 +8.68% 78
Vietnam Vietnam 4,717 +9.11% 117
Vanuatu Vanuatu 3,543 +0.784% 127
Samoa Samoa 4,899 +13.1% 115
Kosovo Kosovo 7,299 +17.3% 98
Yemen Yemen 433 +1.6% 183
South Africa South Africa 6,253 +3.83% 107
Zambia Zambia 1,235 -7.19% 161
Zimbabwe Zimbabwe 2,656 +23.2% 137

The indicator of GDP per capita (current US$) serves as a vital measurement of the economic health of a country by calculating the total gross domestic product divided by the population. It essentially provides a per-person economic output, offering insights into how prosperous a nation feels per capita. As of 2023, the global median value for GDP per capita stands at $7,820.23, showcasing a snapshot of wealth distribution and comparative prosperity among nations.

Understanding the importance of GDP per capita cannot be overstated. It acts as a critical barometer for living standards and economic well-being. In countries with high GDP per capita values, citizens typically experience better access to health care, education, and social services. Conversely, nations with lower GDP per capita often battle poverty, poor health care systems, and inadequate education. This indicator offers a simple yet powerful way to compare the economic performance of different countries and regions, and it influences strategic decisions in both public and private sectors globally.

GDP per capita is related to other vital economic indicators. For instance, there is a close relationship between GDP per capita and Human Development Index (HDI), as wealthier nations generally exhibit higher HDI scores, implying better health, education, and living conditions for their populations. Similarly, GDP per capita is often correlated with productivity metrics, as regions with higher productivity levels tend to produce more economic output per person. Furthermore, the connection between GDP per capita and poverty rates is significant; countries with higher GDP per capita levels typically experience lower poverty rates, illustrating the effectiveness of wealth distribution in enhancing life quality.

Several factors impact GDP per capita. Industrialization level plays a crucial role. Highly industrialized countries often possess advanced technologies and efficient production processes, leading to greater economic output per individual. Similarly, natural resources availability can influence a nation's GDP per capita; countries rich in resources like oil or minerals can generate significant income, thereby raising their economic output per person. Political stability and governance are also prominent factors; countries that maintain stability and effective rule of law are likely to attract foreign investment, fostering economic growth and subsequently increasing GDP per capita.

In considering strategies that can improve GDP per capita, several solutions come to mind. Investment in education and skills training is paramount; a well-educated workforce is more productive, which in turn can enhance economic output. Encouraging innovation and technology adoption can also drive economic growth, as businesses that leverage new technologies can produce more efficiently and competitively. Policymakers often focus on improving infrastructure, as efficient transportation and communication can reduce costs and enhance market access—crucial elements for enhancing productivity.

However, despite its widespread use, GDP per capita has its flaws. It does not account for income distribution within a country. Therefore, two nations with the same GDP per capita can provide vastly different standards of living for their citizens, especially if one has high levels of income inequality. Additionally, GDP per capita fails to consider the informal economy, which can also contribute significantly to a country's economic output. This oversight could misrepresent the actual economic conditions faced by individuals in different societies.

In 2023, the highest GDP per capita is observed in Monaco at approximately $256,580.52, showcasing an extraordinary level of wealth among its residents. This is followed closely by Luxembourg, Bermuda, Ireland, and Switzerland, reflecting their robust economies, favorable tax conditions, and well-developed financial services. These areas represent models for high economic performance, often attributed to their strategic policies focusing on attracting investment and fostering technology and innovation.

Conversely, at the lower end of the spectrum, we find countries such as Burundi ($193.01), Afghanistan ($415.71), and Yemen ($477.41), struggling with various socio-economic challenges. The central African nations like the Central African Republic and Madagascar also illustrate the dire circumstances in which many reside, with GDP per capita figures below $500. These stark contrasts highlight the global economic divide, as some countries flourish while others confront economic distress.

A historical perspective on GDP per capita shows remarkable growth over time. In 1960, the global GDP per capita was only $454.06, indicating a relatively undeveloped global economy. Fast forward to 2023, and the figure has soared to $13,169.60, demonstrating considerable progress, especially in the last few decades. Observing this growth, one can trace a timeline of increasing industrialization, technological advancements, and globalization influences that have collectively enhanced economic productivity worldwide.

GDP per capita remains a fundamental economic indicator, reflecting not just the wealth of individuals in a country, but also broader trends of economic development and disparity. By understanding its nuances, factors influencing it, and relationships to other economic indicators, we can develop more targeted strategies to enhance living standards globally. As we move forward, continuous analysis and application of this metric can help policymakers craft solutions that address not just the wealth itself, but the equitable distribution of resources that supports sustainable development.

                    
# Install missing packages
import sys
import subprocess

def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])

# Required packages
for package in ['wbdata', 'country_converter']:
try:
__import__(package)
except ImportError:
install(package)

# Import libraries
import wbdata
import country_converter as coco
from datetime import datetime

# Define World Bank indicator code
dataset_code = 'NY.GDP.PCAP.CD'

# Download data from World Bank API
data = wbdata.get_dataframe({dataset_code: 'value'},
date=(datetime(1960, 1, 1), datetime.today()),
parse_dates=True,
keep_levels=True).reset_index()

# Extract year
data['year'] = data['date'].dt.year

# Convert country names to ISO codes using country_converter
cc = coco.CountryConverter()
data['iso2c'] = cc.convert(names=data['country'], to='ISO2', not_found=None)
data['iso3c'] = cc.convert(names=data['country'], to='ISO3', not_found=None)

# Filter out rows where ISO codes could not be matched — likely not real countries
data = data[data['iso2c'].notna() & data['iso3c'].notna()]

# Sort for calculation
data = data.sort_values(['iso3c', 'year'])

# Calculate YoY absolute and percent change
data['value_change'] = data.groupby('iso3c')['value'].diff()
data['value_change_percent'] = data.groupby('iso3c')['value'].pct_change() * 100

# Calculate ranks (higher GDP per capita = better rank)
data['rank'] = data.groupby('year')['value'].rank(ascending=False, method='dense')

# Calculate rank change from previous year
data['rank_change'] = data.groupby('iso3c')['rank'].diff()

# Select desired columns
final_df = data[['country', 'iso2c', 'iso3c', 'year', 'value',
'value_change', 'value_change_percent', 'rank', 'rank_change']].copy()

# Optional: Add labels as metadata (could be useful for export or UI)
column_labels = {
'country': 'Country name',
'iso2c': 'ISO 2-letter country code',
'iso3c': 'ISO 3-letter country code',
'year': 'Year',
'value': 'GDP per capita (current US$)',
'value_change': 'Year-over-Year change in value',
'value_change_percent': 'Year-over-Year percent change in value',
'rank': 'Country rank by GDP per capita (higher = richer)',
'rank_change': 'Change in rank from previous year'
}

# Display first few rows
print(final_df.head(10))

# Optional: Save to CSV
#final_df.to_csv("gdp_per_capita_cleaned.csv", index=False)
                    
                
                    
# Check and install required packages
required_packages <- c("WDI", "countrycode", "dplyr")

for (pkg in required_packages) {
  if (!requireNamespace(pkg, quietly = TRUE)) {
    install.packages(pkg)
  }
}

# Load the necessary libraries
library(WDI)
library(dplyr)
library(countrycode)

# Define the dataset code (World Bank indicator code)
dataset_code <- 'NY.GDP.PCAP.CD'

# Download data using WDI package
dat <- WDI(indicator = dataset_code)

# Filter only countries using 'is_country' from countrycode
# This uses iso2c to identify whether the entry is a recognized country
dat <- dat %>%
  filter(countrycode(iso2c, origin = 'iso2c', destination = 'country.name', warn = FALSE) %in%
           countrycode::codelist$country.name.en)

# Ensure dataset is ordered by country and year
dat <- dat %>%
  arrange(iso3c, year)

# Rename the dataset_code column to "value" for easier manipulation
dat <- dat %>%
  rename(value = !!dataset_code)

# Calculate year-over-year (YoY) change and percentage change
dat <- dat %>%
  group_by(iso3c) %>%
  mutate(
    value_change = value - lag(value),                              # Absolute change from previous year
    value_change_percent = 100 * (value - lag(value)) / lag(value) # Percent change from previous year
  ) %>%
  ungroup()

# Calculate rank by year (higher value => higher rank)
dat <- dat %>%
  group_by(year) %>%
  mutate(rank = dense_rank(desc(value))) %>% # Rank countries by descending value
  ungroup()

# Calculate rank change (positive = moved up, negative = moved down)
dat <- dat %>%
  group_by(iso3c) %>%
  mutate(rank_change = rank - lag(rank)) %>% # Change in rank compared to previous year
  ungroup()

# Select and reorder final columns
final_data <- dat %>%
  select(
    country,
    iso2c,
    iso3c,
    year,
    value,
    value_change,
    value_change_percent,
    rank,
    rank_change
  )

# Add labels (variable descriptions)
attr(final_data$country, "label") <- "Country name"
attr(final_data$iso2c, "label") <- "ISO 2-letter country code"
attr(final_data$iso3c, "label") <- "ISO 3-letter country code"
attr(final_data$year, "label") <- "Year"
attr(final_data$value, "label") <- "GDP per capita (current US$)"
attr(final_data$value_change, "label") <- "Year-over-Year change in value"
attr(final_data$value_change_percent, "label") <- "Year-over-Year percent change in value"
attr(final_data$rank, "label") <- "Country rank by GDP per capita (higher = richer)"
attr(final_data$rank_change, "label") <- "Change in rank from previous year"

# Print the first few rows of the final dataset
print(head(final_data, 10))