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