The average temperature of New York City is about 31 °F (0 °C) in January and about 72 °F (22 °C) in June, but recorded temperature extremes range from −15 to 106 °F (−26 to 41 °C). The annual precipitation is 44 inches (1,120 mm). Because of New York’s moderate climate, the harbor rarely freezes.