Shirley is located in Suffolk county New york with a geographic area of 11.3 square miles. The total population in Shirley is 28,640 with 47.7% male and 52.3% female. Children under age 5 represent 5.6% of the population, under age 18 equal 23.1% of the population and over age 65 is 13.3% of the population. The median household income is $92,426, per capita income is $39,563. There are a total of 8,300 housing units with 87.5% owner occupied. Education includes 36.3% of residents that are high school graduates and 20.6% with a bachelor's degree or higher. The average temperature in Shirley in the summer is 70 degrees, and in the winter 27 degrees.