The calculated distance (air line) between Santarém and Guimarães is approximately 154 miles respectively 248 kilometers.
By car or train, the actual journey to Guimarães is certainly longer, as only the direct route (as the crow flies) between Santarém and Guimarães has been calculated here.