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