The calculated distance (air line) between Dumfries and Nottingham is approximately 177 miles respectively 285 kilometers.
By car or train, the actual journey to Nottingham is certainly longer, as only the direct route (as the crow flies) between Dumfries and Nottingham has been calculated here.
Air line (approximately)
285 kilometers
154 nautical miles