Barstow is located in San bernardino county California with a geographic area of 41.3 square miles. The total population in Barstow is 23,547 with 46.7% male and 53.3% female. Children under age 5 represent 8.9% of the population, under age 18 equal 31.0% of the population and over age 65 is 11.5% of the population. The median household income is $42,912, per capita income is $20,851. There are a total of 8,166 housing units with 41.0% owner occupied. Education includes 27.0% of residents that are high school graduates and 11.4% with a bachelor's degree or higher. The average temperature in Barstow in the summer is 83 degrees, and in the winter 43 degrees.