World SurveyPlay
Comparison · land neighboursHUN · SVN

Hungary and Slovenia compared

Two neighbours in Central Europe: people, land, economy and capitals side by side

Locator map of Hungary and SloveniaHUNGARYSLOVENIABudapestLjubljanaAUSTRIACROATIAROMANIACZECHIAITALYGERMANYSERBIAPOLANDSLOVAKIABOSNIA ANDHERZEGOVINA0200 km
Hungary and Slovenia hatched in opposite directions; Budapest and Ljubljana marked with triangles and joined by a dashed line; countries that border both are shaded. Orthographic projection centred on 47.1°N 18.0°E; the scale bar is true at that point.

Hungary and Slovenia are neighbours in Central Europe; Budapest and Ljubljana, the two capitals, lie 383 km apart in a straight line. Hungary is the larger of the two on both counts, with 4.6 times the area (93,028 km² against 20,273 km², world-countries) and 4.5 times the population (9.51 million against 2.13 million in 2025, World Bank).

The economy of Hungary is 3.1 times the size of that of Slovenia: a GDP of US$246.5 billion against US$79.6 billion in 2025 (World Bank, current US$). Life expectancy at birth is 5.6 years longer in Slovenia: 82.3 years against 76.7 years in 2024 (World Bank). Both also border Austria and Croatia.

Side by side larger figure in bold

World Bank figures are the latest for each country, with the year beside each one; a figure older than 2018 is shown but not compared. Area, land neighbours, capitals, languages and currencies: world-countries, which gives no year. Density is population divided by area.
MeasureHungarySloveniaDifference
PopulationWorld Bank9,514,251 20252,130,986 2025Hungary4.5 times as many people
Areaworld-countries93,028 km²20,273 km²Hungary4.6 times the area
Population densitypopulation ÷ area102 per km² 2025105 per km² 2025Slovenia3% denser
GDPWorld Bank, current US$US$246.5 billion 2025US$79.6 billion 2025Hungary3.1 times as large
GDP per capitaWorld Bank, current US$US$25,907 2025US$37,376 2025Slovenia44% higher
Life expectancyWorld Bank76.7 years 202482.3 years 2024Slovenia5.6 years longer
Land neighboursworld-countries74Hungary3 more
Capitalworld-countriesBudapestLjubljana383 kmapart, in a straight line
Languagesworld-countriesHungarianSlovenenone in common
Currencyworld-countriesHungarian forint (HUF)Euro (EUR)none in common

Shared neighbours 2 countries border both