The calculated distance (air line) between Frankfurt am Main and Troisdorf is approximately 83 miles respectively 133 kilometers.
By car or train, the actual journey to Troisdorf is certainly longer, as only the direct route (as the crow flies) between Frankfurt am Main and Troisdorf has been calculated here.
Air line (approximately)
133 kilometers
72 nautical miles