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