Shelby is located in Toole county Montana with a geographic area of 5.8 square miles. The total population in Shelby is 2,875 with 58.1% male and 41.9% female. Children under age 5 represent 4.5% of the population, under age 18 equal 15.8% of the population and over age 65 is 19.6% of the population. The median household income is $44,250, per capita income is $32,435. There are a total of 1,143 housing units with 57.6% owner occupied. Education includes 38.5% of residents that are high school graduates and 25.5% with a bachelor's degree or higher. The average temperature in Shelby in the summer is 69 degrees, and in the winter 27 degrees.