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