The calculated distance (air line) between San Diego and San Bernardino is approximately 97 miles respectively 155 kilometers.
By car or train, the actual journey to San Bernardino is certainly longer, as only the direct route (as the crow flies) between San Diego and San Bernardino has been calculated here.
Air line (approximately)
155 kilometers
84 nautical miles