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