At the 2010 census, there were 1,526,006 people, 590,071 households, and 352,272 families residing in the consolidated city-county of Philadelphia, Pennsylvania. The population density was 4,337.3/km2 (11,233.6/mi2). There were 661,958 housing units at an average density of 1,891.9/km2 (4,900.1/mi2). The age distribution was 25.3% under the age of 18, 11.1% from 18 to 24, 29.3% from 25 to 44, 20.3% from 45 to 64, and 14.1% 65 or older. The median age was 34 years. For every 100 females, there were 86.8 males. For every 100 females age 18 and over, there were 81.8 males.