The calculated distance (air line) between Shanghai and Xiaolingwei is approximately 163 miles respectively 262 kilometers.
By car or train, the actual journey to Xiaolingwei is certainly longer, as only the direct route (as the crow flies) between Shanghai and Xiaolingwei has been calculated here.
Air line (approximately)
262 kilometers
142 nautical miles