Flight Suvarnabhumi Airport departs from Bangkok Suvarnabhumi Airport at 21:55 and arrives at Shanghai Hongqiao International Airport at 03:45.
The flighttime is about 4h 50m. The distance travelled ("as the bird flies"): 2369 Km. So the average speed is roughly 490 Km.
There is an 1 hour time difference between Bangkok and Shanghai