text: The population was spread out, with 87,338 people (29.9%) under the age of 18, 34,126 people (11.7%) aged 18 to 24, 76,691 people (26.3%) aged 25 to 44, 64,300 people (22.0%) aged 45 to 64, and 29,252 people (10.0%) who were 65 years of age or older. The median age was 30.8 years. For every 100 females, there were 96.1 males. For every 100 females age 18 and over, there were 92.5 males.
  There were 99,637 housing units at an average density of , of which 46,738 (51.6%) were owner-occupied, and 43,867 (48.4%) were occupied by renters. The homeowner vacancy rate was 3.2%; the rental vacancy rate was 9.4%. 146,235 people (50.1% of the population) lived in owner-occupied housing units and 139,738 people (47.9%) lived in rental housing units.
  Rankings
  In 2020, U.S. News & World Report named Stockton as America's most diverse city.
  Due to a number of socio-economic problems, Stockton has been subject to a series of negative national rankings:
  In a 2010 Gallup poll, Stockton was tied with Montgomery, Alabama for the most obese metro area in the US with an obesity rate of 34.6 percent.
  In the February 2012 issue of Forbes, the magazine ranked Stockton the eighth most miserable US city, largely as a result of the steep drop in home values and high unemployment.
  In 2012 the National Insurance Crime Bureau ranked Stockton seventh in auto theft rate per capita in the US.
  In 2012, Stockton was ranked as the tenth most dangerous city in America and the second most dangerous in California (behind Oakland).