To calculate the distance between SJC and Winnipeg, the place names are converted into coordinates (latitude and longitude). The respective geographic centre is used for cities, regions and countries. To calculate the distance the Haversine formula is applied.