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