Opelika is located in Lee county Alabama with a geographic area of 59.1 square miles. The total population in Opelika is 30,589 with 47.9% male and 52.1% female. Children under age 5 represent 7.6% of the population, under age 18 equal 22.1% of the population and over age 65 is 16.4% of the population. The median household income is $50,488, per capita income is $26,961. There are a total of 12,240 housing units with 67.9% owner occupied. Education includes 23.4% of residents that are high school graduates and 33.4% with a bachelor's degree or higher. The average temperature in Opelika in the summer is 78 degrees, and in the winter 43 degrees.