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