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