GDP per capita, PPP (current international US$)

Source: worldbank.org, 01.09.2025

Year: 2024

Flag Country Value Value change, % Rank
Angola Angola 8,348 +3.74% 130
Albania Albania 23,488 +10.5% 81
Andorra Andorra 74,939 +4.47% 17
United Arab Emirates United Arab Emirates 77,959 +2.43% 15
Argentina Argentina 30,176 +0.31% 70
Armenia Armenia 22,823 +5.99% 82
Antigua & Barbuda Antigua & Barbuda 33,602 +6.33% 64
Australia Australia 71,193 +0.964% 22
Austria Austria 71,618 +1.62% 20
Azerbaijan Azerbaijan 25,089 +6.08% 79
Burundi Burundi 950 +3.29% 184
Belgium Belgium 72,126 +4.44% 19
Benin Benin 4,435 +7.38% 153
Burkina Faso Burkina Faso 2,896 +5.14% 173
Bangladesh Bangladesh 9,647 +5.45% 128
Bulgaria Bulgaria 41,086 +9.56% 56
Bahrain Bahrain 67,211 +4.74% 25
Bahamas Bahamas 41,198 +5.39% 55
Bosnia & Herzegovina Bosnia & Herzegovina 21,971 -2.39% 86
Belarus Belarus 33,006 +7.04% 67
Belize Belize 15,093 +9.18% 110
Bermuda Bermuda 119,719 +4.67% 6
Bolivia Bolivia 11,190 +2.42% 123
Brazil Brazil 22,333 +5.47% 84
Barbados Barbados 22,672 +6.26% 83
Brunei Brunei 90,007 +5.85% 9
Botswana Botswana 20,538 -2.26% 91
Central African Republic Central African Republic 1,264 +0.517% 183
Canada Canada 65,463 +1.55% 26
Switzerland Switzerland 93,819 +3.66% 8
Chile Chile 34,637 +5.6% 63
China China 27,105 +7.65% 75
Côte d’Ivoire Côte d’Ivoire 7,653 +5.9% 137
Cameroon Cameroon 5,591 +3.44% 147
Congo - Kinshasa Congo - Kinshasa 1,710 +5.77% 180
Congo - Brazzaville Congo - Brazzaville 7,026 +2.57% 140
Colombia Colombia 21,495 +2.63% 88
Comoros Comoros 4,055 +3.9% 158
Cape Verde Cape Verde 11,262 +9.33% 122
Costa Rica Costa Rica 30,063 +7.08% 71
Cyprus Cyprus 61,240 +7.05% 29
Czechia Czechia 56,806 +6.74% 33
Germany Germany 72,300 +5.25% 18
Djibouti Djibouti 7,776 +7.05% 136
Dominica Dominica 21,301 +5% 89
Denmark Denmark 79,514 +7.83% 13
Dominican Republic Dominican Republic 27,541 +6.58% 74
Algeria Algeria 17,553 +4.33% 103
Ecuador Ecuador 15,840 -0.492% 107
Egypt Egypt 19,094 +3.07% 95
Spain Spain 56,926 +6.94% 32
Estonia Estonia 49,334 +5.44% 44
Ethiopia Ethiopia 3,278 +7.11% 166
Finland Finland 64,091 +4.02% 27
Fiji Fiji 16,032 +5.81% 106
France France 61,322 +5.15% 28
Micronesia (Federated States of) Micronesia (Federated States of) 4,346 +2.67% 155
Gabon Gabon 21,510 +3.63% 87
United Kingdom United Kingdom 60,620 +4.67% 31
Georgia Georgia 28,418 +13.3% 72
Ghana Ghana 8,027 +6.23% 132
Guinea Guinea 4,579 +5.66% 152
Gambia Gambia 3,445 +5.87% 164
Guinea-Bissau Guinea-Bissau 3,053 +5.01% 170
Equatorial Guinea Equatorial Guinea 17,567 +0.892% 102
Greece Greece 44,074 +7.02% 50
Grenada Grenada 20,167 +6.09% 93
Guatemala Guatemala 14,369 +4.53% 113
Guyana Guyana 79,906 +46% 12
Hong Kong SAR China Hong Kong SAR China 75,216 +5.19% 16
Honduras Honduras 7,486 +4.29% 138
Croatia Croatia 48,575 +6.53% 46
Haiti Haiti 3,183 -2.98% 169
Hungary Hungary 47,636 +5% 47
Indonesia Indonesia 16,448 +6.7% 104
India India 11,159 +8.09% 124
Ireland Ireland 131,175 +5.02% 3
Iran Iran 18,442 +4.43% 100
Iraq Iraq 14,464 -1.28% 111
Iceland Iceland 78,259 +2.08% 14
Israel Israel 55,691 +4.29% 35
Italy Italy 60,847 +5.1% 30
Jamaica Jamaica 11,662 +1.7% 121
Jordan Jordan 10,821 +3.93% 125
Japan Japan 51,685 +3.58% 39
Kazakhstan Kazakhstan 40,813 +5.97% 57
Kenya Kenya 6,619 +4.95% 141
Kyrgyzstan Kyrgyzstan 8,009 +9.75% 133
Cambodia Cambodia 7,970 +7.26% 134
Kiribati Kiribati 3,702 +6.22% 161
St. Kitts & Nevis St. Kitts & Nevis 35,545 +3.42% 62
Kuwait Kuwait 51,636 -2.62% 40
Laos Laos 9,788 +5.34% 127
Liberia Liberia 1,885 +5.04% 177
Libya Libya 13,954 +0.758% 115
St. Lucia St. Lucia 27,567 +6.13% 73
Sri Lanka Sri Lanka 15,633 +8.14% 108
Lesotho Lesotho 2,998 +4.08% 171
Lithuania Lithuania 54,414 +6.87% 37
Luxembourg Luxembourg 150,772 +5.86% 1
Latvia Latvia 43,867 +4.92% 52
Macao SAR China Macao SAR China 128,268 +10.1% 4
Morocco Morocco 10,305 +4.7% 126
Moldova Moldova 18,717 +5.46% 96
Madagascar Madagascar 1,884 +4.15% 178
Maldives Maldives 26,543 +7.31% 77
Mexico Mexico 25,688 +3.35% 78
Marshall Islands Marshall Islands 8,198 +8.84% 131
North Macedonia North Macedonia 26,587 +9.02% 76
Mali Mali 3,309 +4.43% 165
Malta Malta 67,364 +6.8% 24
Myanmar (Burma) Myanmar (Burma) 5,997 +0.741% 145
Montenegro Montenegro 33,380 +9.1% 65
Mongolia Mongolia 19,098 +6.07% 94
Mozambique Mozambique 1,700 +1.31% 181
Mauritania Mauritania 7,271 +4.68% 139
Mauritius Mauritius 31,051 +7.36% 69
Malawi Malawi 1,859 +1.64% 179
Malaysia Malaysia 38,729 +6.35% 58
Namibia Namibia 11,687 +3.87% 120
Niger Niger 2,015 +7.46% 176
Nigeria Nigeria 6,440 +3.74% 142
Nicaragua Nicaragua 8,709 +4.67% 129
Netherlands Netherlands 84,218 +7.55% 11
Norway Norway 101,032 +0.592% 7
Nepal Nepal 5,737 +6.33% 146
Nauru Nauru 14,327 +3.59% 114
New Zealand New Zealand 55,094 +2.3% 36
Oman Oman 41,664 -0.447% 53
Pakistan Pakistan 6,287 +4.15% 143
Panama Panama 41,405 +4.02% 54
Peru Peru 17,802 +4.65% 101
Philippines Philippines 11,794 +7.36% 118
Papua New Guinea Papua New Guinea 4,889 +4.73% 150
Poland Poland 50,378 +7.74% 42
Puerto Rico Puerto Rico 50,156 +5.74% 43
Portugal Portugal 50,617 +6.73% 41
Paraguay Paraguay 18,524 +5.46% 99
Palestinian Territories Palestinian Territories 4,371 -26.5% 154
Qatar Qatar 126,110 -2.18% 5
Romania Romania 48,712 +6.43% 45
Russia Russia 47,405 +7.08% 48
Rwanda Rwanda 3,711 +9.16% 160
Saudi Arabia Saudi Arabia 71,243 -0.449% 21
Sudan Sudan 2,127 -12.1% 175
Senegal Senegal 5,110 +6.97% 149
Singapore Singapore 150,689 +4.8% 2
Solomon Islands Solomon Islands 2,872 +2.56% 174
Sierra Leone Sierra Leone 3,516 +4.28% 163
El Salvador El Salvador 13,264 +4.61% 116
Somalia Somalia 1,601 +2.84% 182
Serbia Serbia 31,867 +10.9% 68
São Tomé & Príncipe São Tomé & Príncipe 6,230 +1.29% 144
Suriname Suriname 22,067 +4.41% 85
Slovakia Slovakia 47,181 +7.35% 49
Slovenia Slovenia 56,531 +4.78% 34
Sweden Sweden 71,030 +5.61% 23
Eswatini Eswatini 11,784 +4.08% 119
Sint Maarten Sint Maarten 52,085 +4.53% 38
Seychelles Seychelles 33,239 +4.59% 66
Turks & Caicos Islands Turks & Caicos Islands 37,954 +7.41% 59
Chad Chad 2,962 +1.04% 172
Togo Togo 3,239 +5.46% 168
Thailand Thailand 24,708 +5.06% 80
Tajikistan Tajikistan 5,406 +8.91% 148
Turkmenistan Turkmenistan 20,408 +2.92% 92
Timor-Leste Timor-Leste 4,758 -0.993% 151
Trinidad & Tobago Trinidad & Tobago 36,021 +4.05% 61
Tunisia Tunisia 14,451 +3.15% 112
Turkey Turkey 43,932 +3.79% 51
Tanzania Tanzania 4,221 +5.03% 157
Uganda Uganda 3,276 +5.75% 167
Ukraine Ukraine 18,550 +5.01% 98
Uruguay Uruguay 36,418 +5.65% 60
United States United States 85,810 +4.26% 10
Uzbekistan Uzbekistan 11,879 +6.95% 117
St. Vincent & Grenadines St. Vincent & Grenadines 21,272 +7.33% 90
Vietnam Vietnam 16,386 +8.99% 105
Vanuatu Vanuatu 3,602 +4.09% 162
Samoa Samoa 7,837 +11.4% 135
Kosovo Kosovo 18,620 +17.8% 97
South Africa South Africa 15,457 +1.73% 109
Zambia Zambia 4,224 +3.6% 156
Zimbabwe Zimbabwe 3,922 +2.65% 159

The Gross Domestic Product (GDP) per capita, measured in Purchasing Power Parity (PPP) using current international dollars, serves as an important economic indicator that reflects the average economic output per person in a given area, adjusted for price level differences across countries. This indicator provides a more accurate representation of living standards than nominal GDP per capita as it takes into account the relative cost of living and inflation rates. In 2023, the global median value for GDP per capita, PPP, stands at approximately $19,581.34. This figure paints a picture not only of economic productivity but also of potential access to goods and services.

The significance of GDP per capita, PPP cannot be overstated; it is vital in understanding economic health and human welfare. Policymakers often use this statistic to make comparisons between countries, informing development strategies and investment opportunities. Higher GDP per capita, PPP values typically correlate with higher living standards and better access to education and healthcare. For instance, in 2023, the top five areas showcasing GDP per capita, PPP include Singapore ($141,553.47), Luxembourg ($139,105.96), Qatar ($128,918.55), Ireland ($124,578.18), and Macao SAR China ($116,491.07). These nations exhibit incredibly high figures that directly relate to their economic policies, workforce education, and technological advancements.

Conversely, the bottom five areas reveal alarming statistics that reflect poverty and economic hardship: Burundi ($919.91), the Central African Republic ($1,259.82), Somalia ($1,556.52), Congo - Kinshasa ($1,615.75), and Mozambique ($1,677.68). The stark contrast between these figures and those of wealthier regions underlines the global disparity in economic development. Such discrepancies can fuel migration claims, social unrest, and calls for international aid as nations grapple with inequality.

GDP per capita, PPP also relates closely to other economic and social indicators. For instance, it often correlates with levels of education, health outcomes, and overall life satisfaction. Countries with higher GDP per capita frequently enjoy better health care systems, lower infant mortality rates, and higher life expectancy. Furthermore, it encourages investment in infrastructure, technology, and innovation, setting off a virtuous cycle of improvement. However, this relationship isn’t perfect. While GDP per capita, PPP can indicate progress, it might mask underlying issues like income inequality and regional disparities within high-performing countries.

Several factors can affect a nation's GDP per capita, PPP, including government policies, natural resources, education, and infrastructure development. Effective governance and stable political environments often contribute positively to economic outcomes. Countries rich in natural resources may experience booms that temporarily inflate their GDP per capita, but such growth can be unsustainable if not managed properly. On the other hand, nations with strong education systems and robust infrastructures can create a conducive environment for long-term economic growth.

To improve GDP per capita, PPP in lower-performing areas, several strategies can be employed. These include investing in education and workforce training, improving infrastructure, fostering entrepreneurship, and enhancing access to technology. Additionally, foreign aid and investment can play significant roles in bolstering the economies of developing nations. Substantial investment in healthcare can also yield dividends, as healthier populations are more productive and engaged in the workforce.

Nonetheless, the GDP per capita, PPP as an indicator isn’t without flaws. It does not measure income distribution, so a high GDP per capita can exist without equitable wealth distribution, misleading the interpretation of economic well-being. Furthermore, this measure may overlook non-market transactions and informal economies, particularly in developing nations where subsistence farming and barter systems are prevalent. While GDP per capita, PPP remains a crucial tool for economic analysis, it should be utilized alongside other social and economic indicators to offer a comprehensive view of a country’s prosperity.

Historically, the trend of GDP per capita, PPP reveals consistent growth over the years, from $5,578.13 in 1990 to $22,836.96 in 2023, illustrating global economic progress. This upward trajectory, especially notable after crises, indicates resilience and recovery in the global economy. Data shows fluctuations in growth rates influenced by global events like the 2008 financial crisis and the COVID-19 pandemic, affecting even wealthier nations. The significant increase from $17,725.79 in 2020 to over $22,000 in 2023 suggests a robust recovery phase.

In summary, GDP per capita, PPP is a vital economic indicator that sheds light on individual prosperity and overall economic health. While it offers a lens into living standards and economic performance, it needs to be balanced with other factors to gain a well-rounded view of a nation’s well-being. As we navigate a world of economic disparities, understanding the nuances of GDP per capita, PPP can facilitate more informed policy-making and targeted strategies for 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.PP.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.PP.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))