The calculated distance (air line) between Onex and Sankt Gallen is approximately 177 miles respectively 285 kilometers.
By car or train, the actual journey to Sankt Gallen is certainly longer, as only the direct route (as the crow flies) between Onex and Sankt Gallen has been calculated here.
Air line (approximately)
285 kilometers
154 nautical miles