The calculated distance (air line) between Bern and Fribourg is approximately 17 miles respectively 28 kilometers.
By car or train, the actual journey to Fribourg is certainly longer, as only the direct route (as the crow flies) between Bern and Fribourg has been calculated here.