The calculated distance (air line) between Ar Rābiyah and Rāmshīr is approximately 141 miles respectively 227 kilometers.
By car or train, the actual journey to Rāmshīr is certainly longer, as only the direct route (as the crow flies) between Ar Rābiyah and Rāmshīr has been calculated here.
Air line (approximately)
227 kilometers
123 nautical miles