Gibraltar has a Mediterranean climate (Köppen climate classification ''Csa''), with mild, rainy winters and warm, dry summers. As is the case for nearby Algeciras and Tarifa, summers are significantly cooler and annual temperature more constant than other cities on the southern coast of the Iberian peninsula because of its position on the Strait of Gibraltar. Rain occurs mainly in winter, with summer being generally dry. Its average annual temperature is about  as a daily high and  as the overnight low. In the coldest month, January, the high temperature averages  and the overnight low is  and the average sea temperature is . In the warmest month, August, the daily high temperature is , the overnight low is , and the average sea temperature is .