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