The calculated distance (air line) between Sant Martí and Huesca is approximately 143 miles respectively 231 kilometers.
By car or train, the actual journey to Huesca is certainly longer, as only the direct route (as the crow flies) between Sant Martí and Huesca has been calculated here.
Air line (approximately)
231 kilometers
124 nautical miles