Population and Housing Censuses National results Population by sex, nationality (Spanish/Foreign) and size of the municipality Units: persons Both sexes Men Women Total Spaniards Foreign Natinals Total Spaniards Foreign Natinals Total Spaniards Foreign Natinals Total 46,815,916 41,563,443 5,252,473 23,104,303 20,372,386 2,731,917 23,711,613 21,191,057 2,520,556 Less than 101 inhabitants 68,065 65,375 2,691 38,438 36,937 1,501 29,627 28,438 1,189 From 101 to 500 inhabitants 675,648 637,933 37,714 359,695 339,308 20,388 315,952 298,626 17,327 From 501 to 1,000 inhabitants 753,758 699,284 54,473 391,684 361,935 29,749 362,074 337,350 24,724 From 1,001 to 2,000 inhabitants 1,313,798 1,217,181 96,617 673,950 621,052 52,898 639,849 596,129 43,719 From 2,001 to 5,000 inhabitants 3,161,478 2,891,782 269,697 1,604,097 1,459,362 144,735 1,557,381 1,432,420 124,961 From 5,001 to 10,000 inhabitants 3,877,467 3,519,028 358,439 1,954,791 1,763,093 191,698 1,922,675 1,755,935 166,740 From 10,001 to 20,000 inhabitants 5,131,973 4,572,353 559,620 2,570,152 2,275,020 295,132 2,561,821 2,297,333 264,488 From 20,001 to 50,000 inhabitants 7,422,185 6,508,567 913,618 3,705,540 3,224,149 481,391 3,716,645 3,284,418 432,226 From 50,001 to 100,000 inhabitants 5,857,902 5,073,345 784,557 2,891,210 2,484,519 406,691 2,966,692 2,588,826 377,866 From 100,001 to 500,000 inhabitants 11,014,339 9,845,768 1,168,570 5,346,256 4,739,499 606,757 5,668,083 5,106,269 561,813 More than 500,000 inhabitants 7,539,304 6,532,826 1,006,477 3,568,489 3,067,513 500,976 3,970,815 3,465,313 505,501 Notes: Source: Instituto Nacional de Estadística