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