The calculated distance (air line) between Ventimiglia and Milan is approximately 139 miles respectively 224 kilometers.
By car or train, the actual journey to Milan is certainly longer, as only the direct route (as the crow flies) between Ventimiglia and Milan has been calculated here.
Air line (approximately)
224 kilometers
121 nautical miles