The calculated distance (air line) between Ufa and Oktyabrsky is approximately 102 miles respectively 163 kilometers.
By car or train, the actual journey to Oktyabrsky is certainly longer, as only the direct route (as the crow flies) between Ufa and Oktyabrsky has been calculated here.
Air line (approximately)
163 kilometers
88 nautical miles