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