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