Slovenia’s population density is 273 people per square mile
2,120,461 people on 7,774 sq mi (20,135 km²) · 83rd of 193 countries by density · World Bank, 2023
People per sq mi, 2020 per km² on the second row
- 10.4
- 5019
- 25097
- 1,000386
- 5,0001,931
- 25,000+9,653+
The ground: the average within 1 mi (2 km); sand: no one
Where Slovenia’s 2,115,498 people lived in 2020: a 3D model with one column for each 820 ft (250 m) square that has people, its height and colour set by that square’s density and nothing smoothed (the ground’s paler colour is the average round it), north up. Modeled estimate (JRC), GHS-POP R2023A; town names from GeoNames. Download the map (PNG) Download the figures (CSV)
Slovenia has 273 people per square mile (105 per km²): 2,120,461 people on 7,774 sq mi (20,135 km²) of land, the World Bank’s official estimate for 2023. That ranks 83rd of 193 countries and 20th of 43 in Europe. The 3D map above shows where those people live, square by square.
By Marko Visic, MPharm, BSc Physics · Updated · How the maps are made
| Population | 2,120,461 |
|---|---|
| Land area | 7,774 sq mi20,135 km² |
| Density | 273 per sq mi105 per km² |
| Rank by density | 83rd of 19320th of 43 in Europe |
Where Slovenia’s people live
Slovenia’s people live close together on a small part of its land. The JRC’s population grid counts 2,115,498 people in 2020 and places each one on the map above.
| 3.0% | of the land holds half of all residents. |
|---|---|
| 16.2% | of the land holds four in five. |
| 22.6% | of the land has no modeled residents. |
| 4,280 | people per sq mi (1,653 per km²) around the average resident, about 16 times the national density. This population-weighted density is the crowding people actually live in. |
- 3.0% of the land: half of all residents
- 13.2% of the land: the next 30%
- 61.2% of the land: the last 20%
- 22.6% of the land: nobody
Modeled estimates for 2020 (JRC GHS-POP R2023A). The shares and the weighted density are counted on 1 km squares; the map is built from the same people on 250 m squares.
Cities and towns
The JRC’s 2020 grid finds two places in Slovenia big and dense enough to count as urban centres. Together they hold 15.5% of all residents. Another 35.2% live in urban clusters, the JRC’s class for towns and suburbs, and 49.3% in rural areas.
| Urban centre | People, 2020 | Share of Slovenia |
|---|---|---|
| Ljubljana | 246,177 | 11.6% |
| Maribor | 81,904 | 3.9% |
Modeled estimates (JRC): urban-centre extents and people from GHS-SMOD and GHS-POP 2020, names from GHS-UCDB R2024A. Definitions on the methodology page.
How Slovenia’s density changed
Slovenia’s density went from 257 to 273 people per sq mi between 1992 and 2023 (99 to 105 per km²), the years the World Bank series covers. It reached its low of 255 in 1998 and has risen every year since.
People per square mile, official estimates, World Bank. The axis starts at 250.
The JRC’s grid goes back to 1975. It counts 1,816,231 people then and 2,115,498 in 2020,a rise of 16.5%. Over the same years the population’s centre moved 4.6 mi (7.5 km) west-southwest, toward Ljubljana.
| Year | People | Weighted density, per sq mi (km²) | In urban centres |
|---|---|---|---|
| 1975 | 1,816,231 | 3,829 (1,479) | 13.6% |
| 1980 | 1,900,572 | 4,026 (1,555) | 13.9% |
| 1985 | 1,951,595 | 4,207 (1,624) | 14.7% |
| 1990 | 1,985,172 | 4,405 (1,701) | 15.2% |
| 1995 | 1,990,330 | 4,328 (1,671) | 15.3% |
| 2000 | 1,983,342 | 4,207 (1,624) | 15.0% |
| 2005 | 2,003,477 | 4,161 (1,607) | 14.9% |
| 2010 | 2,055,643 | 4,163 (1,607) | 15.1% |
| 2015 | 2,078,991 | 4,171 (1,610) | 15.2% |
| 2020 | 2,115,498 | 4,280 (1,653) | 15.5% |
Modeled estimates (JRC GHS-POP and GHS-SMOD R2023A, 1 km grid), 1975–2020. The population centre is the population-weighted mean position (calculated).
Modeled and official counts
Two sources count Slovenia’s people on this page. The headline figures are the World Bank’s official estimates. The map and the where-people-live figures come from the JRC’s GHS-POP grid, which spreads census-based counts over the built-up areas it finds in satellite data.
For 2020 the grid’s total is 0.6% above the World Bank’s estimate. We show both as published and never adjust one to match the other.
Why the map looks like this
Slovenia takes in parts of four of Europe’s landscapes: the Alps, the karst country of the Dinaric Alps, the Pannonian and Danubian lowlands and hills, and the Mediterranean coast.1 Alpine mountains, Alpine hills and Dinaric plateaus together cover more than half of the country.2
Forest covered 58% of Slovenia in 2022, up from 36% in 1875,3 and karst, soluble rock such as limestone where water drains underground, covers 49.7% of it.4 On the map, bare ground and scattered short columns fill most of the country between the clusters.
The tallest cluster stands in the Ljubljana basin, which holds the capital and the industrial city of Kranj.1 Maribor, the second-largest urban centre, rises in the northeast, and the Pannonian lowlands farther east carry a wide spread of short columns.
Slovenia compared
Hungary, next door, has almost exactly Slovenia’s density: 272 people per sq mi to Slovenia’s 273. Italy is the most densely populated of Slovenia’s neighbours, with 517 people per sq mi, 1.9 times Slovenia’s density; Croatia is the least, with 179, 65% of Slovenia’s density.
| Country | People per sq mi | per km² | Population |
|---|---|---|---|
| Italy | 517 | 199 | 58,984,216 |
| Austria | 287 | 111 | 9,131,761 |
| Slovenia | 273 | 105 | 2,120,461 |
| Hungary | 272 | 105 | 9,592,186 |
| Croatia | 179 | 69 | 3,859,686 |
Official estimates for 2023, World Bank. Slovenia and its neighbours, the countries next to it on our 1 km grid of the World Bank’s boundaries (see methodology), densest first.
Farther away, Armenia (272), Cuba (275), Iraq (269) and Malaysia (277) have nearly the same density. In Europe, Slovenia ranks 20th of 43 by density, behind leaders Monaco, Malta and San Marino. The full ranking is on the population density by country page.
A US state the same size
Massachusetts is the US state closest to Slovenia in land area: 7,801 sq mi against 7,774. It holds 7,154,084 people (2025 estimate): 917 per sq mi (354 per km²), 3.4 times Slovenia’s density. See the Massachusetts density map.
Using this map
- Move it, turn it and look closer. Drag the map to move it, right-drag (or drag with Ctrl or ⌘ held) to turn and tilt it, scroll to zoom (scrolling down from the opening view carries on down the page), or use the buttons; on a phone, drag it with one finger, pinch or double-tap to zoom, twist two fingers to turn it and slide two fingers up or down to tilt it (the page scrolls from below the map). The compass button turns north back up. Point at any column to read its density.
- Read the colours, then the heights. A column’s top takes the legend’s colour for its square, and its height rises in step with density, so a column twice as tall marks a square twice as dense.
- Use the weighted density for crowding. The national figure of 273 per sq mi spreads people over all of Slovenia’s land, empty or not; 4,280 per sq mi is what the average resident lives in.
- Take the data with you. The CSV lists every figure on this page with its year, label and source, and the PNG is free to reuse with the credit below.
Questions about Slovenia’s population density
- What is the population density of Slovenia?
- 273 people per square mile (105 per km²), the World Bank’s official estimate for 2023: 2,120,461 people on 7,774 sq mi (20,135 km²) of land. That ranks Slovenia 83rd of 193 countries.
- What US state is closest in size to Slovenia?
- Massachusetts, by land area: 7,801 sq mi against Slovenia’s 7,774 sq mi. Massachusetts has 917 people per sq mi (2025); Slovenia has 273 (2023).
- Where do most people in Slovenia live?
- Half of the population lives on 3.0% of the land. The urban centres of Ljubljana (246,177 people) and Maribor (81,904 people) hold 15.5% of all residents, and 49.3% live in rural areas (JRC modeled estimates for 2020).
- Is Slovenia densely populated?
- It sits in the middle of Europe’s table, 20th of 43 countries by density. Its neighbours range from Croatia at 179 people per sq mi to Italy at 517; Hungary matches it almost exactly at 272.
Data and sources
Data as of: World Bank World Development Indicators (official estimates to 2023); JRC GHS-POP and GHS-SMOD R2023A (modeled estimates, 1975–2020); page figures computed 2026-11-08. Every figure carries its label: official estimate, modeled estimate (JRC) or calculated. Equations and limits are on the methodology page.
- World Bank, World Development Indicators: EN.POP.DNST, SP.POP.TOTL, AG.LND.TOTL.K2. CC BY 4.0; retrieved Oct 2026. data.worldbank.org
- European Commission, Joint Research Centre (JRC), GHS-POP R2023A, 1 km Mollweide grid, epochs 1975–2020. CC BY 4.0; retrieved Oct 2026. human-settlement.emergency.copernicus.eu
- European Commission, Joint Research Centre (JRC), GHS-POP R2023A, 100 m Mollweide grid, epoch 2020 (poster cells under 1 km). CC BY 4.0; retrieved Nov 2026. human-settlement.emergency.copernicus.eu
- European Commission, Joint Research Centre (JRC), GHS-SMOD R2023A (Degree of Urbanisation, level 2), 1 km, epochs 1975–2020. CC BY 4.0; retrieved Oct 2026. human-settlement.emergency.copernicus.eu
- European Commission, Joint Research Centre (JRC), GHS-UCDB R2024A V1.2 (urban centre names only). CC BY 4.0 (JRC FTP copyright notice); retrieved Oct 2026. human-settlement.emergency.copernicus.eu
- GeoNames, GeoNames cities5000 (town names and points only). CC BY 4.0; retrieved Nov 2026. www.geonames.org
- World Bank, World Bank Official Boundaries, version 3 (Admin 0, Non-Determined Legal Status Areas, Admin 0 lines). CC BY 4.0; retrieved Oct 2026. datacatalog.worldbank.org
- U.S. Census Bureau, Gazetteer Files, counties: 2020 and 2025 (state land area = sum of county ALAND). public domain (17 U.S.C. §105); retrieved Oct 2026. www.census.gov
- U.S. Census Bureau, Vintage 2025 state population estimates (NST-EST2025-ALLDATA), July 1, 2025. public domain (17 U.S.C. §105); retrieved Oct 2026. www.census.gov
- GHSL dataset doi:10.2905/2FF68A52-5B5B-4A22-8F40-C41DA8332CFE; Pesaresi et al. (2024), doi:10.1080/17538947.2024.2390454.
Sources for “Why the map looks like this”
- Encyclopaedia Britannica, “Slovenia”. www.britannica.com
- Hrvatin, M. and Zorn, M. (2026), “Mountains of Slovenia”, in Discourses on Mountains of Montenegro and Slovenia, Springer. link.springer.com
- Slovenian Environment Agency (ARSO), environmental indicator “Forest area”, data from the Slovenia Forest Service. kazalci.arso.gov.si
- Gostinčar, P. and Stepišnik, U. (2023), “Extent and spatial distribution of karst in Slovenia”, Acta geographica Slovenica 63(1), doi:10.3986/AGS.11679. ojs.zrc-sazu.si
Map and CSV: free to reuse under CC BY 4.0 with the credit “populationdensitymaps.com; data: World Bank, European Commission JRC”.

