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