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