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