Madrid, is a autonomous community of Spain, it has an area of 8,028 Km2, and it may be considered quite a small autonomous community.
Madrid, with a population of 7,125,583 people, it is one of the most populous autonomous communities in Spain and it has a high population density, with 888 people per km2.
Madrid is the first economy in Spain by nominal GDP, it was worth 293,069 millions of euros293,069 millions of dollars in 2023, and the GDP per capita was €42,198$45,242.
Its debt in 2024 was 37,260 millions of euros40,330 millions of dollars, (12% debt-to-GDP ratio) and its public debt per capita was €5,229 euros per inhabitant$5,660 dollars per inhabitant.
The last annual rate of CPI published in Madrid was on April of 2025 and it was 2.2%.
In the tables at the bottom of the page, you can see more information about the economy and demography of Madrid, if you want to see information about other autonomous communities click economy of the autonomous communities of Spain