Demographics of Madrid
In January 2020, the municipality of Madrid, capital of Spain, had a population of 3,345,894 registered inhabitants in an area of 604.3 square kilometers (233.3 sq mi). Thus, the city's population density was about 5,337 inhabitants per km2.