The calculated distance (air line) between Hofheim in Unterfranken and Bonn is approximately 156 miles respectively 252 kilometers.
By car or train, the actual journey to Bonn is certainly longer, as only the direct route (as the crow flies) between Hofheim in Unterfranken and Bonn has been calculated here.
Air line (approximately)
252 kilometers
136 nautical miles