stylistic:tone
Distribution and habitat

The whale shark inhabits all tropical and warm-temperate seas. The fish is primarily pelagic, and can be found in both coastal and oceanic habitats. Tracking devices have shown that the whale shark displays dynamic patterns of habitat utilization, likely in response to availability of prey. Whale sharks observed off the northeast Yucatan Peninsula tend to engage in inshore surface swimming between sunrise and mid-afternoon, followed by regular vertical oscillations in oceanic waters during the afternoon and overnight. About 95% of the oscillating period was spent in epipelagic depths (< 200 metres (660 ft)), but whale sharks also took regular deep dives (> 500 metres (1,600 ft)), often descending in brief "stutter steps", perhaps for foraging. The deepest recorded dive was 1,928 metres (6,325 ft), making the whale shark the deepest diving fish to be recorded. Whale sharks were also observed to remain continuously at depths of greater than 50 metres (160 ft) for three days or more.

The whale shark is migratory and has two distinct subpopulations: an Atlantic subpopulation, from Maine and the Azores to Cape Agulhas, South Africa, and an Indo-Pacific subpopulation which holds 75% of the entire whale shark population. It usually roams between 30°N and 35°S where water temperatures are higher than 21 °C (70 °F) but have been spotted as far north as the Bay of Fundy, Canada and the Sea of Okhotsk north of Japan and as far south as Victoria, Australia.

Seasonal feeding aggregations occur at several coastal sites such as the Persian Gulf and Gulf of Oman, Ningaloo Reef in Western Australia, Darwin Island in the Galápagos, Quintana Roo in Mexico, Mafia Island of Pwani Region in Tanzania, Inhambane province in Mozambique, the Philippines, around Mahe in the Seychelles, the Gujarat and Kerala coasts of India, Taiwan, southern China and Qatar.

In 2011, more than 400 whale sharks gathered off the Yucatan Coast. It was one of the largest gatherings of whale sharks recorded. Aggregations in that area are among the most reliable seasonal gatherings known for whale sharks, with large numbers occurring in most years between May and September. Associated ecotourism has grown rapidly to unsustainable levels.