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