Flight Suvarnabhumi Airport departs from Bangkok Suvarnabhumi Airport at 23:50 and arrives at Shanghai Pudong International Airport at 04:55.
The flighttime is about 4h 05m. The distance travelled ("as the bird flies"): 2420 Km. So the average speed is roughly 593 Km.
There is an 1 hour time difference between Bangkok and Shanghai