# Ranked lists of Spanish autonomous communities

This article includes several ranked indicators for Spain's 17 autonomous communities, as well as for the autonomous cities of Ceuta and Melilla.

## Population and geography

| Autonomous community/city | Population (2024) | Area (km$^2$) | Density (people/km$^2$) | 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 |

## Average income

The following table shows the difference in average income for each of the 17 autonomous communities of Spain as of 2022. The data was provided by the INE. The wealthiest Spaniards are from the Basque Country, with an average income of €32,313. The poorest Spaniards reside in Extremadura, where average income is €21,922.
| Rank | Autonomous community | Average income (€) 2023 |
| 1 | Community of Madrid | 42,198 |
| 2 | Basque Country | 39,547 |
| 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 | Spain | 30,968 |

## GDP

The list below shows all of the autonomous communities and two autonomous cities of Spain. The list shown is from 2023 and is in euros. The nominal GDP in Spain in 2023 was 1.498.324 million euros.
2023 :
| Rank 2023 | Autonomous community | GDP in billions € | Percentage of GDP | Year |
| 1 | Madrid | 293.0 | 19.6% | 2023 |
| 2 | Catalonia | 281.4 | 18.8% | 2023 |
| 3 | Andalusia | 199.9 | 13.3% | 2023 |
| 4 | Valencian Community | 139.4 | 9.3% | 2023 |
| 5 | Basque Country | 87.8 | 5.9% | 2023 |
| 6 | Galicia | 77.3 | 5.2% | 2023 |
| 7 | Castile and León | 70.8 | 4.7% | 2023 |
| 8 | Canary Islands | 54.1 | 3.6% | 2023 |
| 9 | Castilla–La Mancha | 53.9 | 3.6% | 2023 |
| 10 | Aragon | 46.6 | 3.1% | 2023 |
| 11 | Balearic Islands | 42.0 | 2.8% | 2023 |
| 12 | Murcia | 40.3 | 2.7% | 2023 |
| 13 | Asturias | 28.3 | 1.9% | 2023 |
| 14 | Navarre | 25.0 | 1.7% | 2023 |
| 15 | Extremadura | 24.8 | 1.7% | 2023 |
| 16 | Cantabria | 16.7 | 1.1% | 2023 |
| 17 | La Rioja | 10.6 | 0.7% | 2023 |
| 18 | Ceuta | 1.9 | 0.1% | 2023 |
| 19 | Melilla | 1.8 | 0.1% | 2023 |

### GDP per capita

| Rank | Autonomous community | GDP per capita in € | GDP per capita in $ | Year |
| 1 | Madrid | 42.198 | 43.684 | 2023 |
| 2 | Basque Country | 39.547 | 40.939 | 2023 |
| - | European Union | 37.610 | 38.934 | 2023 |
| 3 | Navarre | 37.088 | 38.393 | 2023 |
| 4 | Catalonia | 35.325 | 36.568 | 2023 |
| 5 | Aragon | 34.658 | 35.878 | 2023 |
| 6 | Balearic Islands | 34.381 | 35.591 | 2023 |
| 7 | La Rioja | 32.828 | 33.984 | 2023 |
| - | Spain | 30.968 | 32.058 | 2023 |
| 8 | Castile and León | 29.698 | 30.743 | 2023 |
| 9 | Galicia | 28.644 | 29.652 | 2023 |
| 10 | Cantabria | 28.461 | 29.463 | 2023 |
| 11 | Asturias | 28.130 | 29.120 | 2023 |
| 12 | Valencian Community | 26.453 | 27.384 | 2023 |
| 13 | Murcia | 25.887 | 26.798 | 2023 |
| 14 | Castilla–La Mancha | 25.758 | 26.664 | 2023 |
| 15 | Canary Islands | 24.345 | 25.202 | 2023 |
| 16 | Extremadura | 23.604 | 24.435 | 2023 |
| 17 | Andalusia | 23.218 | 24.035 | 2023 |
| 18 | Ceuta | 22.751 | 23.552 | 2023 |
| 19 | Melilla | 20.479 | 21.200 | 2023 |

## Human Development Index

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.
| Rank | Autonomous community | HDI (2022) |
| Very high human development |||
| 1 | Madrid | 0.942 |
| 2 | Basque Country | 0.939 |
| 3 | Navarre | 0.928 |
| 4 | Catalonia | 0.922 |
| 5 | La Rioja | 0.916 |
| 6 | Aragon | 0.915 |
| 7 | Castile and León | 0.912 |
| – | Spain (average) | 0.911 |
| 8 | Cantabria | 0.910 |
| 9 | Galicia | 0.910 |
| 10 | Asturias | 0.906 |
| 11 | Valencian Community | 0.897 |
| 12 | Region of Murcia | 0.885 |
| 13 | Andalusia | 0.881 |
| 14 | Balearic Islands | 0.879 |
| 15 | Canary Islands | 0.876 |
| 16 | Castilla–La Mancha | 0.876 |
| 17 | Extremadura | 0.876 |
| 18 | Melilla | 0.867 |
| 19 | Ceuta | 0.860 |