The calculated distance (air line) between Baghdad and Al Ḩayy is approximately 125 miles respectively 201 kilometers.
By car or train, the actual journey to Al Ḩayy is certainly longer, as only the direct route (as the crow flies) between Baghdad and Al Ḩayy has been calculated here.