Final consumption expenditure (annual % growth)

Source: worldbank.org, 03.09.2025

Year: 2024

Flag Country Value Value change, % Rank
Angola Angola -0.00909 -99.1% 122
Albania Albania 3.5 +9.61% 61
Argentina Argentina -4.07 -463% 126
Armenia Armenia 1.6 -82.2% 107
Australia Australia 1.88 -61.6% 100
Austria Austria 0.511 +8,597% 120
Belgium Belgium 2.21 +68.6% 94
Benin Benin 4.46 -14.7% 41
Burkina Faso Burkina Faso 5.6 -11.9% 25
Bangladesh Bangladesh 6.32 +151% 17
Bulgaria Bulgaria 4.3 +219% 45
Bahamas Bahamas 2.76 -68.2% 79
Bosnia & Herzegovina Bosnia & Herzegovina 2.14 +61.5% 96
Belarus Belarus 9.57 +55.9% 7
Bermuda Bermuda 2.21 -13.1% 95
Brazil Brazil 4.17 +24.1% 46
Brunei Brunei 3.66 -23.4% 58
Botswana Botswana 3.5 -33.5% 60
Central African Republic Central African Republic 21.5 -571% 1
Canada Canada 2.6 +32.7% 85
Switzerland Switzerland 1.79 +16.7% 102
Chile Chile 1.44 -141% 109
China China 3.86 -53.5% 52
Côte d’Ivoire Côte d’Ivoire 5.93 +12.4% 22
Cameroon Cameroon 3.76 +8.4% 54
Congo - Kinshasa Congo - Kinshasa 3.44 +91.1% 63
Congo - Brazzaville Congo - Brazzaville 5.67 +32.3% 24
Colombia Colombia 1.24 +117% 113
Comoros Comoros 4.47 +4.25% 40
Cape Verde Cape Verde 4.49 -32.9% 38
Costa Rica Costa Rica 3.34 -17.5% 64
Cyprus Cyprus 3.28 -31.5% 65
Czechia Czechia 2.48 -349% 89
Germany Germany 1.19 -498% 114
Djibouti Djibouti 6.73 +708% 15
Denmark Denmark 1.08 +9.17% 115
Dominican Republic Dominican Republic 4.46 +63.6% 42
Ecuador Ecuador -1.28 -134% 125
Egypt Egypt 7.41 +144% 10
Spain Spain 3.22 +20.8% 66
Estonia Estonia -0.131 -81.7% 123
Ethiopia Ethiopia 8.96 +57% 8
Finland Finland 0.496 -54% 121
France France 1.34 +68.6% 110
Gabon Gabon 3.1 +58.4% 71
United Kingdom United Kingdom 1.24 +55.6% 112
Georgia Georgia 13 +157% 3
Ghana Ghana 4.52 -51.2% 37
Guinea Guinea 4.1 +27.2% 47
Gambia Gambia 4.67 -224% 35
Guinea-Bissau Guinea-Bissau 2.89 -50% 76
Equatorial Guinea Equatorial Guinea 1.59 -67.3% 108
Greece Greece 0.702 -64.3% 117
Guatemala Guatemala 5.06 +17.4% 31
Hong Kong SAR China Hong Kong SAR China -0.344 -107% 124
Honduras Honduras 4.48 -14.6% 39
Croatia Croatia 5.31 +29.5% 27
Haiti Haiti -4.42 -1,127% 127
Hungary Hungary 2.27 +828% 92
Indonesia Indonesia 5.29 +12.4% 28
India India 7.07 +19.3% 13
Ireland Ireland 2.81 -39.7% 78
Iran Iran 2.53 -12.1% 86
Iraq Iraq 7.86 +223% 9
Iceland Iceland 1.24 +30.6% 111
Israel Israel 6.9 +358% 14
Italy Italy 0.561 +22.7% 119
Kenya Kenya 3.75 -34.4% 55
Cambodia Cambodia 2.49 -48.6% 88
Libya Libya 3.89 -28% 51
Sri Lanka Sri Lanka 3.19 -232% 69
Lithuania Lithuania 2.99 -1,083% 74
Luxembourg Luxembourg 2.63 +44.7% 84
Latvia Latvia 2.32 +116% 91
Macao SAR China Macao SAR China 1.76 -68.2% 103
Morocco Morocco 3.73 -5.18% 57
Moldova Moldova 1.62 -220% 106
Madagascar Madagascar 1.86 -51.9% 101
Mexico Mexico 2.66 -31.8% 82
North Macedonia North Macedonia 2.63 +293% 83
Mali Mali 4.41 +1.18% 43
Malta Malta 6.14 -36.2% 19
Montenegro Montenegro 7.36 +26.9% 11
Mongolia Mongolia 14.1 +72% 2
Mozambique Mozambique -5.78 -167% 128
Mauritius Mauritius 3.56 +68.4% 59
Malaysia Malaysia 5.02 +13.8% 32
Namibia Namibia 10.8 +179% 4
Niger Niger 2.49 +69.5% 87
Nicaragua Nicaragua 7.25 +7.69% 12
Netherlands Netherlands 2.03 +29.9% 98
Norway Norway 1.63 +298% 105
Nepal Nepal 1.94 -258% 99
Pakistan Pakistan 4.59 +133% 36
Peru Peru 2.85 +340% 77
Philippines Philippines 5.25 +12.9% 29
Poland Poland 4.3 +384% 44
Portugal Portugal 2.74 +69.2% 80
Paraguay Paraguay 5.52 +58.2% 26
Palestinian Territories Palestinian Territories -31.3 +552% 130
Romania Romania 4.85 +31.7% 34
Russia Russia 5.2 -20% 30
Rwanda Rwanda 6.12 -25.1% 20
Saudi Arabia Saudi Arabia 2.44 -64.9% 90
Sudan Sudan -14.4 -48.9% 129
Senegal Senegal 3.74 -25.2% 56
Singapore Singapore 5.67 +38.7% 23
Sierra Leone Sierra Leone 3.98 +131% 49
El Salvador El Salvador 3.05 +124% 73
Somalia Somalia 6.19 +35.4% 18
Serbia Serbia 3.82 -3,009% 53
Slovakia Slovakia 3.15 -206% 70
Slovenia Slovenia 3.47 +376% 62
Sweden Sweden 0.661 -178% 118
Seychelles Seychelles 10.6 +89.4% 5
Chad Chad 2.97 -29.6% 75
Togo Togo 5.97 +48.6% 21
Thailand Thailand 3.97 -2.04% 50
Tunisia Tunisia 3.1 -257% 72
Turkey Turkey 3.21 -72.6% 67
Tanzania Tanzania 4.1 +19.1% 48
Uganda Uganda 2.24 -40% 93
Ukraine Ukraine 2.13 -65.6% 97
Uruguay Uruguay 1.73 -37.4% 104
United States United States 2.71 +4.48% 81
Uzbekistan Uzbekistan 6.35 +7.17% 16
Samoa Samoa 10.2 +302% 6
Kosovo Kosovo 4.99 +43.7% 33
South Africa South Africa 0.885 -9.85% 116
Zimbabwe Zimbabwe 3.19 +214% 68

The indicator 'Final consumption expenditure (annual % growth)' is a crucial metric in understanding the economic health of nations. It represents the yearly growth rate of the total value of all final goods and services consumed within a country's borders. This consumption is a significant component of gross domestic product (GDP) and is essential for measuring how much the economy is growing or contracting. Growth in final consumption spending typically reflects an increase in consumer confidence, employment rates, and wages. This indicator serves to illustrate how effectively households and individuals spend their income, thus providing insight into both microeconomic trends and broader economic conditions.

In the context of 2023, the median value of final consumption expenditure growth stands at 3.07%. This figure provides a benchmark for evaluating various economies worldwide, indicating a moderate but stable level of consumption growth. The highest growth rates are observed in Turkey (11.73%), the United Arab Emirates (11.68%), Armenia (9.0%), Kyrgyzstan (8.9%), and the Maldives (8.84%). Such elevated growth rates in these nations suggest robust consumer demand and a possibly expanding middle class. Rapid expansion in these regions often correlates with significant infrastructure projects and shifts in economic policy geared towards improving living standards and increasing consumer access to goods and services.

Conversely, the bottom performers reveal a disheartening narrative. Nations like Sudan (-20.05%), Madagascar (-10.06%), and the Marshall Islands (-9.41%) exhibit significant declines in consumption expenditure. These negative values often signal severe economic distress, potentially due to political instability, high inflation rates, or natural disasters that undermine economic activities. For instance, a country facing internal conflict may see a decline in consumer confidence, resulting in decreased consumption levels as households prioritize basic needs over discretionary spending.

The relationship between final consumption expenditure and other economic indicators is intricate. For instance, consumer expenditure impacts GDP directly; when consumption increases, it generally implies higher GDP growth. Additionally, unemployment rates are connected; a decrease in unemployment typically leads to higher disposable income, bolstering consumer spending. Inflation also plays a vital role; if consumer prices rise too quickly, real purchasing power declines, leading to reduced spending. This interplay highlights the delicate balance policymakers need to maintain to foster sustainable economic growth.

Several factors influence final consumption expenditure growth. Consumer confidence, which can be swayed by economic conditions, job security, and political stability, heavily dictates spending behavior. Additionally, interest rates set by central banks affect borrowing costs; lower interest rates usually encourage spending through cheaper loans for major purchases such as homes and cars. Inflation rates also factor significantly; if wages do not keep pace with rising living costs, consumers may cut back on spending, leading to negative growth in this indicator.

In terms of strategies to enhance final consumption expenditure, governments can adopt various approaches. Fiscal policies, such as tax incentives for households or increased government spending on social programs, can stimulate consumption. In times of economic downturn, direct transfers or subsidies can empower consumers to maintain levels of spending. On a broader scale, improving infrastructure and reducing barriers to trade can help lower prices and increase the availability of goods. Moreover, promotional measures that foster consumer confidence, especially in emerging markets, can lead to sustained consumption growth over time.

However, this indicator is not without its flaws. For instance, high consumption growth rates do not always equate to economic prosperity, as they might reflect unsustainable borrowing or spending patterns. Additionally, in economies heavily reliant on foreign goods, a rise in consumption expenditure could inflate trade deficits, ultimately affecting currency valuations and economic stability. Moreover, narrow focus on consumption may overshadow essential areas such as savings or investments, which are equally vital for long-term economic health.

Examining historical data reveals patterns that can inform current economic strategy. In the early 2000s, global consumption expenditure exhibited generally healthy rates around 4%, with notable fluctuations due to economic shocks such as the 2008 financial crisis, which caused a sharp decline to 0.82% in 2009. The COVID-19 pandemic in 2020 led to a significant drop to -3.03%, highlighting the vulnerability of consumer spending to global events. The rebound in 2021 to 6.37% followed by stabilization around 3.5% to 3.18% in subsequent years signifies recovery but also underlines the need for ongoing supportive measures by governments and economic planners to sustain growth.

In summary, final consumption expenditure (annual % growth) serves as a multifunctional gauge of economic health, complexly interlaced with various economic indicators and influenced by a multitude of factors. The experiences and data from 2023 illustrate the diverse landscape of global economies, revealing both encouraging growth stories and troubling declines. Understanding and addressing the weaknesses in consumption patterns while promoting strategies conducive to sustainable economic growth will be vital for countries navigating the future economic terrain.

                    
# 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 = 'NE.CON.TOTL.KD.ZG'

# 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 <- 'NE.CON.TOTL.KD.ZG'

# 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))