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