The calculated distance (air line) between Karaj and Mahdishahr is approximately 133 miles respectively 214 kilometers.
By car or train, the actual journey to Mahdishahr is certainly longer, as only the direct route (as the crow flies) between Karaj and Mahdishahr has been calculated here.
Air line (approximately)
214 kilometers
115 nautical miles