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