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