The calculated distance (air line) between Nanjing and Shaoxing is approximately 178 miles respectively 286 kilometers.
By car or train, the actual journey to Shaoxing is certainly longer, as only the direct route (as the crow flies) between Nanjing and Shaoxing has been calculated here.