The calculated distance (air line) between Hamadān and Ḩalabja is approximately 146 miles respectively 234 kilometers.
By car or train, the actual journey to Ḩalabja is certainly longer, as only the direct route (as the crow flies) between Hamadān and Ḩalabja has been calculated here.