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