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