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