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