Shelby is located in Shelby county Alabama with a geographic area of 18.8 square miles. The total population in Shelby is 987 with 52.7% male and 47.3% female. Children under age 5 represent 7.2% of the population, under age 18 equal 21.3% of the population and over age 65 is 11.9% of the population. The median household income is $76,016, per capita income is $26,535. There are a total of 348 housing units with 100.0% owner occupied. Education includes 25.3% of residents that are high school graduates and 9.5% with a bachelor's degree or higher. The average temperature in Shelby in the summer is 77 degrees, and in the winter 43 degrees.