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