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