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