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