The calculated distance (air line) between Shahr-e Bābak and Rāvar is approximately 128 miles respectively 206 kilometers.
By car or train, the actual journey to Rāvar is certainly longer, as only the direct route (as the crow flies) between Shahr-e Bābak and Rāvar has been calculated here.
Air line (approximately)
206 kilometers
111 nautical miles