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