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