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