In the city, the population dispersal was 22.6% under the age of 18, 9.2% from 18 to 24, 25.2% from 25 to 44, 23.8% from 45 to 64, and 19.2% who were 65 years of age or older. The median age was 40 years. For every 100 females, there were 94.4 males. For every 100 females age 18 and over, there were 90.8 males. The median income for a household in the city was $31,212, and the median income for a family was $38,721. Males had a median income of $32,324 versus $22,192 for females. The per capita income for the city was $18,158. 16.5% of the population and 12.7% of families were below the poverty line. Out of the total population, 21.0% of those under the age of 18 and 9.9% of those 65 and older were living below the poverty line.