2020 census As of the
2020 census, Hampton had a population of 8,368. The median age was 34.6 years. 27.8% of residents were under the age of 18 and 10.6% were 65 years of age or older. For every 100 females, there were 85.9 males, and for every 100 females age 18 and over, there were 81.4 males age 18 and over. 92.8% of residents lived in urban areas, while 7.2% lived in rural areas. There were 2,826 households in Hampton, of which 43.9% had children under the age of 18 living in them. Of all households, 46.5% were married-couple households, 14.6% were households with a male householder and no spouse or partner present, and 33.2% were households with a female householder and no spouse or partner present. About 19.6% of all households were made up of individuals and 7.2% had someone living alone who was 65 years of age or older. Of these households, 1,857 were family households. There were 2,969 housing units, of which 4.8% were vacant. The homeowner vacancy rate was 1.3% and the rental vacancy rate was 6.6%. ==Education==