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