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