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