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