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