Spain vs Hungary

Every indicator for Spain and Hungary side by side, with the percentage gap between them. Sources are listed at the bottom of the page.

Indicator comparison
IndicatorSpainHungaryDifference
Population (2025) (people)49,355,1439,514,251+418.7%
GDP (nominal) (billion $)1,906246+674.8%
GDP per capita ($)38,62725,907+49.1%
Life expectancy (years)83.976.7
Area (km²)505,97693,030+443.9%
Population density (people/km²)98102−4.6%
Median age (years)46.143.9
Internet usage (%)95.893.8
Unemployment rate (%)10.44.5
Inflation (%)2.74.4
Urban population (%)80.570.7
Military expenditure (2024) (million $)24,6154,735+419.9%
Military expenditure as a share of GDP (%)1.432.16−33.8%
Military expenditure as a share of government spending (%)3.204.43−27.8%
Military expenditure per capita ($)499498+0.2%
Armed forces personnel (2020) (people)199,00046,000+332.6%
Armed forces per 1,000 people (people)4.04.8−16.6%
Armed forces as a share of the labor force (%)0.870.95−8.4%

The difference column shows the percentage gap of Spain relative to Hungary; a positive value favors Spain. Interpret it in context — for unemployment, a lower value is better.

Key differences

  • On population (2025), Spain is 418.7% higher than Hungary.
  • On gdp (nominal), Spain is 674.8% higher than Hungary.
  • On gdp per capita, Spain is 49.1% higher than Hungary.
Spain and Hungary — core indicators
010 mn20 mn30 mn40 mn50 mnPopulation (2025)GDP (nominal)GDP per capitaAreaPopulation (2025) — Spain: 49.355.143GDP (nominal) — Spain: 1.906GDP per capita — Spain: 38.627Area — Spain: 505.976Population (2025) — Hungary: 9.514.251GDP (nominal) — Hungary: 246GDP per capita — Hungary: 25.907Area — Hungary: 93.030
SpainHungary

The indicators use different scales, so the chart is a rough visual comparison only; use the table for exact figures.

Other comparisons involving Spain or Hungary.

Data sourcesUN World Population Prospects, IMF, World Bank, SIPRI