The calculated distance (air line) between Ad Dīwānīyah and Ramadi is approximately 136 miles respectively 219 kilometers.
By car or train, the actual journey to Ramadi is certainly longer, as only the direct route (as the crow flies) between Ad Dīwānīyah and Ramadi has been calculated here.
Air line (approximately)
219 kilometers
118 nautical miles