Population and Housing Censuses National results Population by sex, nationality (Spanish/Foreign) and size of the municipality Unidades: Personas ;Ambos sexos;;;Hombres;;;Mujeres;;; ;TOTAL;Española;Extranjera;TOTAL;Española;Extranjera;TOTAL;Española;Extranjera; ;Personas;Personas;Personas;Personas;Personas;Personas;Personas;Personas;Personas; TOTAL;47.400.798;41.998.096;5.402.702;23.248.611;20.534.537;2.714.074;24.152.187;21.463.559;2.688.628; Menos de 101 habitantes;77.997;74.428;3.569;45.004;43.172;1.832;32.993;31.256;1.737; De 101 a 500 habitantes;652.267;612.672;39.595;349.533;329.066;20.467;302.734;283.606;19.128; De 501 a 1.000 habitantes;719.904;664.958;54.946;374.445;345.739;28.706;345.459;319.219;26.240; De 1.001 a 2.000 habitantes;1.237.149;1.144.455;92.694;632.943;584.373;48.570;604.206;560.082;44.124; De 2.001 a 5.000 habitantes;3.008.348;2.742.101;266.247;1.520.254;1.383.814;136.440;1.488.094;1.358.287;129.807; De 5.001 a 10.000 habitante;3.918.233;3.555.453;362.780;1.964.644;1.778.558;186.086;1.953.589;1.776.895;176.694; De 10.001 a 20.000 habitantes;4.909.786;4.385.830;523.956;2.442.404;2.174.732;267.672;2.467.382;2.211.098;256.284; De 20.001 a 50.000 habitantes;7.827.392;6.879.744;947.648;3.880.855;3.397.218;483.637;3.946.537;3.482.526;464.011; De 50.001 a 100.000 habitantes;6.181.869;5.370.177;811.692;3.025.005;2.619.813;405.192;3.156.864;2.750.364;406.500; De 100.001 a 500.000 habitantes;11.230.168;10.031.956;1.198.212;5.406.308;4.804.975;601.333;5.823.860;5.226.981;596.879; Más de 500.000 habitantes;7.637.685;6.536.322;1.101.363;3.607.216;3.073.077;534.139;4.030.469;3.463.245;567.224; Notas: Fuente: Instituto Nacional de Estadística