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