Please be aware that Shanghai has multiple airports and that these results are only for Hongqiao International airport.
The best day to arrive at Shanghai is Tuesday and it would be best to avoid Friday, as prices are on average 42.45% higher than on Tuesday. (Average prices, based on 260 datapoints.)
At Shanghai the most flights depart around 16:00. (Hourly flights, based on 387 datapoints.)
From Shanghai most of the flights depart to Beijing, second best connected from Shanghai is Guangzhou. (Daily flights, based on 155 datapoints.)