The calculated distance (air line) between Altstätten and Bern is approximately 103 miles respectively 166 kilometers.
By car or train, the actual journey to Bern is certainly longer, as only the direct route (as the crow flies) between Altstätten and Bern has been calculated here.
Air line (approximately)
166 kilometers
89 nautical miles