Flight Chiang Mai International Airport departs from Chiang Mai Chiang Mai International Airport at 23:35 and arrives at Shanghai Pudong International Airport at 04:25.
The flighttime is about 3h 50m. The distance travelled ("as the bird flies"): 2571 Km. So the average speed is roughly 671 Km.
There is an 1 hour time difference between Chiang Mai and Shanghai