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