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