Salem is located in Salem county Virginia with a geographic area of 14.5 square miles. The total population in Salem is 25,290 with 47.4% male and 52.6% female. Children under age 5 represent 3.8% of the population, under age 18 equal 18.6% of the population and over age 65 is 19.3% of the population. The median household income is $63,411, per capita income is $34,039. There are a total of 9,876 housing units with 64.4% owner occupied. Education includes 24.3% of residents that are high school graduates and 33.6% with a bachelor's degree or higher. The average temperature in Salem in the summer is 74 degrees, and in the winter 35 degrees.