This article includes several ranked indicators for Spain's 17 autonomous communities, as well as for the autonomous cities of Ceuta and Melilla.
| Autonomous community/city | Population (2024) [1] | Area (km2) | Density (people/km2) | Coastline length (km) | 
|---|---|---|---|---|
|  Andalusia | 8,631,862 | 87,599 | 98.6 | 945 | 
|  Aragon | 1,351,591 | 47,720 | 28.2 | 0 | 
|  Asturias | 1,009,599 | 10,604 | 95.2 | 401 | 
|  Balearic Islands | 1,231,768 | 4,992 | 248.2 | 1,428 | 
|  Basque Country | 2,227,684 | 7,234 | 308.7 | 246 | 
|  Canary Islands | 2,238,754 | 7,447 | 301.8 | 1,583 | 
|  Cantabria | 590,851 | 5,321 | 111.1 | 284 | 
|  Castile and León | 2,391,682 | 94,224 | 25.3 | 0 | 
|  Castile-La Mancha | 2,104,433 | 79,461 | 26.5 | 0 | 
|  Catalonia | 8,012,231 | 32,113 | 251.2 | 699 | 
|  Ceuta | 83,179 | 20 | 4,167.0 | 26 | 
|  Extremadura | 1,054,681 | 41,634 | 25.2 | 0 | 
|  Galicia | 2,705,833 | 29,575 | 91.5 | 1,498 | 
|  La Rioja | 324,184 | 5,045 | 64.4 | 0 | 
|  Community of Madrid | 7,009,268 | 8,028 | 878.9 | 0 | 
|  Melilla | 85,985 | 12 | 7,194.3 | 12 | 
|  Region of Murcia | 1,568,492 | 11,314 | 139.3 | 274 | 
|  Navarre | 678,333 | 10,391 | 65.4 | 0 | 
|  Valencian Community | 5,319,285 | 23,255 | 230.5 | 518 | 
|  Spain | 48,619,695 | 505,970 | 96.4 | 7,914 | 
![Annual median per-capita income by Spanish province, 2021
.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key>ol{margin-left:1.3em;margin-top:0}.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key>ul{margin-top:0}.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key li{page-break-inside:avoid;break-inside:avoid-column}@media(min-width:300px){.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key,.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key-wide{column-count:2}.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key-narrow{column-count:1}}@media(min-width:450px){.mw-parser-output figure[typeof="mw:File/Thumb"] .image-key-wide{column-count:3}}
.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}
.mw-parser-output .legend{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .legend-color{display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;text-align:center;border:1px solid black;background-color:transparent;color:black}.mw-parser-output .legend-text{}
EUR20.000-EUR21.000
EUR19.000-EUR20.000
EUR18.000-EUR19.000
EUR17.000-EUR18.000
EUR16.000-EUR17.000
EUR15.000-EUR16.000
EUR14.000-EUR15.000
EUR13.000-EUR14.000
EUR12.000-EUR13.000
EUR11.000-EUR12.000 Annual median per-capita income by Spanish province, 2021.svg](http://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Annual_median_per-capita_income_by_Spanish_province%2C_2021.svg/250px-Annual_median_per-capita_income_by_Spanish_province%2C_2021.svg.png) 
 |  | This section needs to be updated.(July 2025) | 
The following table shows the difference in average income for each of the 17 autonomous communities of Spain. The data was provided by the INE.
| Rank | Autonomous community | Average income (€) 2023 [2] | 
|---|---|---|
| 1 |  Community of Madrid | 42,198 | 
| 2 |  Basque Country | 40,600 | 
| 3 |  Navarre | 37,088 | 
| 4 |  Catalonia | 35,325 | 
| 5 |  Aragon | 34,658 | 
| 6 |  Balearic Islands | 34,381 | 
| 7 |  La Rioja | 32,828 | 
| 8 |  Castile and León | 29,698 | 
| 9 |  Galicia | 28,644 | 
| 10 |  Cantabria | 28,461 | 
| 11 |  Asturias | 28,130 | 
| 12 |  Valencian Community | 26,453 | 
| 13 |  Region of Murcia | 25,887 | 
| 14 |  Castilla-La Mancha | 25,758 | 
| 15 |  Canary Islands | 24,345 | 
| 16 |  Extremadura | 23,604 | 
| 17 |  Andalusia | 23,218 | 
|  Spain | 32,630 | |
The list below shows all of the autonomous communities and two autonomous cities of Spain. The list shown is from 2023 (provisional data) and is in euros. The nominal GDP in Spain in 2023 was 1.5 trillion euros. [3]
| Autonomous community | GDP in billions € [3] | Percentage of GDP | 
|---|---|---|
|  Andalusia | 199.9 | 13.3% | 
|  Aragon | 46.7 | 3.1% | 
|  Asturias | 28.3 | 1.9% | 
|  Balearic Islands | 42.1 | 2.8% | 
|  Basque Country | 87.9 | 5.9% | 
|  Canary Islands | 54.2 | 3.6% | 
|  Cantabria | 16.8 | 1.1% | 
|  Castile and León | 70.9 | 4.7% | 
|  Castilla–La Mancha | 53.9 | 3.6% | 
|  Catalonia | 281.8 | 18.8% | 
|  Extremadura | 24.9 | 1.7% | 
|  Galicia | 77.4 | 5.2% | 
|  Madrid | 293.0 | 19.6% | 
|  Murcia | 40.4 | 2.7% | 
|  Navarre | 25.0 | 1.7% | 
|  La Rioja | 10.6 | 0.7% | 
|  Valencian Community | 139.4 | 9.3% | 
|  Ceuta | 1.9 | 0.1% | 
|  Melilla | 1.8 | 0.1% | 
| Autonomous community | GDP per capita in € [4] | Year | 
|---|---|---|
|  European Union | 37,610[ citation needed ] | 2023 | 
|  Spain | 30,968 | 2023 | 
|  Andalusia | 23,218 | 2023 | 
|  Aragon | 34,658 | 2023 | 
|  Asturias | 28,130 | 2023 | 
|  Balearic Islands | 34,381 | 2023 | 
|  Basque Country | 39,547 | 2023 | 
|  Canary Islands | 24,345 | 2023 | 
|  Cantabria | 28,461 | 2023 | 
|  Castile and León | 29,698 | 2023 | 
|  Castilla–La Mancha | 25,758 | 2023 | 
|  Catalonia | 35,325 | 2023 | 
|  Extremadura | 23,604 | 2023 | 
|  Galicia | 28,644 | 2023 | 
|  Madrid | 42,198 | 2023 | 
|  Murcia | 25,887 | 2023 | 
|  Navarre | 37,088 | 2023 | 
|  La Rioja | 32,828 | 2023 | 
|  Valencian Community | 26,453 | 2023 | 
|  Ceuta | 22,751 | 2023 | 
|  Melilla | 20,479 | 2023 | 
 
 This is a list of Spain's 17 autonomous communities and the 2 autonomous cities of Ceuta and Melilla by their Human Development Index as of 2024 with data for the year 2022. [5]
| Autonomous community | HDI (2022) | ||
|---|---|---|---|
| Very high human development | |||
|  Spain (average) | 0.911 | ||
|  Andalusia | 0.881 | ||
|  Aragon | 0.915 | ||
|  Asturias | 0.906 | ||
|  Balearic Islands | 0.879 | ||
|  Basque Country | 0.939 | ||
|  Canary Islands | 0.876 | ||
|  Cantabria | 0.910 | ||
|  Castile and León | 0.912 | ||
|  Castilla–La Mancha | 0.876 | ||
|  Catalonia | 0.922 | ||
|  Extremadura | 0.876 | ||
|  Galicia | 0.910 | ||
|  Madrid | 0.942 | ||
|  Region of Murcia | 0.885 | ||
|  Navarre | 0.928 | ||
|  La Rioja | 0.916 | ||
|  Valencian Community | 0.897 | ||
|  Ceuta | 0.860 | ||
|  Melilla | 0.867 | ||