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